- XLogo 3D
To switch to 3D mode, use the primitive Perspective. To return to 2D mode use Window, Wrap or Fence (see Drawing).
|Perspective||3D||Switch to 3D mode.|
|SetXYZ x y z
SetOrientation [r p h]
|Move turtle to position x y z.
Move turtle to depth position z.
Set turtle's orientation (roll, pitch, heading).
|Roll turtle left by n degrees.
Roll turtle right by n degrees.
Set turtle's roll angle to n degrees.
|Pitch turtle down by n degrees.
Pitch turtle up by n degrees.
Set turtle's pitch angle to n degrees.
Underlined Set can be removed from a primitive name in order to return information.
eg. SetHeading sets the heading of the turtle. Heading returns the heading of the turtle.
Four pairs of primitives for polygons, lines, points and text. If not used, nothing will be drawn in the 3D Viewer window.
|View3D||Launch interactive 3D viewer, with fog and light controllers.|
|Start recording following turtle moves as polygons.
Stop polygon recording.
|Start recording following turtle moves as lines.
Stop line recording.
|Start recording following turtle moves as points.
Stop point recording.
|Start recording following as text.
Stop text recording.