Reply – Re: java3d - capture screenshot or rendered image?
Your Name
Subject
Message
or Cancel
In Reply To
Re: java3d - capture screenshot or rendered image?
— by LordSmoke LordSmoke
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.