
Coding Adventure: Software Rasterizer
Let's try to turn some dot products into a 3D world!
Support my work (and get early access to new videos and projects)
https://www.patreon.com/SebastianLague
Source code:
Currently in early access for patrons (see link above). Will be available to everyone from 14 June.
Credits:
Music: https://raw.githubusercontent.com/SebLague/Misc-Project-Info/refs/heads/main/Coding-Adventures/Rasterizer.txt
Raylib: https://github.com/raysan5/raylib
C# bindings: https://github.com/raylib-cs/raylib-cs
Visualizations made (mostly) with Shapes: https://acegikmo.com/shapes/
Chapters:
00:00 Intro
00:32 The First Image
02:39 Triangle Maths
05:36 Testing the Triangles
07:30 Reading a 3D Model
09:13 Orthographic Projection
10:20 Single-Axis Rotation
12:37 Back-Face Culling
13:42 Another Axis of Rotation
15:34 Perspective and Field of View
19:22 Monkey! (and the Depth Buffer)
25:30 Real-Time Rendering
26:31 Camera and View Space
31:22 Depth Bug
33:03 Textures
35:00 Directional Lighting
38:52 Boy and Fox
40:35 Near-Plane Clipping
43:49 Procedural Terrain
45:18 Some Quick Optimizations
46:32 Odds and Ends
48:40 Final Demo








![[2D 게임 개발 꿀팁 시리즈] 모바일 성능과 쓰로틀링](https://img.youtube.com/vi/z0bkXem0g7o/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] 2D 게임에 3D 오브젝트 쉽게 사용하는 방법](https://img.youtube.com/vi/8ytJW1I6Agg/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 그림자 최적화로 60FPS](https://img.youtube.com/vi/L494gnEHr5A/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 메모리 절약 스프라이트 5가지](https://img.youtube.com/vi/-cxbULpRSXE/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] Sprite Shape vs. Tilemap](https://img.youtube.com/vi/q5Yeif-jJ2I/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 2D 배칭 최적화](https://img.youtube.com/vi/zMMACezlItM/hqdefault.jpg)


![Cards: Tidy Up! [Demo Out Now]](https://img.youtube.com/vi/6DDIfmMYYFs/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 2D 배칭 조건](https://img.youtube.com/vi/5DstF95ojw0/hqdefault.jpg)







![[2D 게임 개발 꿀팁 시리즈] 2D 게임 그림자 성능](https://img.youtube.com/vi/yMrlutMnhpc/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] 성능과 재미 사이](https://img.youtube.com/vi/dE1PNUM40ag/hqdefault.jpg)










![[2D 게임 개발 꿀팁 시리즈] 물리를 바꾸면 FPS가 100배?](https://img.youtube.com/vi/uUU3wggbNtU/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] 2D 배칭](https://img.youtube.com/vi/0HO_7fwC_6A/hqdefault.jpg)




























![[2D 게임 개발 꿀팁 시리즈] Runtime Sprite Atlas](https://img.youtube.com/vi/ocFwQ4sogDo/hqdefault.jpg)


































































