assimp/port/PyAssimp/scripts
Faule Socke 945231ba94 Now actually fixed the bug with the normals.
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.
2013-07-29 01:24:22 +02:00
..
3d_viewer.py [pyassimp] Handle diffuse/ambient values stored as vec3 instead of vec4 2013-06-03 10:22:39 +02:00
README.md [pyassimp] Renamed the 3d for better clarity + added a short README 2013-03-30 14:35:21 +01:00
fixed_pipeline_3d_viewer.py [pyassimp] Renamed the 3d for better clarity + added a short README 2013-03-30 14:35:21 +01:00
quicktest.py [pyassimp] Make sure sample.py and quicktest.py work 2013-03-30 14:35:21 +01:00
sample.py Now actually fixed the bug with the normals. 2013-07-29 01:24:22 +02:00

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 shaders
  • fixed_pipeline_3d_viewer: an OpenGL 3D viewer using the old fixed-pipeline. Only for illustration example. Base new projects on 3d_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)