POV-Ray : Newsgroups : povray.beta-test : Difference issue : Re: Difference issue Server Time
17 May 2024 05:34:40 EDT (-0400)
  Re: Difference issue  
From: clipka
Date: 3 Jul 2012 17:51:15
Message: <4ff36953@news.povray.org>
Am 03.07.2012 17:45, schrieb jotito:

> This bug is not present in version 3.6, I just rendered it in 3.6.2.

I did the same, but with a different result. Using version 
3.6.2.msvc9.win64 (on Windows 7), the scene you posted (minus the 
#version statement) /does/ exhibit the very same issues as when using 
version 3.7 RC6.


The underlying problem is that differences are internally modeled as the 
intersection of the first object and the inverted remaining object(s). 
An inverted CSG union in turn is modeled as a CSG intersection of its 
inverted members. And intersections, like merges, are inherently 
susceptible to coincident-surface problems.

While at first glance it might seem that the problem could be solved by 
representing an inverted CSG union as a CSG union with its inside test 
result inverted, that approach doesn't quite cut it; you'd actually need 
to use a CSG merge there rather than a union, and as mentioned before 
merges are just as problematic as intersections. (As a matter of fact, 
at its core the intersection /is/ implemented pretty much like a merge 
with inverted inside test result).


Post a reply to this message

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