POV-Ray : Newsgroups : povray.general : How does POV handle IORs? : Re: How does POV handle IORs? Server Time
6 Aug 2024 19:25:15 EDT (-0400)
  Re: How does POV handle IORs?  
From: Ron Parker
Date: 29 Jan 2002 20:50:00
Message: <slrna5ekac.shm.ron.parker@fwi.com>
On Wed, 30 Jan 2002 02:28:31 +0100, Lutz-Peter Hooge wrote:
> In article <slr### [at] fwicom>, ron### [at] povrayorg 
> says...
> 
>> Here's what happens when the water is scaled slightly larger than the inside
>> profile of the glass:
> 
> Ah, thanks very much!
> I'm currently testing it.
> 
> The problem of reflections between the two surfaces than should be 
> solvable by adding a non-reflective interior-texture to the liquid, I 
> hope :-)

You're more likely to have success if you add a non-reflective interior
texture to both the glass and the liquid.

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbf 1}hollow interior{media{emission 3-T}}}#end 
Z(-x-x.2x)camera{location z*-10rotate x*90normal{bumps.02scale.05}}


Post a reply to this message

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