At 09:57 AM 2/15/99 -0500, Kovalan Muniandy wrote:
>What Justin Couch wrote is very true. However, you could perform a drop
>shadow (on a flat surface) rather easily by making a copy of the object,
>squashing it (scaling it on y) to make the copied object flat, and
>translate the flat object to the surface.
Sorry to interpose but what you'll do if the squashed object exceed the
bounds of the other object, which will certainly often occurs? You must
remove parts from the copy to make sure we don't have floating shadows.
Second thing, why do you say scaling on y, shouldn't this depends on the
light position and then, you must flatten your object from this point of
view? I think itsn't too simple to have shadows in j3d (except maybe in a
particular scene which isn't too useful) but if someone has do it, I'm
really interested!
Bye!
Stephane
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/