My Mickey Mouse from today's excercise! ☺
#myfirstrib.rib – test test
#myfirstrib.rib – test test
Display "myfirstrib.jpg" "file" "rgb"
Projection "perspective" "fov" 30
Translate 0 0 10
LightSource "pointlight"
"from" [2 2 -3]
"intensity" [10]
"from" [2 2 -3]
"intensity" [10]
WorldBegin
AttributeBegin
Color 1 0 0
Rotate 120 1 0 0
Translate 0 0 0
Sphere 1 -1 1 360
AttributeBegin
Color 1 0 0
Rotate 120 1 0 0
Translate 0 0 0
Sphere 1 -1 1 360
AttributeEnd
AttributeBegin
Color 0 1 1
Rotate 35 0 0 1
Translate -0.3 1.5 0
Scale 0.45 0.5 0.5
Sphere 1 -1 1 360
Color 0 1 1
Rotate 35 0 0 1
Translate -0.3 1.5 0
Scale 0.45 0.5 0.5
Sphere 1 -1 1 360
AttributeEnd
AttributeBegin
Color 0 1 1
Rotate -35 0 0 1
Translate 0.3 1.5 0
Scale 0.45 0.5 0.5
Sphere 1 -1 1 360
Color 0 1 1
Rotate -35 0 0 1
Translate 0.3 1.5 0
Scale 0.45 0.5 0.5
Sphere 1 -1 1 360
AttributeEnd
WorldEnd
No comments:
Post a Comment