PDA

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



purecash
08-26-2005, 10:28 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!

Louvie
08-28-2005, 01:05 AM
i am afraid i don't quite understand your meaning.If you don't know the x,y,z of a vertex first,how do you render them in the window?or you should kown some other information of the vertex.
:confused: :)

memfr0b
08-29-2005, 11:38 PM
glReadPixels is probably what you are looking for.