FAQ

Coordinate systems

In Blender after pressing numlock 7 (top-view), the object should be heading up on the screen (i.e. forward):

right: x
forward: y
up: z

(RFU, xyz, ccw)


In OpenGL (jMonkeyEngine [vis3d], (J)Bullet, Skeldar dynamics model, ...):

right: x
forward: -z (OpenGL is based on coordinate system of a viewer)
up: y

(RUnF, x-zy, ccw)


In Alite (positions in the Storages):

right: x
forward: -y (Alite 3D is based on Alite 2D (2D + z-up is preferred system); in 2D [0,0] is the top left corner, i.e., going forward decreases y)
up: z

(RnFU, x-yz, cw)


Blender -> OpenGL (x-rot) (default OBJ-export settings):
x -> x
y -> -z
z -> y

OpenGL -> Alite (x-rot, y-mirror) (used for control from 3D window to simulation; code in CoordinateConverter.java):
x -> x
y -> z
z -> y

Alite -> OpenGL (x-rot, y-mirror) (used for 3D visualization of objects in Alite Environment; code in CoordinateConverter.java):
x -> x
y -> z
z -> y

Blender -> Alite (y-mirror) ("virtual" compound transformation from Blender to Alite):
x -> x
y -> -y
z -> z

How can I put my 3D environment into Alite Tactical Package?

TODO (JV)

opengl.gif (2.55 KB) Komenda Antonín, 08/14/2012 05:02 PM

blender.png (9.2 KB) Komenda Antonín, 08/14/2012 05:13 PM

alite.png (190 KB) Komenda Antonín, 08/14/2012 05:36 PM