I was able to get a workaround for this error. This is due to a bug in the Matrox Millenium graphics card drivers (G400, G450, G550 etc) due to which Java3D 1.3 does not find any supported Graphics configurations.
By default, the Z-Buffer in this graphics card is a 12 bit one whereas Java3D requires either a 16 bit or a 32 bit Z-Buffer for creating a non-null graphics configuration. This has been documented under Sun Java3D bug list (Bug ids: 4737013 and 4760874 (Synopsis: Java3D 1.3 OpenGL version on Matrox 450 no supported Graphics Configurations). The earlier version of Java3D runtime (1.1.3 etc) was accepting a 12 bit Z-buffer whereas the current version requires a 32 bit Z-buffer.
The solution: The simplest solution is to enable 32-bit Z-buffering in the Matrox Millenium graphics drivers.
Thanks, Raghav
Florin Herinean wrote:
I'm not sure, but it might be possible when j3d.stereo system property is set to REQUIRED and no stereo hardware support present. That's the only difference between SimpleUniverse.getPreferredConfiguration and the default graphics configuration used by Canvas3D constructor when a null GraphicsConfiguration is passed through.
Cheers,
Florin
-----Urspr�ngliche Nachricht----- Von: Raghavendra R [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 10. Juni 2003 14:52 An: [EMAIL PROTECTED] Betreff: [JAVA3D] SimpleUniverse.getPreferredConfiguration returns NULL
Hi,
I am resending this since i got an "undelivered message from postfix".
Can SimpleUniverse.getPreferredConfiguration return NULL anytime? One of our customers is getting an
" ERROR: Canvas3D constructed with a null GraphicsConfiguration This will cause a NullPointerException in a subsequent release "
when a Canvas3D is constructed passing "SimpleUniverse.getPreferredConfiguration" as the argument.
The Java version is 1.4.1_03 and Java 3D is 1.3.1 running on Windows 2000 Professional.
Thanks, Raghav
=========================================================================== 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".
=========================================================================== 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".
