Screenshots were broken in the JOGL CanvasPeerImpl. I fixed this. And just as Goliat suggested, I implemented a mechanism to let the BufferedImage generation and the file writing run in a separate thread to safe time. Works perfectly.
I set the getSnapshot methods in View and CanvasPeer(Impl) to deprecated and added createScreenshot(File) methods to CanvasPeer(Impl) and Canvas3D, that work partly asynchronously. So they’re accessable from Canvas3D, where they belong to. I checked the Java3D API and couldn’t find any method for screenshot generation. Certainly there is, but they’re not in View. So the compatiblity to Java3D is not decreased.
Any objections?
Marvin