POV-Ray : Newsgroups : povray.binaries.images : Just tracing some rays Server Time
30 Jul 2024 14:16:28 EDT (-0400)
  Just tracing some rays (Message 1 to 1 of 1)  
From: Samuel Benge
Subject: Just tracing some rays
Date: 9 Apr 2011 19:35:00
Message: <web.4da0eca3ca0bdc53312f6b340@news.povray.org>
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


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.