POV-Ray : Newsgroups : povray.newusers : CSG? : Re: CSG? Server Time
6 Sep 2024 10:11:46 EDT (-0400)
  Re: CSG?  
From: Alain CULOS
Date: 19 Jul 1998 07:57:11
Message: <35B14A97.A638CE73@bigfoot.com>
Nathan Kopp wrote:

> Thanks for the file.

You're welcome.

> 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.

That was fast !Good job.


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

I'll bear that in mind, just in case.

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

Great.Talk again,
Al.


--
ANTI SPAM / ANTI ARROSAGE COMMERCIAL :

To answer me, please take out the Z from my address.


Post a reply to this message

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