Login  Register

Re: GL units and screen coordinates

Posted by Flow on Apr 29, 2011; 1:36pm
URL: https://forum.jogamp.org/GL-units-and-screen-coordinates-tp2826205p2879218.html

Hey again!

I've try your solution, but the problem is that the zooming is the same when my fObjectUnitsPerPixel is equal to -1, 0 or 1, but when it's another value (i.e. 10 or 5), nothing is draw.

I've just remplace fObjectUnitsPerPixel by my zooming value (which is increased or decreased by 1 each time mouse wheel is moved).

Is it normal?

Thanks to you two!