PDA

View Full Version : Read back transformed vertices...



ttdsuen
02-22-2004, 05:30 PM
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.

-Daniel.

chemdog
02-24-2004, 02:51 AM
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.

Catman
03-03-2004, 11:18 AM
Or if you use only fixed pipeline functions (I don't know about vertex shaders http://www.opengl.org/discussion_boards/ubb/smile.gif ) you can read the modelview matrix, and transform your vertices manually.