質問

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.

役に立ちましたか?

解決

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

他のヒント

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top