is a lightweight 3D game engine written in Java.
- No dependencies
- Java 1.5+ compatibility
- Fixed point math only
- Multithreading
- Graphics engine
- Physics engine
- Audio engine
- Networking engine
- Input engine
Graphics engine
- Scanline triangle rasterization (linear interpolation, no perspective needed as big triangles are culled)
- Shaders (flat, gouraud and phong shaders)
- Multithreaded shaders
- Point, directional and spot lights
- Directional and spot light shadow mapping
- Skeletal animation (experimental)
- Skybox
- Custom Wavefront OBJ
.obj
importer - Animation importer
Input engine
- Keyboard
- Mouse
- Gamepad
- Touch
There are some built in tests for the game engine that can be found in the Tests
folder.
To run the test just double click the .jar
file.
Or open a terminal and type java -jar TestFile.jar
The window size can be configured using the window640x480
argument.
The render resolution can be set as a percentage of the window size using the render75
argument.
Spaceship game
Model viewer
Single threaded basic shader (without lights)
Multithreaded basic shader (without lights)
Multithreaded flat shading (directional, spot and point lights and directional and spot light shadows)
Multithreaded gouraud shading (directional, spot and point lights and directional and spot light shadows)
Multithreaded phong shading (directional, spot and point lights and directional and spot light shadows)