• To: visad@xxxxxxxxxxxxxxxx
  • Subject: =?iso-8859-1?Q?R=E9f=2E_=3A_Re=3A_Ambiant_Light_going_off_on_animation?
  • From: "Laurent BEIGBEDER" <lbeigbed@xxxxxx>
  • Date: Fri, 2 Sep 2005 18:03:28 +0200
  • Sensitivity:

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 wh
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!

(See attached file: earth_light.PNG)(See attached file: earth_no_light.


GFI Informatique
Toulouse - France

Bill Hibbard <billh@xxxxxxxxxxxxx> le 02/09/2005 15:38:57

Veuillez répondre à billh@xxxxxxxxxxxxx

Pour : Laurent BEIGBEDER <lbeigbed@xxxxxx>
cc :   visad@xxxxxxxxxxxxxxxx

Objet :     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.


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?

Attachment: earth_light.PNG
Description: Binary data

Attachment: earth_no_light.PNG
Description: Binary data

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