Login  Register

Re: Non null RenderContext...

Posted by gouessej on Feb 14, 2018; 9:38am
URL: https://forum.jogamp.org/Non-null-RenderContext-tp4038641p4038642.html

Hey

It's not possible because the canvas has to pick a profile during its initialization and different profiles can support different maximum texture widths. A context can even have to be created several times during the life cycle of a canvas. You should get this information when the canvas has been fully initialized. Note that JogAmp's Ardor3D Continuation is able to resize the textures if they are too big.
Julien Gouesse | Personal blog | Website