POV-Ray : Newsgroups : povray.unofficial.patches : Material{} in mesh2 ? : Re: Material{} in mesh2 ? Server Time
2 Sep 2024 02:15:00 EDT (-0400)
  Re: Material{} in mesh2 ?  
From: Ron Parker
Date: 3 Jan 2001 19:39:16
Message: <slrn957hho.bhb.ron.parker@fwi.com>
On Wed, 03 Jan 2001 19:38:51 -0500, Chris Huff wrote:
>In article <slr### [at] fwicom>, ron### [at] povrayorg 
>wrote:
>
>> Not as easy as you might think.  The way refraction works is very 
>> dependent on all faces of a closed object having the same interior.  
>> Remove that property, and you get to rewrite huge parts of the 
>> rendering engine.
>
>I was actually thinking more of media, fade_color, etc...faces with 
>different iors would work the same way it does now with a union of 
>triangles, each with their own interiors.

i.e. not at all.  Or at least not in any physically realistic way.

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.

-- 
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.