Best way to render Tesselated Objects (OpenGL)

Posted by user146780 on Stack Overflow See other posts from Stack Overflow or by user146780
Published on 2010-06-08T23:47:59Z Indexed on 2010/06/08 23:52 UTC
Read the original article Hit count: 159

Filed under:
|
|

I'm using the GLUTesselator for Polygons. Right now the vertex callback does glvertex2f and gltex2f. Would it be better simply to collect the verticies from the vertex callback in a std::vector then use gldrawarrays()? Or would this actually be less efficient since it has to put the verts and texture coordinates in a vector?

Thanks

© Stack Overflow or respective owner

Related posts about c++

Related posts about c