=?iso-8859-1?Q?R=E9f=2E_=3A_Re=3A_R=E9f=2E_=3A_Re=3A_Ambiant_Light_going? off on animation

  • To: visad@xxxxxxxxxxxxxxxx
  • Subject: =?iso-8859-1?Q?R=E9f=2E_=3A_Re=3A_R=E9f=2E_=3A_Re=3A_Ambiant_Light_going? off on animation
  • From: "Laurent BEIGBEDER" <lbeigbed@xxxxxx>
  • Date: Mon, 5 Sep 2005 18:12:07 +0200
  • Sensitivity:
Thanks for your this solution but changing bounding sphere size change
things randomly.
Setting size to 10d or Double.MAX_VALUE changes same behavior.

I'll do with it. I changed gridded3DSet with colored LineStripArray, that
solved most of my "light problems".
For shapes, I used emissive color to simulate ambient Light.
I still use Visad for scales, animation and 2D renderings.


GFI Informatique
Toulouse - FRANCE

Bill Hibbard <billh@xxxxxxxxxxxxx>@unidata.ucar.edu le 02/09/2005 18:42:33

Veuillez répondre à owner-visad@xxxxxxxxxxxxxxxx

Envoyé par :      owner-visad@xxxxxxxxxxxxxxxx

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

Objet :     Re: Réf. : Re: 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,

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: