Login  Register

Re: How to correctly clean up Java3D?

Posted by gouessej on Dec 09, 2014; 10:21am
URL: https://forum.jogamp.org/How-to-correctly-clean-up-Java3D-tp4033725p4033730.html

Flo wrote
Ok, I installed 1.6 and tried to run it with one of the old examples, which works fine... Unfortunately, the same behavior is seen with that version:
Please keep the version 1.6.0 anyway. It doesn't mean that we won't try to help you but if you plan to stick on the version 1.5.2, I will give up. It's clearly written "JogAmp's Java3D continuation = Java3D 1.6.0 and later". We don't help the developers who want to use obsolete pieces of software in order to avoid any confusion and because nobody is able to rebuild Java3D 1.5.2.

Flo wrote
Take of the old Java3D examples, remove the JFrame.setVisible(true) and the application will never exit. So, still missing a way to stop/dispose/clean up Java3D here, as it doesn't seem to happen automatically... SimpleUniverse.cleanUp doesn't seem to help there, neither does View().removeAllCanvas3D(), etc.
Please can you indicate precisely what the expected behaviour for a disposed Java3D canvas? What about Java3dThread.finish()?
Julien Gouesse | Personal blog | Website