Publication date: 07/08/2024

Translate Function

The Translate function sets the position from which the 3-D scene is viewed. The arguments give the amount to move from the current position in the x, y, and z direction.

Translate (x, y, z)

For example,

Translate( 0.0, 0.0, -2 );

moves the origin two units in the negative z direction.

Initially, the origin and camera were at the same place. Now, the camera can see the origin because the camera faces down the negative z axis.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).