R10/5
- Slide set 14 - Building Models
- Separate geometry and topology.
- Store each vertex only once. This is more efficient and is a good design practice since changes are easier and inconsistencies are less likely.
- You don't need to learn the details of this, just the idea. There might be a homework question, but not an exam question.
- 5 steps to efficiently drawing object:
- Create an array of vertex coordinates.
- Tell OpenGL we're doing all this. (enable)
- Tell OpenGL where is vertex array.
- Create array of indices (numbers) of vertices in faces.
- One subroutine call to draw all faces.
- Slide set 15 - classical viewing
- Slide set 16 - computer viewing
<< Lecture 10 | ComputerGraphicsFall2006 | Lecture 12 >>
Recent pages you've visited: (:tracetrails:)