Bug in shadows rendering

It appears as if once the shadow bin takes a Point3f reflecting a light location, it fails to update it as the latter moves around the scene…
/me attempts to fix it

JCD, when fixed, pls post us a patch! Thanks In Advance! Good Luck!

Yuri

Yay * 1e100;
I fixed it :wink:

http://www.users.xith.org/JavaCoolDude/Pictures/screenshot0.jpg

/me cries
/me cries a bit again
Sigh, it sucks to be a full-time Junior at University as you have tons of homework, assignments and other sh|t to do as well in order to boost your GPA and hopefully graduate.
The reason why I’m bringing this up is few minutes ago when I fixed the shadows bug, it hit me straight in the face the current implementation is somehow “terrible” since whenver the camera gets into the shadow volumes all hell breaks loose…
I’m attempted at adding bits to the code for a z-fail test to make them shadows as robust as possible, BUT, that means that I have to neglect my homework for tomorrow…
:’(

neglect it dude neglect it :slight_smile: LOL… u be good and nock that homework out. we can wait…

what about soft shadows? and maybe an option to change the shadows colour per light… wooo :slight_smile:

JCD:

I wrote the shadow code and I know I did not handle the “shadow in view” problem, mostly because I could never figure it out! According to the papers I have read you need to clip the volume to the view, stitch the clipped edges and render a “cap”.

I would just love someone to fix it!

bump