- Basic math library
- Bresenham line drawing algorithm
- Cohen-Sutherland line clipping algorithm
- glTF model loading
- Model/view/projection transformation
- Back-face culling
- View frustum culling
- Homogeneous space clipping
- Depth testing
- Vertex and fragment shaders
- Barycentric coordinate interpolation
- Perspective correction
- Blinn–Phong reflection model
- Texture mapping
- Camera control
- Bresenham line drawing algorithm
cargo run --example bresenham_line
- Rendering
cargo run --example rendering
Control
- F1 Toggle wireframe rendering
- F2 Toggle vertex color interpolation
- F3 Toggle fragment shading
- F4 Toggle projection mode
- F5 Switch model
- W/A/S/D/Q/E Control camera movement
Video: YouTube