>From the description of the problem, it sounds like you simply want your
light to have a bigger range.  You just need to make the radius of the
bounding sphere bigger:

DirectionalLight light = new DirectionalLight(true,new Color3f(1,1,1));
light.setInfluencingBounds(new BoundingSphere(new Point3d(5.0,5.0,-5.0),
100.0));

Here, I set the light-color to white, the "true" parameter means that the
light is on, and I set up my bounding sphere to be centered at point
(5,5,-5) and have a radius of 100.  Note, even a smaller radius may be good
for your purposes.  Just play with it a little.
Paraskevas

--- Joachim Diepstraten <[EMAIL PROTECTED]>
wrote:
> Ehlo Tina
>
> >         I have a directional light in the scene and i also included
> >         a pointlight under the ViewingTransform (vpTrans) so I thought
> >         that when I navigate I will have light around me, but then
> >         I find that even if i move a little away from the objects in
> >         my scene they r really dark.
> >
> >         Is there anyway that I can create sunlight affect??
> Hmm what do you mean by sunlight effect? I think you mean something like
> an ambient term? If yes just set it.
>
> EOF,
>  J.D.
>
> --
> Realtime Raytracer in JAVA
> (http://www.antiflash.net/raytrace)
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email
> to
> [EMAIL PROTECTED] and include in the body of the message "help".


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to