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.
Hi, Bill Hibbard wrote:
I confess that I did a call to getRoot(), as I was experimenting with adding other Java3D object types to the display. What I found annoying is that the light only changed after clicked on the display. So the problem must be with my code.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.
Thanks for the answer. Cheers, Ugo
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?
-- l a t / l o n GmbH Aennchenstrasse 19 53177 Bonn, Germany phone ++49 +228 184960 fax ++49 +228 1849629 http://www.lat-lon.de http://www.deegree.org
visad
archives: