|
|
In article <slr### [at] fwicom>, ron### [at] povrayorg
wrote:
> Media has the same issues as refraction, actually: it only gets
> calculated when you hit another face that points to the same
> interior. If you never do, media never happens.
Not quite as bad as the ior problem...you could take the media of the
faces at each end of the ray segment being sampled, and do something
like interpolate between the two while sampling, or compute both and
average their results, etc...with ior, you would have to predict the
path the ray would take, tracing curved rays...not fun.
But how useful would this be? For one thing, it would only work with
well-behaved meshes, and it wouldn't correspond to any physical
property, because there is no "right" way to do it...a better solution
would probably be to just note in the documentation that individual
triangles in a mesh can't have interiors. :-)
--
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
<><
Post a reply to this message
|
|