Alessandro Borges wrote:
Thanks, Kelvin.
So if I use a GraphicsConfigTemplate3D with depthBuffer set as zero, all
those video cards with wrongly reported depth buffer (Matrox, Kyro, etc)
will works as well the video cards which reports the correctly values?
It depends on the driver, passing depth buffer size 0 may cause some driver
return lower than expected depth buffer size or fail.
I mean, a template (GraphicsConfigTemplate3D) depthBuffer setting is the
minimum, not "best" or the "default" configuration, am I right?
Yes, it is the minimum. Keep in mind that the values (R/G/B, depth size)
are straightly pass down to OGL API ChoosePixelFormat(). It is up to
the driver decide which pixel format to return. The call will return
the best match, not the minimum, that's why Java3D native code
have to call OGL API DescribePixelFormat() to verify that
the minimum requirement is met or null is return.
- Kelvin
----------------
Java 3Ds 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".