Hello
i have loaded a 3D model into opengl using ASSIMP library.
The problem is the model is not in the right angle ( head up -chin down )
instead it is fliped 90 degrees
how can i flip the loaded image in a manual easy way ?
Thanks
Hello
i have loaded a 3D model into opengl using ASSIMP library.
The problem is the model is not in the right angle ( head up -chin down )
instead it is fliped 90 degrees
how can i flip the loaded image in a manual easy way ?
Thanks
You can rotate the model using a 3D modeling program and re-export it. That’s assuming you need the asset rotated in all instances where it is used.
On Blender, when exporting a file, the default dimensions for Up is Z
and for Forward it’s Y forward
. On OpenGL however, usually Y
is Up and -Z
is Forward, if that’s how it is on other 3D modeling programs, that might explain what happened in your situation.
how can i flip the loaded image in a manual easy way ?
I’m not sure what you mean by image
here, are you trying to rotate a 3D model or a texture?
my fault , i meant the 3D model