i’m working for an exporter for a 3D engine i’m doing (and that will be free avaiable when more completed). I need to export the Mesh objects in the scene in Blender and transfer their position, rotation and scale in the export data file (a text-xml).
OpenGL uses a different coordinate axis system then the Blender one
i’d like to take the euler angles given by the Python interface and convert them into OpenGL compatible ones. After that fill them in a quaternion in my engine and … stop
Is there any script that already do this conversion? i’ve searched also for more documentation about how that angles are calculated by Blender but i cant find nothing.
Any ideas of about how to do this thing?