retrieving data from GL buffers
Is there any method to get the data about the vertices and edges of the default objects(for example gluSphere) into the memory array?
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.
e.g int vertexData[500] = Primitive(sphere)
That means you have to use your own primitive drawing algorithm.
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement