KMilkevych / glium-3D-engine

A 3D engine using OpenGL and glium wrapper for Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

A 3D engine using OpenGL with Rust and glium.

Features

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)

Compiling and running

To compile and run the project, simply execute

cargo run

or

cargo run --release

from the project root.

Screenshots

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.

./screenshots/screenshot1.png

./screenshots/screenshot2.png

./screenshots/screenshot3.png

./screenshots/screenshot4.png

About

A 3D engine using OpenGL and glium wrapper for Rust.


Languages

Language:Rust 100.0%