//Let there be LIGHT!
PointLight [ (5, -5, 8) Intensity '1,1,1' ]
Now, for to break down all that stuff
By now, your third tutorial, you should know what the camera and lighting stuff does, and I'd also venture to
guess that you've seen our friend the box before... in the million spheres example. However, today
I have introduced a new partner in crime.... (roll the dramatic music)...
THE DREADED POLYGON
All right... it's not so bad. It's usage is quite simple,
All right, now for the clever explaination.
You should have already seen the Shape [] stuff, and Polygon makes good sense....
n is the number of points (or vertices) your polygon will have. Think of a polygon as a square/rectangle/
triangle/n-angle/n-gon. It can have anywhere from 3-32 sides, so it's fairly versitile...
After that, our good ol' friends X,Y,and Z remain the same. The number of points you have
MUST EQUAL n. texture is just the texture... like we've done before...
Now, for the fog.
Also, in our primitive scene, we see fog. This cool effect is created using the Fog keyword.
Fog (dist, thickness, 'R, G, B')
dist is our word for distance. This is how many units away the fog starts.... a very simple concept. The
thickness may not be so easy. It is how dense the fog is, or rather, it's fading effect. When you look
outside on a foggy day, there are different amounts of fog... it could be nearly transparent or it could be
so dense that you cannot see your hand afront your face... well, thickness is something like that....
the larger the number, the denser the fog is. You should already be aquainted with R G B values by now,
so I wont go into that either...