Python 4D Engine (Object Renderer) with Pygame, Numpy, Numba
This is a viewer for 4D objects. It projects a 4D object onto a 3D plane, and then from a 3D plane to a 2D screen. It is backwards compatible with regular 3D obj files. A 4d obj file specified with the .obj4 extension.
Clone the repo with
git clone https://github.com/tantock/obj4dviewer.git
In the project root directory, run
pip install -e .
to install the obj4drender library and the project dependencies.
To install other optional dependencies (test/build) run
pip install -e .[test]
pip install -e .[build]
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
This software is covered by the MIT License. To read more about the MIT License, see License.
- StanislavPetrovV
- This project would not have been possible without the base code provided by StanislavPetrovV. Many thanks for their hard work and their accompanying video at YT video
