Here we see the addition of two nodes, the Translation node and the
Cone node.
Translation node specifies where (in coordinates) to place an object in the scene.
The Cone node will draw a cone with a bottom radius of 15 and a height of 30.
'Parts' refers to the parts of the cone, either SIDES, BOTTOM, or ALL. In this case, we wish to draw ALL of the cone. Note the Separator around the Translation and Cone nodes. This serves to separate these two nodes from the rest of the scene; thus, the Translation node will affect only the Cone node. A 3D cone is drawn with its center at (0, 30, 0), above the text in the scene.
DEF Cone1 Separator { Translation { translation 0 30 0 } #Translation Cone { parts ALL bottomRadius 15 height 30 } #Cone } #Cone1 Separator } #Separator
Translation + Cone
Next
Table of contents