#Create a Pac man
Display "pacman.rib.tiff" "file" "rgb"
Projection "perspective" "fov" 50
Translate 0 0 5
LightSource "pointlight"
"from" [2 2 -3]
"intensity" [10]
WorldBegin
AttributeBegin
Color 1 1 0
Translate -0.2 0 0
Scale 2 2 2
Rotate 35 0 0 1
Sphere 1 -1 1 280
AttributeEnd
AttributeBegin
Color 1 1 1
Translate 2.8 0 0
Scale 0.2 0.2 0.2
Sphere 1 -1 1 360
AttributeEnd
AttributeBegin
Color 1 1 1
Translate 2 0 0
Scale 0.2 0.2 0.2
Sphere 1 -1 1 360
AttributeEnd
AttributeBegin
Color 1 1 1
Translate 1.2 0 0
Scale 0.2 0.2 0.2
Sphere 1 -1 1 360
AttributeEnd
AttributeBegin
Color 0 0 0
Translate -0.2 0.7 -2
Scale 0.21 0.21 0.21
Sphere 1 -1 1 360
AttributeEnd
WorldEnd
Vincent's Super Mario Mushroom
#Create a Super Mario mushroom
Display "mushroom.rib.tiff" "file" "rgb"
Projection "perspective" "fov" 50
Translate 0 0 5
LightSource "spotlight"
"from" [2 2 -3]
"intensity" [0.5]
WorldBegin
AttributeBegin
Color 0 1 0
Translate 0 0.1 0
Scale 2 2 2
Rotate 90 -0.5 0 0
Sphere 1 -0.6 1 360
AttributeEnd
AttributeBegin
Color 1 1 0.6
Translate 0 -0.8 -1.5
Scale 1 0.8 0.8
Rotate 90 1 0 0
Sphere 1 -0.7 0 360
AttributeEnd
AttributeBegin
Color 1 1 0.6
Translate 0 -0.8 -1.5
Scale 1 0.8 0.8
Rotate 90 -1 0 0
Sphere 1 -0.7 0 360
AttributeEnd
AttributeBegin
Color 0 0 0
Translate -0.2 -0.5 -3
Scale 0.05 0.09 0.1
Sphere 1 -1 1 360
AttributeEnd
AttributeBegin
Color 0 0 0
Translate 0.2 -0.5 -3
Scale 0.05 0.09 0.1
Sphere 1 -1 1 360
AttributeEnd
AttributeBegin
Color 1 1 1
Translate 0.18 -0.42 -3.2
Scale 0.025 0.045 0.05
Sphere 1 -1 1 360
AttributeEnd
AttributeBegin
Color 1 1 1
Translate -0.18 -0.42 -3.2
Scale 0.025 0.045 0.05
Sphere 1 -1 1 360
AttributeEnd
AttributeBegin
Color 1 1 1
Translate 0 0 0
Scale 100 100 100
Disk 1 1 360
AttributeEnd
AttributeBegin
Color 1 1 1
Translate 0 0.5 -3
Scale 0.6 0.6 0.6
Disk 1 1 360
AttributeEnd
AttributeBegin
Color 1 1 1
Translate 1.5 0.2 -3
Scale 0.6 0.6 0.6
Disk 1 1 360
AttributeEnd
AttributeBegin
Color 1 1 1
Translate -1.5 0.2 -3
Scale 0.6 0.6 0.6
Disk 1 1 360
AttributeEnd
WorldEnd