Skip to content

Software rendering study project. Demo scene using triangle rasterization algorithm.

License

Notifications You must be signed in to change notification settings

Buzzefall/softrender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Software Renderer

Software-rendered demoscene. Rendering based on rasterisation algorithm and Gouraud shading. Supported models in Wavefront .obj files.

Uses SDL2 to display framebuffer contents onto a screen.

C++17 required.

Usage

Execute binary following with arbitrary N > 1 paths to objects separated by space (only right slashes / for object names):

<bin_filename> <obj_folder_path>/<obj_name>/<obj_name>.obj [[<obj2_folder_path>/<obj2_name>/<obj2_name>.obj] ...]

Example:

softrender.exe obj/african_head/african_head.obj obj/african_head/african_head_eye_inner.obj obj/african_head/african_head_eye_outer.obj

About

Software rendering study project. Demo scene using triangle rasterization algorithm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages