Path: chuka.playstation.co.uk!news From: Jim Newsgroups: scee.yaroze.beginners Subject: Re: Shadow Date: Thu, 16 Apr 1998 13:47:35 +0100 Organization: Mobius Codeworks Ltd. Lines: 33 Message-ID: <3535FDE7.5F95C0D8@micronetics.com> References: <3535ED01.DAE0E1D3@creatron.de> NNTP-Posting-Host: 193.132.195.245 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.03 [en] (WinNT; I) Not as an integrate feature of the Yaroze library. Making objects self shadow is quite complex. But you could cast simple shadows with a bit of fiddling. For example if you have an object above a plane, with a light source directly above the object in question, with the intention of casting a shadow onto the plane. You could scale the object along the Y axis so that it is completely flat and then draw it below the object casting the shadow, so it appears on the plane. You would also have to set the colour of the scaled object to black, and possibly make it transparent, so it looks like a shadow. I guess you could also scale the object on the Y axis in your modelling package, and have two independent models, one the shadow and one the original. This would only work if the original object doesn't animate. One step further, I don't see any reason why you couldn't have the shadow as part of the original model. Casting accurate shadows from a moving light source is nontrivial, but there's plenty of books on it. Hope this gets you on your way. Jim Eric Bleinagel wrote: > > Hi, > is there a way to let my 3d-objects throw shadows? > > Eric > (sorry for my bad english...)