A 3D engine using OpenGL
with Rust and glium
.
The following features have been implemented:
- FPS camera (controlled by WASD, SPACE and LSHIFT)
- Shapes
- Rotation, scaling, movement, subdivision and merging
- Triangle
- Quad / Plane
- Cube
- Tetrahedron
- Icosahedron
- Sphere
- Lighting
- Directional Lights
- Point Lights
- Spotlight
- Textures
- Shaders
- Fullscreen (F1)
To compile and run the project, simply execute
cargo run
or
cargo run --release
from the project root.
The following screenshots showcase a test-scene which was used when testing the engine. The scene features a white point light (marked by a white cube), a red directional light and a white spotlight placed at the first-person camera. Furthermore, the scene is populated by various animated and static, textured shapes.