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

Re: Ambiant Light going off on animation

Hi Laurent,

The AmbientLight is constructed in the DisplayRenderer
and added as a child of the root BranchGroup of the
scene graph. There is no code in VisAD to delete or
modify the AmbientLight. It is possible for appliation
code to call the getRoot() method to get a reference
to the root, then to delete or modify the AmbientLight.
I sincerely doubt that your code or Ugo's does this, so
this may be some weird behavior of Java3D in Applets.
I can't see any connection to mouse clicks. If you can
come up with any more evidence about what is going on,
I will look into it.

Cheers,
Bill

On Fri, 2 Sep 2005, Laurent BEIGBEDER wrote:

> I have a strange problem on my 3D applet: After a few animation step,
> ambiant lights are disabled.
>
> Does anyone had this problem too and know how to resolve it?


 
 
  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