COSC1224/1226 Real-Time Rendering and 3D Games Programming

Back

Difference between GL_TRIANGLE_STRIP and GL_QUAD_STRIP?
Both require vertices in the same order and quads are rasterized as triangles anyway
1. GL_QUAD_STRIP only renders after 4 vertices and on even counts (no additional odd triangle)
2. GL_QUAD_STRIP will interpolate attributes (colours, textures and lighting) linearly between 4 vertices. GL_TRIANGLE_STRIP renders completely separate triangles.

Course Links

Main Page
Tutorials
Assignments
Web News

Simple VA/VBO examples

Vertex Array
Vertex Buffer Object
If you're using VBOs in windows, don't forget to include and link glew and call glewInit() after creating the window.

Compiling SDL with Visual Studio

Example

Resources

OpenGL Programming Guide - The "Red Book"
Lighthouse 3D