Question

i'm using blender for my 3D model which uses right-hand coordinate system, so when i try to import the model to my opengl engine(irrlicht, left-hand coordinate system) the mesh and animation looks inverted in x axis.

(for ex, in blender my human Model performs animations in right hand but in opengl it does it on left hand side.)

so i'm trying convert the matrices from right hand coordinate to left hand. Can any one give some guidelines to proceed ?

edit: i'm trying this for animated model like b3d etc.

Was it helpful?

Solution

hi all thanks for your suggestions , i found a clear explanation in the below link , an finally i managed to get it right.

Changing a matrix from right-handed to left-handed coordinate system

OTHER TIPS

Here is a quite thorough explanation, "Converting Between Coordinate Systems" by David Eberly, https://www.geometrictools.com/Documentation/ConvertingBetweenCoordinateSystems.pdf

Assuming that you are exporting an obj file, there are options for that in the lower-left corner when you are inside the file browser, just use them as you wish, it will adapt the orientation automatically before writing the obj file to disk.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top