Render meshes and hope for the best.
pygame for graphics.
numpy for data structures.
-
(For Blender) Export a mesh as an
.obj
file with the "Normals" option checked. -
Provide the path to that mesh as the argument to
render_mesh.py
Hold left click and drag to tilt the mesh.
Hold right click and drag to move the light.
The Escape key closes the program.
Note: Faces will draw even if they are obscured, this isn't meant to be a full proper rendering engine.