PDA

View Full Version : Z value from the feed back buffer



luke
04-26-2000, 08:24 AM
Does any one know how to get the real Z value from the feed back buffer?

john
04-26-2000, 06:55 PM
use gluUnProject() (since you know the z, image x and y, you can recover the world coordinates X,y,Z).

hoep this helps,

cheers,
john