– Re: java3d - capture screenshot or rendered image?
In Reply To
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.