View Full Version : triangle fans and polygons
11-16-2000, 04:10 AM
Is it just me, or do they do the exact same thing?
11-16-2000, 05:29 AM
Assuming you are comparing glBegin(GL_TRIANGLE_FAN) and glBegin(GL_POLYGON) they are not the same.
It's just you. http://www.opengl.org/discussion_boards/ubb/wink.gif
11-16-2000, 06:18 AM
Well, if you mean that a polygon can be triangulized into a triangle fan, then yes, kinda http://www.opengl.org/discussion_boards/ubb/wink.gif
If and how triangulization of polygons is done depends AFAIK on the OpenGL implementation.
11-16-2000, 07:05 AM
I mean that when you look at the polygon as a wire frame, it is just made of triangles that all meet at the first point. The polygon doesn't seem to work properly with complex shapes either. It was just an observation.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.