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:25:27 EDT (-0400)
  Re: How does POV-Ray handle IORs between two interfacing surfaces?  
From: Christopher James Huff
Date: 2 Apr 2003 23:20:33
Message: <cjameshuff-0FB7E4.23211002042003@netplex.aussie.org>
In article <3E8BA51F.B3457614@comcast.net>,
 Gwen & Emory Stagmer <emo### [at] comcastnet> wrote:

> You're absolutely right, that's the way it works.  It's a well known 
> problem with all ray-tracers, not just POV.  One solution is to make
> single-surface solids with meshs or triangles.  Since these have no
> thickness, they have no second side for the ray to exit against and
> transition from your 'glass' to 'air' before going to the 'water'.  
> It's messy to create and still have all the solids you want, but
> that's the best solution I know of...

That will not work properly. Besides being unnecessarily difficult, your 
solution gives very incorrect results. The exiting surface is necessary 
for POV to account for exiting the shape, if it hits a glass object, it 
considers itself inside that object until it hits it again. The correct 
solution is to just overlap the shapes.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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