You the man Kelvin! Basically the format in BufferedImage and ImageComponent2D was set to handle Alpha.
Can't do this with the jpeg encoder apparently.
Took that out, and there's my image.
Thanks.
I noticed the size of the canvas was set to fullscreen (desktop settings). Why is this? At first I was expecting to set my offscreen canvas the size of my canvas in my panel, but then I saw the examples in the demos using the size of the onscreen canvas( which happens to be fullscreen ).
In SimpleOffScreenTest only the screen size of Canvas is set
Screen3D scr = c.getScreen3D(); scr.setSize(new Dimension(1280, 1024));
The size of Canvas render is determine by the buffer size pass in to Canvas3D. c.setOffScreenBuffer(buffer);
- Kelvin ---------- Java 3D Team Sun Microsystems Inc.
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
