For more information on lights, shadows, why Java 3D does not do them,
how you can do them; check out Chapter 6 of the Java 3D API Tutorial.
(see the bottom of this message).

If the application is to be the sun and a house, creating shadows is
not the way to go.  You should consider Light Scoping (not bounds)
to control the influence of lights.  This is also explained in 
Chapter 6.

Bounds would be difficult, if not impossible to use because it
limits a light's influence based on geometric position.  The 
interior of the house (not lit) is likely to be positioned 
close to the house exterior (lit) and therefore finding a 
bounds that works is very hard.

Scoping allows you to limit the influence of lights based on
the scene graph.

good luck,
Dennis


Frederic Gillet wrote:
> 
> If the walls stop the light it really means they cast shadows, which is
> not
> implemented in Java3D ...
> You might use bounds to make sure the effects of the sun stops inside the
> use, but
> its cumbersome.
> 
> Michael Gut wrote:
> 
> > How can I avoid that a light source (point light = sun)
> > shines throug the objects (e.g. walls of a house) ??
> >

-- 
-----
Dennis J Bouvier

Find the Java 3D Tutorial "Getting Started with the Java 3D API" at
http://sun.com/desktop/java3d/collateral
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to