SHRINKS OR STRETCHES THE 3D OBJECT NUMBER N OF CZ ALONG ITS Z AXIS
ACTION
The command 3D_Z_SCALE scales the 3D object designated by its number N, along its own Z axis, by the coefficient CZ.
The own Z axis of the 3D object is the axis of the object which was parallel to the world Z axis when the 3D object was created.
If CZ=1, no scale is made.
If CZ>1, the 3D object is stretched on its Z axis.
If CZ<1, the 3D object is shrinked on its Z axis.
SYNTAX:
3D_Z_SCALE N,CZ
USE ERROR EXAMPLE
rem create a 3D world
scene3d 1
rem resize the 3D world
width 1,300:height 1,300
rem place the camera
cam_position 5,10,10
rem create a sphere
3d_sphere 1,2
rem wait for 1 second
wait 1000
rem turn it into an ovoid
3d_z_scale 1,3
3D_Z_SCALE
3D_Z_SCALE N,CZ
SEE ALSO
3D_X_SCALE
3D_Y_SCALE