A light-weight renderer for testing rendering techniques.
Implement a 3D scene renderer without relying on open-source rendering tools (e.g., OpenGL). Requirements:
-
Triangle Mesh Model Loading
- ✅(1) Load triangle mesh models from
.objformat files.
- ✅(1) Load triangle mesh models from
-
Camera Model
- ✅(1) Implement perspective projection.
- ✅(2) Enable scene navigation (rotation, translation, scaling).
- Optional:
- ✅(3) Implement orthographic projection.
-
Rendering
- ✅(1) Include at least two triangle mesh models in the scene.
- ✅(2) Implement the Phong lighting model.
- ✅(3) Implement a ray tracing algorithm.
- ✅(4) Implement texture mapping.
- Optional:
- ✅(1) Implement area light sources.
- ✅(2) Implement the BRDF reflection model.
- (3) Implement transparent textures.
- (4) Implement global illumination.
To initialize the build environment, execute the following commands in your terminal:
mkdir -p build && cd ./buildCMake will automatically scan your system's development environment and generate the necessary build files. Run the following command:
cmake ..Once the configuration is complete, build the project using the following command:
cmake --build .