POV-Ray : Newsgroups : povray.advanced-users : clipped_by, complex unions and bad csg results : Re: clipped_by, complex unions and bad csg results Server Time
8 Jul 2024 20:07:31 EDT (-0400)
  Re: clipped_by, complex unions and bad csg results  
From: Alain
Date: 11 Oct 2007 23:03:58
Message: <470ee41e@news.povray.org>
Samuel Benge nous apporta ses lumieres en ce 2007/10/11 18:05:
> Greetings,
> 
> I've been making an object library which allows me to make beveled, 
> filleted and chamfered objects, to be used for stone pillars and the 
> like. Not wanting to deal with slow csg operations, I opted to make 
> everything from basic shapes with the clipped_by modifier applied.
> 
> It all works very well, since the (hollow) surfaces meet up with each 
> other if used properly. To see how well, I tested the closed objects 
> with interior_texture, transparency, media, refraction, and interior 
> attenuation. All these features work as they should, and the render time 
> is relatively fast, as expected.
> 
> The problems come when I try to apply traditional csg techniques to my 
> objects (difference, merge, intersection). Strange artifacts appear, 
> such as transparent planes, partial csg results, and other strange things.
> 
> I'd rather not post my code here, as the definition for each object is 
> rather large.
> 
> Has anyone else encountered strange results when trying to difference, 
> intersect or merge unions of clipped_by objects? Was there a workaround? 
> I'm beginning to think there isn't a solution....
> 
> Sam
It could be a bounding problem.
Have you tried adding: bounded_by { clipped_by }? This will add a manual 
bounding conforming to the clipping object.

-- 
Alain
-------------------------------------------------
Unitarianism: Come let us reason together about this shit.


Post a reply to this message

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