Exercise: Vertex Buffers & Textures
NOTE: Create a Directory "GraphicsExercises" for all your 3DGraphics
Lab work.
Part A
- Create an 8x8 chequered grid on the floor.
Light the scene.
- Texture the grid with the following wood textures, such that we have alternating
dark and light squares, like a chess board.

Part B
- Create a vertex buffer & index buffer to store vertices to render an
6 sided jar.
Light the scene and rotate the tube.
- Wrap the following texture around the tube

Part C
- Programatically fill a vertex buffer with the coordinates for an 'n' sided
cylinder.
- Wrap the soup can image around the cylinder
- How many side must the cylinder have before it no longer looks like a polyhedron?
Part D
- Place a pyramid of 10 soup cans on a checker floor