From d4965797df02c8fdeffc55f0a214dae16177b7b3 Mon Sep 17 00:00:00 2001 From: Caspar Krieger Date: Mon, 8 Apr 2024 10:09:56 +0800 Subject: [PATCH] Update README.md with demo Add gif and recording video --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cd5d033..781e0fe 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,16 @@ # Crab TV -A rasterizing software renderer, roughly following the approach laid out by https://github.com/ssloy/tinyrenderer +A rasterizing software .obj model renderer written from-scratch in Rust, including implementing primitives like drawing lines and triangles. + +It supports textures, normal maps, lighting using a phong shading model, shadows, screen space ambient occlusion, and glow maps: + +![output](https://github.com/caspark/little-crab-tv/assets/931544/d677a01d-5dce-464f-8279-afadd9497803) + +Here's a slower-paced video that also shows off some more of the earlier and intermediate steps, such as wireframe rendering, flat shading and shadow mapping: + +https://github.com/caspark/little-crab-tv/assets/931544/e4937660-4051-462e-ad12-e83fc643d64a + +It roughly follows the overall approach laid out by the C++-oriented [Tiny Renderer](https://github.com/ssloy/tinyrenderer). ## Prereqs