Can anybody explain the use of ARB_window_pos to me.
If possible a code example :)
Thank you very much.
Please log in or register to post a reply.
i think this extension let’s you specify a render position directly in
window coordinates bypassing the modelview and projection matrix… i
think clipping also gets disabled
you would use it like this
and then make a call to glBitmap or some other raster routine
might also help you.
Ok, I read through the spec very fast :)
Is it possible to use this extension to get the xyz coord from a xy
window coord ?
Or vice-versa ?
i don’t think so…
For that, you need to choose what you want. If you want to get the xyz
value of the pixel over which the mouse is, you need picking. If you
just need to convert from window xy -> opengl xy then you just need to
look at gluProject and gluUnProject.