PDA

View Full Version : gluProject(...) question



pixelita
03-15-2011, 05:02 AM
Hi

I'm a bit confused regards gluProject(...) function - it returns window coordinates in 3 dimensions, while in my understanding window has only x and y. What it is and what to do with the returned window z coordinate?

TIA

ZbuffeR
03-15-2011, 05:12 AM
Z is projected depth, you may not need it but can be useful sometimes.