POV-Ray : Newsgroups : povray.advanced-users : How does POV-Ray handle IORs between two interfacing surfaces? : Re: How does POV-Ray handle IORs between two interfacing surfaces? Server Time
29 Jul 2024 02:35:28 EDT (-0400)
  Re: How does POV-Ray handle IORs between two interfacing surfaces?  
From: Warp
Date: 3 Apr 2003 05:26:20
Message: <3e8c0c4c@news.povray.org>
Retsam <nomail@nomail> wrote:
> Since a mesh object has no inside, how can I make it so that
> light travelling the other way will enter "glass" when it exits the water?

  IOR calculations don't need solid objects.
  You can perfectly make a glass object which is actually a mesh or made of
bicubic patches.
  Naturally the IOR calculation routine expects the surface to be well-behaved
and closed, but you shouldn't expect a non-closed mesh to work ok anyways.

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

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