Good evening to all of you;
I'm really confused GL_QUADS function , Can anyone make me understand the GL_QUADS function ? Please help me. Thanks in advance.
Good evening to all of you;
I'm really confused GL_QUADS function , Can anyone make me understand the GL_QUADS function ? Please help me. Thanks in advance.
GL_QUADS are really useful for many things like many billboarded distant objects , particle systems etc, its also useful for drawing. It also allows to avoid the GL_QUADS allows us to avoid redundant index array .
When you call the function glBegin with GL_QUADS as an argument you gives openGL all the coordinates in here should be combined in quads. OpenGL will automatically combine the first 4 to one quad, the second 4 to the second quad and so on. Another argument is GL_TRIANGLES. This works the same way but it combines 3 coordinates you send to a triangle instead.
Bookmarks