POV-Ray : Newsgroups : povray.unofficial.patches : Material{} in mesh2 ? Server Time
2 Sep 2024 02:20:48 EDT (-0400)
  Material{} in mesh2 ? (Message 31 to 32 of 32)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Geoff Wedig
Subject: Re: Material{} in mesh2 ?
Date: 4 Jan 2001 12:18:41
Message: <3a54b071@news.povray.org>
Ron Parker <ron### [at] povrayorg> wrote:

> On 4 Jan 2001 08:33:56 -0500, Geoff Wedig wrote:
>>> However, this doesn't change the fact that changing the way media is 
>>> calculated for triangles with different interiors would break existing 
>>> functionality.
>>
>>I don't see that it'd *break* functionality.  If there's a constant ior,
>>then everything should be as before.  I do see a number of big problems for
>>it, though (which I've posted elsewhere)

> You don't need a constant IOR either.  The same example I gave for media,
> that of a cube inside another cube, could apply to different IOR as well.
> The point is, POV doesn't keep track of what *objects* it is in, it keeps
> track of what *interiors* it is in.  Refraction, media, attenuation, and
> other interior effects are calculated when the ray hits a given interior
> again, without regard for whether it's still in the object.  (This isn't
> exactly true, in that if the interiors don't "pair" right it will get
> even more hopelessly confused, but it's close enough for our purposes.)
> If you change the way POV acts when it encounters a surface with a different
> interior from the last one it hit, you invalidate this method of bookkeeping.

> If you invalidate this method of bookkeeping, you destroy the existing 
> property that allows well-formed unions of polygons, triangles, discs, 
> bezier patches, open cylinders and other surfaces of revolution, and other
> patch objects to be treated as solid for the purposes of refraction, media,
> attenuation, and so on.

You may be right, though it does bring up an interesting question.  If I do
a CSG intersection between two objects with different interiors.  What does
it do for media and ior and the like?  It would seem that that you could CSG
up any mesh you wanted, though it'd be painful to do that way, with each
surface with the desired interiors, but I'm not certain about the results. 
So what happens?

Geoff


Post a reply to this message

From: Ron Parker
Subject: Re: Material{} in mesh2 ?
Date: 4 Jan 2001 13:29:08
Message: <slrn959g7m.c27.ron.parker@fwi.com>
On 4 Jan 2001 12:18:41 -0500, Geoff Wedig wrote:
>You may be right, though it does bring up an interesting question.  If I do
>a CSG intersection between two objects with different interiors.  What does
>it do for media and ior and the like?  It would seem that that you could CSG
>up any mesh you wanted, though it'd be painful to do that way, with each
>surface with the desired interiors, but I'm not certain about the results. 
>So what happens?

The same thing that happens when you union together a bunch of triangles 
that have different interiors: it does something that's not representative
of any physical property.

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


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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