POV-Ray : Newsgroups : povray.unofficial.patches : Material{} in mesh2 ? : Re: Material{} in mesh2 ? Server Time
2 Sep 2024 00:15:34 EDT (-0400)
  Re: Material{} in mesh2 ?  
From: Ron Parker
Date: 4 Jan 2001 08:19:07
Message: <slrn958u2c.bsi.ron.parker@fwi.com>
On 4 Jan 2001 08:06:39 -0500, Geoff Wedig wrote:
>Is this correct?  For some reason, I don't think it is, or at least it's
>over-simplified.  I've had two media objects, one within the other, and
>gotten the media of both in the shared region.  It seems that media is only
>calcuated at the bounds of the actual object.  Another object inside the
>media object doesn't affect this, quite.  But if the object inside is solid,
>then the media should stop there, of course.  If it's totally transparent,
>we see the media of the surrounding object.  If it's partially transparent,
>the media is affected by that surface, but continues the computation for the
>interior of the inside object.  Have I got that right?  If so, then I don't
>see the problem with intersecting objects.

You're right, my explanation was oversimplified, to the extent that media 
for both objects is calculated inside the inside object.  But the media 
in the larger enclosing object is actually calculated on three paths: First,
on the path from the outer object to the inner object.  Then, on the path
inside the inner object.  Finally, on the path from the inner object back to
the face of the outer object.  

However, this doesn't change the fact that changing the way media is 
calculated for triangles with different interiors would break existing 
functionality.

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

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