Skip to content
0:00 / 0:00

#softwarerasterizer#rasterization#raylib

Coding Adventure: Software Rasterizer

Sebastian Lague

1.4M subscribers • 11 videos on Hallway

YouTube

Beginner. No background in the topic needed.

640K views1 year ago1 recommendation

Graphics and audioComputer scienceRenderingC# and .NETAlgorithms

Sebastian Lague explains how to build a 3D software rasterizer from scratch, covering projection, culling, and triangle rendering.

Let's try to turn some dot products into a 3D world! Support my work (and get early access to new videos and source code) on Patreon or Nebula * Patreon: patreon.com/SebastianLague * Nebula: go.nebula.tv/sebastianlague Source code: * GitHub: github.com/SebLague/Software-Rasterizer Credits: * Music: raw.githubusercontent.com/SebLague/Misc-Project-Info/refs/he… * Raylib: github.com/raysan5/raylib * C# bindings: github.com/raylib-cs/raylib-cs * Visualizations made (mostly) with Shapes: acegikmo.com/shapes/ Chapters: Intro The First Image Triangle Maths Testing the Triangles Reading a 3D Model Orthographic Projection Single-Axis Rotation Back-Face Culling Another Axis of Rotation Perspective and Field of View Monkey! (and the Depth Buffer) Real-Time Rendering Camera and View Space Depth Bug Textures Directional Lighting Boy and Fox Near-Plane Clipping Procedural Terrain Some Quick Optimizations Odds and Ends Final Demo

Why it's here

1 person recommends this

What people say. Highly recommended for beginners as an exceptionally clear explanation of how 3D rendering works under the hood.

u/mattieofin r/GraphicsProgramming • Recommends

Very good video from Sebastian Lague on software rendering I'm pretty new to graphics programming and I feel like I understand a lot more about it from this video

u/willem640in r/C_Programming • Mentions

On “how does 3d rendering really work?”

You would usually use a rendering engine (like unity), but if you're interested in the details, Sebastian lague made a nice video about rasterizers (the more common "older" way of rendering 3d models): [video . He also has a nice one about ray tracing, but it's a bit more complicated

u/rupertaveryin r/C_Programming • Mentions

On “how does 3d rendering really work?”

I highly recommend this video from Seabstian Lague link to this video