Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How Do I Switch Y and Z Axises from Blender? (So Y is Up)

Tags:

blender

I've been having a bit of a problem with making the Y axis my up axis when exporting mesh and scenes from Blender. Both Blender and my export target use right handed transformation matrices. Z is the up axis in Blender while Y is the up axis in my target. The problem exists in 2 places though. The scene's transformations can't just be shifted on the X axis to fix this, because I also need to do the Y/Z switch for the vertices in the mesh (export as vertex.x, vertex.z, vertex.y). I need to have the actual Y and Z rotations switched, so that if the Y and Z rotations are the same, no change will occur (ie. identity). Thanks for your help in advance. Feel free to ask questions if I was not thorough enough.

like image 998
user387381 Avatar asked Jul 09 '10 04:07

user387381


1 Answers

Blender does two things different than the rest of the known world! 1. It uses Z axis for vertical (should be Y); Y axis for horizontal (should b X); and X axis for in and out (should b Z).

Very weird! Every high school graph since the beginning of time uses X for horizontal and Y for vertical.

  1. It uses the right mouse button for selections.

U can change the selection btn in Preferences, but not the crazy axis arrangement!

like image 135
jack kunkel Avatar answered Oct 21 '22 03:10

jack kunkel