POV-Ray : Newsgroups : povray.general : Weird artifacts from two superposed boxes perspective view : Re: Weird artifacts from two superposed boxes perspective view Server Time
30 Jul 2024 12:27:14 EDT (-0400)
  Re: Weird artifacts from two superposed boxes perspective view  
From: Dan Connelly
Date: 15 Jan 2009 11:17:09
Message: <496f6185$1@news.povray.org>
clipka wrote:
> "Mike" <win### [at] hotmailcom> wrote:
>> #declare AlcoholRegion=
>> box { <-1.899, 0.2, -1.899>, <1.899, 3, 1.899>
>> ...
>> #declare HeavyLiquidRegion=
>> box { <-1.899, 3, -1.899>, <1.899, 5, 1.899>
>> ...
> 
> Avoid coincident surfaces - it's a known problem in POV-Ray. Give the boxes a
> tiny bit of spacing in between, or have them overlap a tiny bit.


A cumbersome problem..... when constructing compound objects analytically, to keep
track of displacing surfaces to avoid coincidences tends to really obfuscate the code.
 I suppose a general addition of a random offset would be simple enough, but then the
threshold of coincidence is sufficiently large that this wouldn't be reliable.


Post a reply to this message

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