Login  Register

Re: How to correctly clean up Java3D?

Posted by runiter on Jan 01, 2015; 6:44pm
URL: https://forum.jogamp.org/How-to-correctly-clean-up-Java3D-tp4033725p4033819.html

Flo wrote
Another minor question: Whenever I start the OffScreenTest from the old J3D examples (with J3D 1.6, of course), with JFrame.setVisible(true) removed, some Java windows pop up for a moment, immediately closing again. Is this expected? I would prefer J3D not opening any windows at all for my purposes (as I need to render a 3D image to a file, but not on the screen).
To prevent this, simply remove any calls to the following method in your code:

Canvas3D.queryProperties();

Saeid Nourian, Ph.D. Eng. | Graphing Calculator 3D