Hi,

   When using

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

in some JDK/Graphics card combination you will get a frame buffer
without double buffer support.
This is because the GraphicsConfigTemplate return is not compatible
with Canvas3D if we initialze Canvas3D in the above way.

A correct way is to do the same thing that J3D does for a "null"
configuration:

   GraphicsConfigTemplate3D template = new GraphicsConfigTemplate3D();
        cfg = GraphicsEnvironment.getLocalGraphicsEnvironment().
                getDefaultScreenDevice().getBestConfiguration(template);

This should fix the flickering without the null graphics configuration warning
message.


- Kelvin

-----------
Java 3D Team
Sun Microsystems Inc.

>X-Unix-From: [EMAIL PROTECTED]  Wed May 17 04:52:06 2000
>MIME-Version: 1.0
>Date: Wed, 17 May 2000 19:41:47 +0800
>From: #LAW YEE WEI# <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Java3D 1.2 and Matrox Millennium G400
>To: [EMAIL PROTECTED]
>
>The newly released Java3D 1.2 is producing an intolerable amount of flicker
>on my Matrox Millennium G400, although Java3D 1.1.2 is fine. I have been
>trying to find an answer to this problem on my own, including reducing the
>color depth of my monitor to 256 colors, and trying different combinations
>of JDK and Java3D :
>
>JDK 1.2.2-001   J3D 1.1.2       OK
>JDK 1.2.2-001     J3D 1.1.3   Crashes
>JDK 1.2.2-001     J3D 1.2     Too much flicker
>JDK 1.3           J3D 1.1.2   Too much flicker
>JDK 1.3           J3D 1.1.3   Too much flicker
>JDK 1.3           J3D 1.2     Too much flicker
>
>OS = Windows NT 4.0 (Service Pack 5)
>Driver version = 4.34.015
>
>I believe Matrox Millennium G400 is quite widely used. I would appreciate
>advice from anyone who has solved similar problems,  thank you in advance.
>
>
>Best regards,
>Law Yee Wei
>Center of Advanced Media Technology
>Nanyang Technological University
>Tel: +65 790 4201
>
>===========================================================================
>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".

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