Read back transformed vertices...

Hi All,

I am wondering if there is a way in OpenGL to read back the coordinates of transformed vertices after specifying a set of transforms. I want to read back the vertices in world coordinate.


No guarantees for speed, but you can use feedback mode. See the RedBook, Chapters on Selection and Feedback. I have used feedback mode to do off-line model format conversions.

Or if you use only fixed pipeline functions (I don’t know about vertex shaders ) you can read the modelview matrix, and transform your vertices manually.