Archived

This topic is now archived and is closed to further replies.

halt

retrieving data from GL buffers

Recommended Posts

Is there any method to get the data about the vertices and edges of the default objects(for example gluSphere) into the memory array?

Share this post


Link to post
Share on other sites
I think you''d have to make your a function that draws a certain primitive and returns it''s vertex data.
e.g int vertexData[500] = Primitive(sphere)

That means you have to use your own primitive drawing algorithm.

Share this post


Link to post
Share on other sites
quote:
Original post by Terran Marine
I think you''d have to make your a function that draws a certain primitive and returns it''s vertex data.
e.g int vertexData[500] = Primitive(sphere)

That means you have to use your own primitive drawing algorithm.



Oh, no! I thought as much, but in GL there is something like glRenderMode(GL_FEEDBACK), but unfortunately I don''t know how it wortks

Share this post


Link to post
Share on other sites