Monday, November 28, 2011
Monday, November 14, 2011
Sunday, November 6, 2011
Friday, October 28, 2011
Practical #02 (My Mushroom)
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
Monday, October 24, 2011
Practical #02 (My Pac-Man)
Leong Min Er, Jennifer
Pac-Man
#myfirstrib.rib – test test
Display "myfirstrib.tiff" "file" "rgb"
Projection "perspective" "fov" 30
Translate 0 0 5
LightSource "pointlight"
"from" [2 2 -3]
"intensity" [10]
"from" [2 2 -3]
"intensity" [10]
WorldBegin
AttributeBegin
Color 1 1 0
Translate 0 0 0
Rotate 180 1 0 0
Rotate 45 0 0 1
Sphere 1 -1 1 270
Translate 0 0 0
Rotate 180 1 0 0
Rotate 45 0 0 1
Sphere 1 -1 1 270
AttributeEnd
AttributeBegin
Color 0 0 0
Translate 0 0.5 -1
Scale 0.1 0.1 0.1
Rotate 120 1 0 0
Sphere 1 -1 1 360
Translate 0 0.5 -1
Scale 0.1 0.1 0.1
Rotate 120 1 0 0
Sphere 1 -1 1 360
AttributeEnd
AttributeBegin
Color 1 1 1
Translate 0.3 0.01 0
Scale 0.07 0.07 0.07
Rotate 120 1 0 0
Sphere 1 -1 1 360
Translate 0.3 0.01 0
Scale 0.07 0.07 0.07
Rotate 120 1 0 0
Sphere 1 -1 1 360
AttributeEnd
AttributeBegin
Color 1 1 1
Translate 0.5 0.01 0
Scale 0.07 0.07 0.07
Rotate 120 1 0 0
Sphere 1 -1 1 360
Translate 0.5 0.01 0
Scale 0.07 0.07 0.07
Rotate 120 1 0 0
Sphere 1 -1 1 360
AttributeEnd
AttributeBegin
Color 1 1 1
Translate 0.7 0.01 0
Scale 0.07 0.07 0.07
Rotate 120 1 0 0
Sphere 1 -1 1 360
Translate 0.7 0.01 0
Scale 0.07 0.07 0.07
Rotate 120 1 0 0
Sphere 1 -1 1 360
AttributeEnd
WorldEnd
WorldEnd
Practical #02 (My Mickey Mouse)
Leong Min Er, Jennifer 
Projection "perspective" "fov" 60
Translate 0 0 5
Mickey Mouse
#myfirstrib.rib – test test
Display "myfirstrib.tiff" "file" "rgb"
Projection "perspective" "fov" 60
Translate 0 0 5
LightSource "pointlight"
"from" [2 2 -3]
"intensity" [10]
"from" [2 2 -3]
"intensity" [10]
WorldBegin
AttributeBegin
AttributeBegin
Color 1 0 0
Translate 0 -0.3 0
Rotate 120 1 0 0
Sphere 1 -1 1 360
Translate 0 -0.3 0
Rotate 120 1 0 0
Sphere 1 -1 1 360
AttributeEnd
AttributeBegin
Color 0 1 1
Translate -0.8 0.9 0
Scale 0.45 0.5 0.5
Rotate 120 1 0 0
Sphere 1 -1 1 360
Translate -0.8 0.9 0
Scale 0.45 0.5 0.5
Rotate 120 1 0 0
Sphere 1 -1 1 360
AttributeEnd
AttributeBegin
Color 0 1 1
Translate 0.8 0.9 0
Scale 0.45 0.5 0.5
Rotate 120 1 0 0
Sphere 1 -1 1 360
Translate 0.8 0.9 0
Scale 0.45 0.5 0.5
Rotate 120 1 0 0
Sphere 1 -1 1 360
AttributeEnd
WorldEnd
WorldEnd
Monday, October 17, 2011
Practical #01
Balloons
-Multi-colours
-Rubber Fabric
-Very light
-Low specularity
-Non reflective
-Smooth surface
-Can be either opaque or translusent or transparent
-Shadows
Bowling Ball
-Blue
-Plastic
-Heavy
-Highly reflective
-Smooth surface
-Shiny
Tennis Balls
-Yellow
-Leather and Well-stuffed Wool
-Low specularity
-Non reflective
-Shadows
Subscribe to:
Posts (Atom)



