Reply – Re: JOGL on Mojave, Mac OS 10.14
Your Name
Subject
Message
or Cancel
In Reply To
Re: JOGL on Mojave, Mac OS 10.14
— by bjoern bjoern
Hi Julien,
the same here - yesterday I updated to Mojave (10.14.1) and was very excited about the new Mac OS X version, until I tested our MembraneEditor 8-/

Yeah, and I gave now Java3D 1.7.0_pre a try, but with the same result:

2018-11-20 15:45:07.610 java[11053:268633] WARNING: NSWindow drag regions should only be invalidated on the Main Thread! This will throw an exception in the future. Called from (
        0   AppKit                              0x00007fff42af1824 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 386
        1   AppKit                              0x00007fff42aeebd0 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1488
        2   AppKit                              0x00007fff42aee5fa -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45
        3   libnativewindow_macosx.jnilib       0x000000010da733fe Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
        4   ???                                 0x000000010e80f9f4 0x0 + 4538300916
)

Java3D version: 1.7.0_pre1

The Mac OS X version does not support Stereo View by now.
org.jogamp.java3d.IllegalRenderingStateException: Unable to make new context current after 5tries
        at org.jogamp.java3d.JoglPipeline.createNewContext(JoglPipeline.java:6429)
        at org.jogamp.java3d.Canvas3D.createNewContext(Canvas3D.java:4602)
        at org.jogamp.java3d.Canvas3D.createNewContext(Canvas3D.java:2376)
        at org.jogamp.java3d.Renderer.doWork(Renderer.java:881)
        at org.jogamp.java3d.J3dThread.run(J3dThread.java:271)

DefaultRenderingErrorListener.errorOccurred:
CONTEXT_CREATION_ERROR: Renderer: Error creating Canvas3D graphics context
graphicsDevice = sun.awt.CGraphicsDevice@2532f870
canvas = org.cellmicrocosmos.cm2.functionality3d.Membrane3D$1[canvas0,0,0,24x-149]



I noticed, updating from Mac OS X 10.10 that Apple drastically improved the rendering speed, so these improvements come obviously with some drawbacks.