First the whole world is specified as one object as this is the rule! (Not enforced)
|
DEF World Separator { # Name of Scene Graph
|
This enable the world be used as a component of a larger world. Separator is used as a object wrapper and we will use it to define parts of car later.
|
Transform { # A 30 degree rotation about x axis
-
rotation 1 0 0 0.52359878
|
}
|
DirectionalLight { # Light the Car !
-
on TRUE # Switch it on!
-
intensity 1
-
color 1 1 1 # White
-
direction 1 0 0 # Rays are parallel to rotated x axis
|
}
|