Skip to content

Implementing the Dmitry V. Sokolov (ssloy) tinyrenderer in rust

Notifications You must be signed in to change notification settings

Kurandur/tinyrenderer-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinyrenderer-rust

Implementing the Dmitry V. Sokolov (ssloy) tinyrenderer in rust.

The goal at first is port the main logic to rust with minimal changes besides maybe rust special stuff. Also I try to always generate the same images as the original cpp code,

Progress

Results

Just some images that were generated while coding this.

Wireframe

wireframe

Gray shaded head

The normal generated image

Gray shades

Color theme shading

I added a function that allows shading by a range of colors

Color theme shading

Z Buffer integrated into the scanline method

Z Buffer

Texture mapping

Texture mapping

Frog test:

frog test

Perspective correction

Perspective correction

Moving the camera

Moving the camera

About

Implementing the Dmitry V. Sokolov (ssloy) tinyrenderer in rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages