Commit Graph

5 Commits (18825179d04135f2daec121841e7fd9de1231410)

Author SHA1 Message Date
Séverin Lemaignan 18825179d0 [pyassimp] Support Python3
This include the renaming of __init__.py in core.py to solve tricky imports issues

sample.py runs correctly, except that the ctype structure returned is not
complete. The issue is very similar to the one we have with 32bits/64bits
issues

Removed the PyAssimp3 subproject project.

To maintain source compatibility between py2 and py3, python >= 2.6 is now required
2012-10-23 14:55:53 +02:00
Séverin Lemaignan 79ed83244c [pyassimp] Added an simple OpenGL viewer for pyassimp
Based on pyOpenGL.

Uses VBO/IBO for reasonable performances.

Support only basic materials (no textures)
2012-10-23 14:55:53 +02:00
Séverin Lemaignan 511f80d047 [pyassimp] Use numpy when possible
It allows for faster access to data, brings useful methods and is
pyOpenGL-friendly

It eases manipulation of matrices and vectors (many operations like
product, transposition, etc. are available)

numpy.array are also directly usable in many places in pyopengl.

And make sure we store floats as float32 to please OpenGL

Update sample.py to be happy with numpy arrays
2012-10-23 14:55:52 +02:00
Séverin Lemaignan 0bda286360 [pyassimp] sample.py: only iterate on existing texture coords 2012-10-23 14:55:52 +02:00
Séverin Lemaignan 8e9921fe32 [pyassimp] Moved test scripts to scripts/ 2012-10-23 14:55:52 +02:00