Login  Register

Re: Get pixel Coordinates

Posted by elect on Apr 20, 2016; 2:48pm
URL: https://forum.jogamp.org/Get-pixel-Coordinates-tp4036625p4036634.html

elseine wrote
World and Screen coordinates.
You just need to perform the inverse of the multiplication by yourself: world space * camera/view matrix = camera/view space * projection = clip space / position.w = NDC space * glViewPort = window/screen coordinates

or follow Art suggest and google for unproject