Re: java3d - capture screenshot or rendered image?
Posted by LordSmoke on Feb 03, 2015; 11:40am
URL: https://forum.jogamp.org/java3d-capture-screenshot-or-rendered-image-tp4033984p4033993.html
Thanks, Julien.
I wasn't even sure this old code was still relevant.
If I comment out the renderOffScreenBuffer(); line a blank image of appropriate size is produced. So, it's just that line.
The bImage, buffer, and getOffScreenBuffer.getImage() have the specified, non-zero width and height. That is the same as the onscreen window, whatever that is - 1280x946 in this default case.