Voxygon is a LÖVE framework to build experiments and games about the volumetric edition and simulation of polyhedral objects.
The primary purpose of the project is to develop a simple methodology that I can use to experiment with 3D geometry, world editing, physics and a specific aesthetic. It doesn't aim to be a general purpose "game engine"; not in the sense that it could not be used in many ways, but that it will be specialized to my needs with a collection of techniques that I consider as having the best metrics in regards to simplicity, aesthetic and performance.
The volumetric primitive is not a cube (as can be seen in voxel games), but a tetrahedron. Each cube (from the matrix of the object space) is decomposed into 24 tetrahedra, which form one square pyramid per face of the cube (oriented towards the center). This allows to build geometry with 90 and 45 degrees angles. To know more about the need for that primitive, here is the genesis.
The project aims to implement:
- An editor and format to work with the geometry and materials.
- Abstractions to build huge worlds that can be explored and modified.
- A non- general purpose physics engine.
- A non- general purpose PBR renderer which should be heavily based on the work done on the Filament renderer.
This framework, contrary to Teningur, puts more emphasis on a vector simulation (transformations, physics) than on a matrical simulation. However, it could be used as the rendering and physics layer to build such a simulation.