Exercise: Rendering 3D surfaces in OpenGL
EX_OPENGL_SURFACES
NOTE: Create a Directory "GraphicsExercises" for all your 3DGraphics
Lab work.
Part A
- Create an OpenGL project
- Draw a wire frame mesh of surface of a cylinder (use a parametric equation).
- Compile and Execute.
Part D
- Draw a surface of a sphere (use a parametric equation).
- Can you draw half a sphere? A quarter of a sphere?
- Compile and Execute.
Part E
- Draw a Torus(use a parametric equation).
- Give the mesh a solid surface, draw alternate squares yellow & white.
- Compile and Execute.