X3D export (rotation)

Blender documentation projects, tutorials, translation, learning & teaching Blender

Moderators: jesterKing, stiv

Post Reply
Jernej
Posts: 0
Joined: Sun Aug 25, 2013 9:39 pm

X3D export (rotation)

Post by Jernej » Sun Aug 25, 2013 10:04 pm

Hy!

I have problem with rotation value in my export file XD3.
Here is my test subject as, we can see i have zerro rotation on my object.
Image
When i export object in X3D file i get this code:

Code: Select all

		
<Transform DEF="Cube_ifs_TRANSFORM"
translation="0.000000 0.000000 5.000000"
scale="5.000000 1.000000 1.000000"
rotation="0.000000 0.707107 0.707107 3.141593"
The scale and translation is spot on, but rotation is wrong.
In this picture i aplly rotation.
Image
The x3d code i get is this.

Code: Select all

		
<Transform DEF="Cube_ifs_TRANSFORM"
translation="0.000000 0.000000 5.000000" 
scale="5.000000 1.000000 1.000000"
rotation="0.281085 -0.678598 -0.678598 2.593564"
How can i fix this? If i rotate my object oround x axes i want to see in X3D file rotation= 1,0,0, alfa

:(

Post Reply