Hi!
Humble attempt at runtime mesh generation:
https://github.com/hi9hlander/odvm
The algorithm removes invisible faces and joins adjacent faces of the same color. Some faces are split then to avoid T-junctions. Tested with latest developers Win64 build with Python 3.6 support (Panda3D-SDK-1.10.0pre-65ae1e1-py3.6-x64.exe)
Best regards.
Hi!
Implemented simple loader for MagicaVoxel (https://ephtracy.github.io/) file format (VOX).
You need to download teapot.vox (https://github.com/ephtracy/voxel-model/raw/master/vox/scan/teapot.vox) and put to the same directory as demo.py to run a demo.
Best regards.
Hi!
I’ve reduced memory required for storing of geometry by 23%, changing vertex format from GeomVertexFormat.get_v3n3c4() to GeomVertexFormat.get_v3c4() and passing a normal as uniform to a vertex shader.
https://github.com/hi9hlander/odvm
Best regards!
Hi!
Just FYI, I’ve implemented simple (but fast) 3D optimizer on top of 2D geometry optimizer:
https://github.com/hi9hlander/odvm/blob/master/odvm/optimizedvm.py
Best regards!