OpenGL




CS185c

Chris Pollett

Nov. 9, 2009

Outline

Where We Were

Defining Lighting and Cube Material

Screenshot After Lighting

Screenshot showing how lighting effect the way our cube looked

Making the Cube Rotate

Screenshot During Rotation

Screenshot showing the cube mid-rotation

Quiz

Which of the following statements is true:

  1. To make an animation in Android you can set an animation-list as the background resource on an ImageView object of the main layout.
  2. OpenGL ES is a Java-only implementation of OpenGL for embedded systems.
  3. Setting the viewport in which a scene is displayed in not associated with setting the OpenGL matrix mode to GL_PROJECTION.

Applying Texture

Texture Mapping Continued

Finishing Texture Map

Screenshot With Texture Map

Screenshot showing the cube with my face as a texture