Exercise: Rendering 3D surfaces in OpenGL

EX_OPENGL_SURFACES

NOTE: Create a Directory "GraphicsExercises" for all your 3DGraphics Lab work.

Part A

  1. Create an OpenGL project
  2. Draw a wire frame mesh of surface of a cylinder (use a parametric equation).
  3. Compile and Execute.

Part D

  1. Draw a surface of a sphere (use a parametric equation).
  2. Can you draw half a sphere? A quarter of a sphere?
  3. Compile and Execute.

Part E

  1. Draw a Torus(use a parametric equation).
  2. Give the mesh a solid surface, draw alternate squares yellow & white.
  3. Compile and Execute.