INT32GP Tutorial #15: Theory
B2.15 3:00pm Mon 16 Sep 02
B1.38 12midday Tues 17 Sep 02
- What is an orthographic projection? How does it differ from a parallel projection?
- The following image represents a wire-frame cube,
glutWireCube(1.0)
, rendered, using an orthographic projection glOrtho(-100,100,-100,100,0.0,500.0)
, with its centre at the origin (0.0, 0.0, 0.0). We are looking at it down the negative z-axis. Camera attributes were specified as gluLookAt(0.0,0.0,10.0,0.0,0.0,0.0,0.0,1.0,0.0)
. Give the eye, centre, and up coordinates that will render a similar image of the back of the cube.
- Sketch the image for a camera position of (50,30,10)
- Explain how we can see the colour magenta when magenta is not a spectral colour.
- What is the difference between RGB and CMY colour mixes?
- What colour does the RGB mix (0,1.0,1.0) specify?
- Using the CMY colour model, how can I create the following colours.
- magenta
- black
- green
- In OpenGL, I render a large square with RGB colour (1.0,0.0,0.0), and then render a smaller square (0.0,0.0,1.0) in the centre of the larger square. Describe what I will see.
- What will I see if I render the squares in the opposite order?
- What colour results from mixing complementary RGB colours?
- Specify two complementary colours and show how mixing them creates the resulting colour.
- Colour dithering cannot be applied to a single pixel. Why?
- How many different light sources can we specify in OpenGL?
- In OpenGL, specify an infinitely remote light source located along the vector (3,3,0).
- Specify the above vector as a homogeneous coordinate.
- What will happen if we specify an infinitely remote (directional) spotlight?
- What colour will my green shoes appear in a room lit only by magenta light?
- Would a perfectly diffuse surface be rough or smooth?
- Taking distance into account when modelling diffuse reflection may lead to poor results even though the calculations adhere strictly to physical law. Why?
- Why was the Phong model of reflection introduced?
- Do you need to specify different surface normals for different light sources? Explain.
- What colour will a sphere with ambient reflection coefficients of (0.3,1.0,0.8) appear if lit only by ambient light (1.0,0.5,0.2)?
- What will I see if I render a cube with ambient reflection coefficients of (0.0,1.0,1.0,1.0) onto a black background if it is lit only with ambient light RGBA=(1.0,0.0,0.0,0.0)? What happens if I change the light to RGBA=(1.0,0.0,0.0,1.0)?
- I want a sphere to appear yellowish under white ambient light. What RGB values should I specify for its surface material?
- Calculate the ambient reflected light from an object with ambient reflection coefficients of (0.8,0.2,0.1) lit by greenish ambient light (0.15,0.7,0.15).
Fran Soddell
email:F.Soddell@bendigo.latrobe.edu.au
last updated 15 September 2002