Reference

Table of Contents  ▸  List of Commands  ▸  3D Meshes  ▸  focale3d◀  extrude3d    |    gaussians3d  ▶

focale3d

Built-in command

Arguments:

Description:

Set 3D focale.

(equivalent to shortcut command f3d).


Set focale to 0 to enable parallel projection (instead of perspective).
Set negative focale will disable 3D sprite zooming.

Default values:

focale=700.

Example of use:

$ gmic repeat 5 torus3d 100,30 rotate3d[-1] 1,1,0,60 focale3d {$<*90} snapshot3d[-1] 400 done remove[0]

Command: repeat 5 torus3d 100,30 rotate3d[-1] 1,1,0,60 focale3d {$<*90} snapshot3d[-1] 400 done remove[0]
Command: repeat 5 torus3d 100,30 rotate3d[-1] 1,1,0,60 focale3d {$<*90} snapshot3d[-1] 400 done remove[0]
Command: repeat 5 torus3d 100,30 rotate3d[-1] 1,1,0,60 focale3d {$<*90} snapshot3d[-1] 400 done remove[0]
Command: repeat 5 torus3d 100,30 rotate3d[-1] 1,1,0,60 focale3d {$<*90} snapshot3d[-1] 400 done remove[0]