Skip to content

Zhytou/tinyrenderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiny Renderer

Render Example:

gun

gun in rotating camera mode

firehydrantWithFloor

firehydrant with floor in rotation light mode

Build & Run:

# install glfw, glm and rapidjson
sudo apt install libglfw3-dev libglm-dev rapidjson-dev

# build and compile
mkdir build
cd build
cmake -S .. -B .
make all

# run
./main

Main Features:

  • Load one or multiple .obj models with configuration data in one .json file.
  • Render the loaded data physically using the OpenGL api.
  • Display the scene with different mode(camera/light rotation).

TODO List:

  • Different Display Mode(camera/light rotation)
  • Model/Mesh/Texture/Scene
  • PBR
  • Basic Shadow Mapping
  • Soft Shadow(PCF/PCSS)
  • FXAA