Note that the smt page is basically where the shadow demo came from. I've been working on some refinements, and more explanations of the code... I'll send it along in a while. Including casting shadows with a quad.
I still want to: - render to texture with a higher resolution shadow map. I've also been collecting references to a whole bunch of shadowing web pages... there's lots of web pages out there. cu, On Thu, Mar 27, 2008 at 4:42 AM, Ian Mallett <[EMAIL PROTECTED]> wrote: > On Wed, Mar 26, 2008 at 12:28 AM, Casey Duncan <[EMAIL PROTECTED]> wrote: > > > > > > > On Mar 25, 2008, at 1:29 PM, Ian Mallett wrote: > > > Cool! Does this work for self-shadowing? > > > > Sorry, no, but you could use the "shadow volumes" technique to achieve > > this: > > > > > > http://www.3ddrome.com/articles/shadowvolumes.php > > > Hmm, The shadow drawing code seems pretty short, which is good. It doesn't > run, which makes it hard to port to Python. I've heard that this particular > method is slow though. > > > > You could also use depth mapping: > > > > http://www.paulsprojects.net/tutorials/smt/smt.html > > > I've been on this exact same page, but I was unable to port it. > > -Casey > Thanks, > Ian >