Re: Crash on Mac OS X (jogl 2.1)
Posted by
gouessej on
Oct 18, 2013; 8:04am
URL: https://forum.jogamp.org/Crash-on-Mac-OS-X-jogl-2-1-tp4030273p4030300.html
Hi
atchijov wrote
I will try to isolate this issue into small test case, but I would not be able to do it until first week of Nov.
Meanwhile, I wonder if this could be an issue:
In the app, Canvas3D object gets created once (at the app startup). Only Universe gets re-created each time we visit the tab with Canvas3D. Is it "legal" way to deal with Canvas3D? (Our app is using Canvas3D in other place and we do not have any issues there. but in that place the Canvas3D is getting recreated each time we need to display it).
Sorry if I am asking silly questions. I don't have much experience with OpenGL/JOGL.
Cheers,
Andrei
There is no silly question, we're here to help you. When the canvas becomes invisible, maybe the OpenGL context gets destroyed, this is only a supposition.
atchijov wrote
Is there another version of Java3D? The one which does support Mac OS X 10.8?
Java3D 1.5.2 has been abandoned by Sun/Oracle. You're currently using Java3D 1.6 pre8 which is maintained by the JogAmp community and only this one supports Mac OS X 10.8. I'm aware of the remaining problems with Canvas3D but replacing it by JCanvas3D is just a workaround, it isn't a real solution except in cases which absolutely require a Java3D Swing canvas.