Vertex array with GLUTessellator

Posted by user146780 on Stack Overflow See other posts from Stack Overflow or by user146780
Published on 2010-06-05T19:17:51Z Indexed on 2010/06/05 19:22 UTC
Read the original article Hit count: 360

Filed under:
|
|
|

I notice that every tutorial on setting up the GLUTesselator and its callbacks, use GlBegin, GlEnd and a vertex callback which uses glVertex. It seems to me like this makes it run in immediate mode right? That seems to me as inefficient. How could I set it up to use a vertex array? Could I just use the output from the vertex callback and then generate a vertex array from this data then submit it like I might usually do it? Or is there another, better way of doing this?

Thanks

© Stack Overflow or respective owner

Related posts about c++

Related posts about c