Matrix Composition
Camera Placement:
Image 1: Translate 6 -3 15 Rotate 120 0 1 0Image 2: Translate -6 -2 31 Rotate 60 0 1 0
Image 3: Projection "perspective" "fov" 50 Translate -1 -2 10 Rotate 5 1 0 0 Rotate 25 0 1 0
Image 4: Projection "perspective" "fov" 40 Translate -6 -2 31 Rotate -30 0 1 0 Scale 1 1 -1
Note: Due to my apparent lack of commenting in this assignment, I do not have the exact code snippets. The code that appears for these is my close approximation of their values.
Geometry Code Snippet:
AttributeBegin
TransformBegin
#GroundedObjects
TransformBegin
TransformBegin
Translate 0 1 0
Sphere 1 -1 1 360
TransformEnd
TransformBegin
Translate 0 1 2
Scale .4 .4 .4
Sphere 1 -1 1 360
TransformEnd
Rotate 120 0 1 0
TransformBegin
Translate 0 1 2
Scale .4 .4 .4
Sphere 1 -1 1 360
TransformEnd
Rotate 120 0 1 0
TransformBegin
Translate 0 1 2
Scale .4 .4 .4
Sphere 1 -1 1 360
TransformEnd
TransformEnd
#Floating Tori
TransformBegin
Translate 0 3 -3
Rotate -75 1 0 0
Torus 1.0 0.3 30 360 360
TransformEnd
Rotate 90 0 1 0
TransformBegin
Translate 0 3 -3
Rotate -75 1 0 0
Torus 1.0 0.3 30 360 360
TransformEnd
Rotate 90 0 1 0
TransformBegin
Translate 0 3 -3
Rotate -75 1 0 0
Torus 1.0 0.3 30 360 360
TransformEnd
Rotate 90 0 1 0
TransformBegin
Translate 0 3 -3
Rotate -75 1 0 0
Torus 1.0 0.3 30 360 360
TransformEnd
TransformEnd
AttributeEnd
