发布日期: 04/13/2021

The Translate Command

You have actually seen the Translate command in earlier sample scripts. It sets the position from which the 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 X axis.

需要更多信息?有问题?从 JMP 用户社区得到解答 (community.jmp.com).