• Advertisement

Archived

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

retrieving data from GL buffers

This topic is 5928 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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

  • Advertisement