[Papervision3D] Spotlight shadow caster, with source
felarca at yahoo.com
Tue Jun 9 07:20:35 PDT 2009
I wasn't sure if I should start a new thread or reply to the one I'd made
earlier, but in any case, coming out of playing with the image projection, I
developed a shadow casting system onto non-planar surfaces as if coming out
of a spotlight, and I've posted source for it here:
I believe it's stable enough and easy enough for anyone with a basic
familiarity to PV3D to be able to use it "out of the box". It's just a
manager class, and can get shadows projected in your scene with about 4
extra lines of code.
I'm interested in the possibility of people finding ways to optimize the
source to find ways to make it faster, and generally improve on this. I'm
not too schooled at 3d math, so I'm assuming there are simpler/quicker ways
of doing the ray casting and other calculations than how I'm doing it
here... If you post your improvements on the forum or email them to me I'll
be very happy to update the class online with the appropriate props.
And here's a direct link to the manager class:
View this message in context: http://www.nabble.com/Spotlight-shadow-caster%2C-with-source-tp23943860p23943860.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D