Hi J.D.,

   Java3D will pass the value down to the driver "as-is"
in v1.3 for both OpenGL and DirectX version so the result
is up the the driver. I believe current nvidia opengl
driver will clamp it but directx will not.

Note that in v1.2.1 DirectX version the color is clamp
to [0,1] when pass down to the native code, but this
checking is removed in v1.3 Directx version for
performance reason.

Thanks.

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

>Delivered-To: [EMAIL PROTECTED]
>MIME-Version: 1.0
>Date: Mon, 14 Jan 2002 15:46:46 +0100
>From: Joachim Diepstraten <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Color4f clamp? no clamp?
>To: [EMAIL PROTECTED]
>
>Hi
>
>What's the right behaviour for Color4f when someone sets values which are
>over 1.0?
>
>I've seen that OpenGL and DirectX implementation behave different.
>OpenGL clamps while DirectX overflows
>
>EOF,
> J.D.
>
>--
>Explore SRT with the help of Java3D
>(http://wwwvis.informatik.uni-stuttgart.de/relativity/minkowski)
>(http://www.antiflash.net/java3d/relativity (mirror)
>
>===========================================================================
>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