matoous / runderer

Rust implementation of Tiny Renderer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Runderer - Rust implementation of Tiny Renderer

My attempt at Tiny Render but instead of C++ written in Rust.

Part 1 - Line Drawing Algorithm

african head

Drawing lines using Bresenham's line algorithm, loading Wavefront .obj files, rendering simple mesh.

Tiny Renderer has the code for loading .obj files included, I had to twiggle around a little bit to make everything work in rust and finally decided to go with tobj crate instead of writing my own.

Some more ideas for things to render later on: https://github.com/tinyobjloader/tinyobjloader

Part 2 - Triangle Rasterization

african head

Triangle rasterization using Standard Algorithm, triangle rasterization using Bresenham Algorithm,

About

Rust implementation of Tiny Renderer.


Languages

Language:Rust 100.0%