945231ba94
pyassimp returned a list instead of a numpy array when the normals were empty. This also applies to texture coordinates and other stuff which is explicitly converted in _finalize_mesh. |
||
---|---|---|
.. | ||
3d_viewer.py | ||
README.md | ||
fixed_pipeline_3d_viewer.py | ||
quicktest.py | ||
sample.py |
README.md
pyassimp examples
sample.py
: shows how to load a model with pyassimp, and display some statistics.3d_viewer.py
: an OpenGL 3D viewer that requires shadersfixed_pipeline_3d_viewer
: an OpenGL 3D viewer using the old fixed-pipeline. Only for illustration example. Base new projects on3d_viewer.py
.
Requirements for the 3D viewers:
pyopengl
(on Ubuntu/Debian,sudo apt-get install python-opengl
)pygame
(on Ubuntu/Debian,sudo apt-get install python-pygame
)