Login  Register

Re: Managing dynamic textures

Posted by morello on Jun 05, 2011; 6:03pm
URL: https://forum.jogamp.org/Managing-dynamic-textures-tp3020910p3027023.html

I don't remember exactly where I downloaded JOGL, but the utils are under the com.sun package rather than com.jogamp, which is why I couldn't find them.

TextureRenderer works well, thanks.

The main problem I was having was a strange bug with scaling, I couldn't get the textured rectangle to exactly fill the screen (either with my code or TextureRenderer). The problem was that I was setting the frustrum size to match the aspect ratio of the window, which made my prespective 3D objects look OK, but created problems in orthographic mode.

Fixed now, anyway.