> MIME-Version: 1.0
> Date: Thu, 31 May 2001 18:41:42 -0700
> From: Young Hyun <[EMAIL PROTECTED]>
> Subject: [JAVA3D] setFog(null) throws NullPointerException
> To: [EMAIL PROTECTED]
>
> In immediate mode, I'm getting a NullPointerException when doing
> GraphicsContext3D.setFog(null).  According to the documentation, a null
> parameter is legal and should disable any fog.  Is this a bug?  I'm using
> Java 1.3.0 and Java3D 1.2 (not 1.2.1) on Solaris 5.7.
>
> See the attached program for a demonstration of this problem.  When run,
> it first displays a white X, with no fog.  Then successive clicks in the
> window enable and disable green-colored fog.
>
> If this is not a bug, is there some official way of disabling fog, short
> of creating a new Canvas3D?
>
>  --Young

This looks like a bug in Java 3D.  Bug number 4465145 has been
filed for investigation.

Dan Petersen
Java 3D Team
Sun Microsystems

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