When using the recommended method of initializing a Canvas3D object(rec
from the list I believe):

1               canvas = new 
Canvas3D(GraphicsEnvironment.getLocalGraphicsEnvironment().
                        getDefaultScreenDevice().getDefaultConfiguration());

I get a canvas without double buffering(which causes massive flickering).
 I'm using JDK 1.3rc3, Java3D 1.2beta2.  This happens with both an
Intense3D 3510 and a GeForce

If I use either of the following methods then it works fine:

2               GraphicsConfigTemplate3D template = new GraphicsConfigTemplate3D();
                template.setDoubleBuffer(template.REQUIRED);
                canvas = new 
Canvas3D(GraphicsEnvironment.getLocalGraphicsEnvironment().
                        getDefaultScreenDevice().getBestConfiguration(template));

                or

3               canvas = new Canvas3D(null);

My understanding of the way a default config was created was that it had
double buffering enabled.  Can't decide if this is a bug or not, but
thought I'd mention it.

As a side note this is how the Vrml97Player does it(method 1) so it looks
really bad.  Need to fix that after we decide on the correct fix.

-Alan Hudson

===========================================================================
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".

Reply via email to