Login  Register

Re: Resize problem

Posted by runiter on Jun 12, 2015; 3:08pm
URL: https://forum.jogamp.org/Resize-problem-tp4034612p4034690.html

I tried switching to NEWT instead of JoglAwt to see if that works better in Mac.

Again it worked fine in Windows, but in Mac OS X, the problem got even worse because now it doesn't render anything at all.

This is more an Ardor3D question, but am I doing it right when creating NEWT canvas this way in Ardor3D?

final DisplaySettings settings = new DisplaySettings(400, 300, 24, 0, 0, 24, 0, 4, false, false);
final JoglNewtAwtCanvas canvas = new JoglNewtAwtCanvas(settings, new JoglCanvasRenderer(this));
TextureRendererFactory.INSTANCE.setProvider(new JoglTextureRendererProvider());
mouseWrapper = new JoglNewtMouseWrapper(canvas, new JoglNewtMouseManager(canvas));
keyboardWrapper = new JoglNewtKeyboardWrapper(canvas);
focusWrapper = new JoglNewtFocusWrapper(canvas);

The above code used to work fine in Mac OS X. I wonder if the API has changed since JOGL tookover Ardor3D.
Saeid Nourian, Ph.D. Eng. | Graphing Calculator 3D