[Bf-funboard] Shadow casting particles

joeedh joeeagar at prodigy.net
Mon Dec 20 14:18:17 CET 2004


Matt Ebb wrote:

> On 20 Dec 2004, at 11:49 PM, joeedh wrote:
>
>> Halos are meant to emulate spherical volumetric space, right?  So 
>> just input to the raytrace the equation for a sphere to do your 
>> shadow calculation.
>
>
> And get a hard circular shadow on a soft fuzzy halo?
>
You could base the shadow influence on, maybe, how close the ray gets to 
the center when it passes through the sphere.  Or simply measure the 
enter and exit points and calculate the total volume penatrated.

Basically, if a ray hit's a halo's sphere, it calculates how much of a 
shadow there is based on how much of the sphere the ray had to travel 
through.  Or something like that.

joeedh


More information about the Bf-funboard mailing list