Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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

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!


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690