https://github.com/kmilkevych/glium-3d-engine
A 3D engine using OpenGL and glium wrapper for Rust.
https://github.com/kmilkevych/glium-3d-engine
3d game-engine glium opengl rust
Last synced: 3 months ago
JSON representation
A 3D engine using OpenGL and glium wrapper for Rust.
- Host: GitHub
- URL: https://github.com/kmilkevych/glium-3d-engine
- Owner: KMilkevych
- Created: 2022-08-28T09:42:44.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-19T22:29:01.000Z (about 1 year ago)
- Last Synced: 2025-01-05T06:43:32.707Z (5 months ago)
- Topics: 3d, game-engine, glium, opengl, rust
- Language: Rust
- Homepage:
- Size: 4.91 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
#+title: README
#+author: KMilkevychA 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
#+BEGIN_SRC sh
cargo run
#+END_SRC
or
#+BEGIN_SRC sh
cargo run --release
#+END_SRC
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.#+CAPTION: Screenshot 1
[[./screenshots/screenshot1.png]]
#+CAPTION: Screenshot 2
[[./screenshots/screenshot2.png]]
#+CAPTION: Screenshot 3
[[./screenshots/screenshot3.png]]
#+CAPTION: Screenshot 4
[[./screenshots/screenshot4.png]]