View Full Version : How to retrieve points information on a rendered window?

08-26-2005, 10:30 AM
Say, a window has been created and there have been some points rendered. Which openGL function can I use to get x,y,z,r,g,b values of all the points rendered on that screen? Thank you very much!

08-26-2005, 06:15 PM
Look at glReadPixels to get colors and depth values. Look at gluUnProject to get back to world-space.

PS. Please don't cross post.