How to switch y and z axes from blender? (So ​​Y Up)

I had a slight problem with the Y axis increasing when exporting meshes and scenes from Blender. Both Blender and my export target use the right transformation matrices. Z is the up axis in Blender, and Y is the up axis in my goal. However, the problem exists in two places. Transformations of the scene cannot simply be shifted along the X axis to fix this, because I also need to make the Y / Z switch for the vertices in the grid (export as vertex.x, vertex.z, vertex.y). I need the actual turns of Y and Z to switch, so that if the rotation of Y and Z is the same, there will be no change (i.e., identity). Thank you in advance for your help. Feel free to ask questions if I'm not thorough enough.

+7
blender
source share
6 answers

I encountered a similar problem when working with cinema4d and a blender. In cinema4d, Y is the top axis, and rotations are the headline, step, and bank.

The Blender system looks like the right system, but rotates 90 degrees along the x axis.

I did the same for the coordinates (exported as vertex.x, vertex.z, vertex.y). For rotations, I think you should add 90 degrees (math.pi * 0.5) to rotate on the X axis, and the rest should be fine.

NTN

+2
source share

Have you tried using Select All (key "a") and then rx 90 to rotate everything 90 degrees around the X axis and pivot point? (your pivot point is selected in the 3D view menu bar if you need to control this).

You can do this, export, and then cancel.

+2
source share

no you do it

y = r g = -y

there is no rotation of 90 degrees, you can go from the left hand to the right, this is stupid.

+2
source share

Just download Wings3D . Export from Blender as .3ds, and then import this file into Wings3D . Now you can simply export it from Wings3D , again to .3ds. But instead of clicking directly on .3ds, click on the small icon to the right of the ".3ds" menu. you can now uncheck the Swap y und z axis checkbox and import .3ds into another program.

0
source share

A blender does two things different from the rest of the known world! 1. It uses the Z axis for vertical (must be Y); Y axis for horizontal (should be b X); and the X axis for entry and exit (if b Z).

Very strange! Each high school graph has used X for horizontal and Y for vertical since the beginning of time.

  1. It uses the right mouse button to select.

U can change the selection of btn in the settings, but not on the crazy axis.

0
source share

In the blender, you can add empty simple axes that will correct the orientation when exporting to one or try to export as a fbx file and change the orientation in the export options

0
source share

All Articles