Magnus Jonneryd
2005-10-13 11:35:39 UTC
When rendering a geometric shape i have two, essentially, options:
1. Use GL_TRIANGLES or GL_POLYGON and only one call to GL_BEGIN and GL_END
(render everything in one go).
2. Use GL_TRIANGLE_STRIP and GL_TRIANGLE_FAN and issue multiple calls to
GL_BEGIN and GL_END (render the object piece-by-piece).
I'm wondering, with efficiency in mind, which approach you would recommend?
Thanks, in advance.
1. Use GL_TRIANGLES or GL_POLYGON and only one call to GL_BEGIN and GL_END
(render everything in one go).
2. Use GL_TRIANGLE_STRIP and GL_TRIANGLE_FAN and issue multiple calls to
GL_BEGIN and GL_END (render the object piece-by-piece).
I'm wondering, with efficiency in mind, which approach you would recommend?
Thanks, in advance.
--
(Should insert humorous quotation here)
(Should insert humorous quotation here)