
I used OpenGl for the initial checkpoint. The scene is divided into several objects.
This scene has three visible objects:
- Two spheres
- The floor
In addition, there are two objects which are not directly visible:
- A point light source
- A camera
Here are the the parameters of the following scene.
Camera:
Position: x= 0.0, y= 0.0, z = 10
Look At: x=0.0, y= -1.0, z = 1.0
Up: x= 0.0, y = 1.0 , z = 0.0
Near Clip: 1.0
Far Clip: 500
Aspect Ratio: 4/3
Light:
Position: x = 5.0, y = 10.0, z = 2.0
Diffuse = 1, 1, 1
Ambient = 0, 0, 0.1
Green Sphere:
Position: x = -2.5, y = -2.5, z = -2.5
Radius: 2.0
Yellow Sphere:
Position: x = 0.0, y = -0.5, z = -0.5
Radius: 2
Plane:
Upper Left Coordinate: x = -8.0, y = -4.5. z = -20.0
Upper Right Coordinate: x = 5.0, y=-4.5. z= -20.0
Lower Left Coordinate : x = -8.0, y=-4.5. z= 15.0
Lower Right Coordinate: x= 5.0, y=-4.5. z= 15.0
No comments:
Post a Comment