Rotation of 3ds and obj models
Rotation of 3ds and obj models
I recently noticed something strange and was wondering if anyone else have seen this. I have a .3ds model (of car) and just displays the model in a small irrlicht demo. Then I open the model in Blender and export it as .obj and displays the .obj model in Irrlicht. Now the model is rotated 180 degrees compared to the .3ds model. Does Irrlicht give .3ds and .obj models different rotations or am I doing something wrong?
Well what axis does it rotate the node 180 degress on? If I am remember correctly, it just has to do with the exporter, not the Irrlicht loader. The exporter may have the Z axis switched with the Y axis compared to Irrlicht, which is usually the case. And if that is the case, then the exporter should provide a method for you to flip axeses. And if it doesn't, then you mines well just rotate it in the modeler.
TheQuestion = 2B || !2B
Yeah, then just swap the axes with the exporter, if the OBJ exporter allows that. (Which if I recall correctly, it doesn't.) And if it doesn't, then just manually rotate it, and that should be just fine for you.nemis99 wrote:Yes it's rotated around the Blender Z-axis which is Y-axis in irrlicht. It's just a bit confusing as it's different for different formats.
TheQuestion = 2B || !2B
