Greetings,
I figured it was high time to discover how to bounce rays off of objects. A
method involving trace() and VProject_Axis() seemed like the best way to do
this. To make sure my math (for reflecting rays only) was solid, I thought I
would try using it for reflected caustics...
The left image shows my macro in action. I didn't use any real values to
determine the loss of intensity or anything. To the right is POV's native
implementation. There is /definitely/ no comparison: POV wins by a landslide :D
The idea was inspired primarily by C. Lipka's post, "Just a bit of random ray
tracing..."
Lots of tiny shadowless lights (10,614!) were used. I had to specify both a
reflecting object and a collecting object for this to work. Even though the
macro
can handle any number of bounces, I only allowed one to occur.
As a photon renderer it's not so great, but I needed the challenge (even though
I
still have other unsolved puzzles to deal with) :)
~Sam
Post a reply to this message
Attachments:
Download 'raytracing.jpg' (135 KB)
Preview of image 'raytracing.jpg'
![raytracing.jpg](/povray.binaries.images/attachment/%3Cweb.4da0eca3ca0bdc53312f6b340%40news.povray.org%3E/raytracing.jpg?ttop=443866&toff=2000&preview=1)
|