slides
slides
slides
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Saturday, 23 October 2010<br />
1 #declare a string so we can refer to the Object by name<br />
2 Declare "Spheres" "string"<br />
3 # Now we actually create the Object<br />
4<br />
5 ObjectBegin "Spheres"<br />
6 Sphere 1 -1 1 360<br />
7 Translate 0 0 2<br />
8 Scale 0.5 0.5 0.5<br />
9 Sphere 1 -1 1 360<br />
10 ObjectEnd<br />
11<br />
12 Display "min.tiff" "framebuffer" "rgba"<br />
13 Projection "perspective" "fov" [30]<br />
14<br />
15 # start our world<br />
16 WorldBegin<br />
17 Translate 0 0 14 #move the global view position<br />
18 Rotate 90 1 0 0<br />
19 Color [1 0 0]<br />
20 Attribute "identifier" "name" ["Spheres1"]<br />
21 ObjectInstance "Spheres"<br />
22 Color [0 1 0]<br />
23 Translate 3.2 0 0<br />
24 Attribute "identifier" "name" ["Spheres2"]<br />
25 ObjectInstance "Spheres"<br />
26 Color [0 0 1]<br />
27 Translate -6.2 0 0<br />
28 Attribute "identifier" "name" ["Spheres3"]<br />
29 ObjectInstance "Spheres"<br />
30 #end our world<br />
31 WorldEnd