POV-Ray : Newsgroups : povray.unofficial.patches : MCPov media question Server Time: 30 Mar 2020 14:25:42 GMT
  MCPov media question (Message 1 to 1 of 1)  
From: triple r
Subject: MCPov media question
Date: 27 Feb 2009 15:15:00
Message: <web.49a802636ee94863a1b7c30@news.povray.org>
Just a quick question:  Is it possible to modify regular scattering media to
work with MCPov?  The true montecarlo approach would be to spontaneously branch
a ray into the original and a deflected ray according to a scattering function,
a mean free path, and a density function.  As in gas dynamics, the mean free
path would be inversely proportional to the density.  This branching could be
done just once or even recursively, as long as a maximum branching limit or
adc_bailout were specified.  Is this unrealistic?  It's certainly slow, but it
seems like this would be very easy to implement.  Perhaps there are better
optimizations?

 - Ricky


Post a reply to this message

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