Login  Register

Re: Get pixel Coordinates

Posted by Art on Apr 19, 2016; 5:21pm
URL: https://forum.jogamp.org/Get-pixel-Coordinates-tp4036625p4036626.html

You can use project to translate scene coordinates to view coordinates (world to screen).  I thought I had project in a utility. But I only found the unproject ones. Which goes from view to scene (screen to world).

https://github.com/pnnl/svf/blob/master/svf/src/main/java/gov/pnnl/svf/util/SceneCoordsHelper.java