POV-Ray : Newsgroups : povray.newusers : CSG? : Re: CSG? Server Time
6 Sep 2024 10:11:46 EDT (-0400)
  Re: CSG?  
From: Nathan Kopp
Date: 17 Jul 1998 03:18:00
Message: <35AEFB92.A6767C88@ltu.edu>
Thanks for the file.  I narrowed the bug down to a logical error in the
function Invert_CSG_Intersection().  Inverting an intersection should
lead to a MERGE object, but instead POV converts it to a UNION.  This
is why you get the extra surfaces.

The fix is as simple as changing one line from
  Object->Methods = &CSG_Union_Methods;
into
  Object->Methods = &CSG_Merge_Methods;

I'll send the fix to the POV team right away.

-Nathan Kopp


Post a reply to this message

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