NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: =?iso-8859-1?Q?R=E9f=2E_=3A_Re=3A_Ambiant_Light_going_off_on_animation?

  • To: Laurent BEIGBEDER <lbeigbed@xxxxxx>
  • Subject: Re: =?iso-8859-1?Q?R=E9f=2E_=3A_Re=3A_Ambiant_Light_going_off_on_animation?
  • From: Bill Hibbard <billh@xxxxxxxxxxxxx>
  • Date: Fri, 2 Sep 2005 11:42:33 -0500 (CDT)
Hi Laurent,

VisAD uses:

  BoundingSphere(new Point3d(0.0,0.0,0.0), 2000000.0);

Perhaps this is too small for your application. If you
are changing the BoundingSphere, please try changing it
to Double.MAX_VALUE. Does this make the problem go
away? If so, we might make this the default in VisAD.

We might try Double.POSITIVE_INFINITY, but I'd worry
that some Java3D implementations might not like that.

Thank you,
Bill

On Fri, 2 Sep 2005, Laurent BEIGBEDER wrote:

> It seems to be strange:
>
> If the view is far from a shape, the ambient light reflexion is OK.
> If the view is near the shape(zoom), the ambiant light is shown only when
> another shape approaches.
> Changing the boundingSphere radius change this behavior
> I tried directx and opengl runtime, it did not change anything.
>
> It might be a weird behavior like u said!


  • 2005 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: