Commit Graph

5 Commits (918cbfec5efd730fcabfcdf7c0f28398b469cec6)

Author SHA1 Message Date
Séverin Lemaignan ab268b9f48 [pyassimp] Added a NullHandler to the logger
While here, many cleaning in log messages + promote some warning to errors
2012-10-23 14:55:53 +02:00
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 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