Leong Min Er, Jennifer
Mushroom
#myfirstrib.rib – test test
Display "myfirstrib.tiff" "file" "rgb"
Projection "perspective" "fov" 70
Translate 0 0 5
LightSource "pointlight"
"from" [2 2 -3]
"intensity" [10]
"from" [2 2 -3]
"intensity" [10]
WorldBegin
#emptyspace
AttributeBegin
AttributeBegin
Color 1 1 1
Disk 5 10 360
Disk 5 10 360
AttributeEnd
#greencap
AttributeBegin
Color 0 1 0
Translate 0 0 1.3
Scale 1.2 1 1
Rotate 50 1 0 0
Sphere 1 0.2 -1 360
AttributeBegin
Color 0 1 0
Translate 0 0 1.3
Scale 1.2 1 1
Rotate 50 1 0 0
Sphere 1 0.2 -1 360
AttributeEnd
#whitespots
AttributeBegin
AttributeBegin
Color 1 1 1
Translate 0 0.25 -1
Disk 0.4 0.4 360
Translate 0 0.25 -1
Disk 0.4 0.4 360
AttributeEnd
AttributeBegin
Color 1 1 1
Translate -1 0.1 -1
Disk 0.4 0.4 360
Translate -1 0.1 -1
Disk 0.4 0.4 360
AttributeEnd
AttributeBegin
Color 1 1 1
Translate 1 0.1 -1
Disk 0.4 0.4 360
Translate 1 0.1 -1
Disk 0.4 0.4 360
AttributeEnd
#face
AttributeBegin
AttributeBegin
Color 0.937 0.806 0.5
Translate 0 -0.65 1
Scale 1 0.8 1
Sphere 0.7 -1 1 360
Translate 0 -0.65 1
Scale 1 0.8 1
Sphere 0.7 -1 1 360
AttributeEnd
#eyes
AttributeBegin
AttributeBegin
Color 0 0 0
Translate -0.15 -0.49 -1
Scale 0.8 2.3 1
Sphere 0.05 -1 1 360
Translate -0.15 -0.49 -1
Scale 0.8 2.3 1
Sphere 0.05 -1 1 360
AttributeEnd
AttributeBegin
Color 0 0 0
Translate 0.15 -0.49 -1
Scale 0.8 2.3 1
Sphere 0.05 -1 1 360
Translate 0.15 -0.49 -1
Scale 0.8 2.3 1
Sphere 0.05 -1 1 360
AttributeEnd
#eyeballs
AttributeBegin
AttributeBegin
Color 1 1 1
Translate 0.132 -0.38 -1.5
Scale 0.45 0.7 1
Sphere 0.05 -1 1 360
Translate 0.132 -0.38 -1.5
Scale 0.45 0.7 1
Sphere 0.05 -1 1 360
AttributeEnd
AttributeBegin
Color 1 1 1
Translate -0.132 -0.38 -1.5
Scale 0.45 0.7 1
Sphere 0.05 -1 1 360
Translate -0.132 -0.38 -1.5
Scale 0.45 0.7 1
Sphere 0.05 -1 1 360
AttributeEnd
WorldEnd
WorldEnd


