POV-Ray : Newsgroups : povray.bugreports : Bug in CSG difference with clipped_by : Re: Bug in CSG difference with clipped_by Server Time
23 Jun 2024 16:02:59 EDT (-0400)
  Re: Bug in CSG difference with clipped_by  
From: Ron Parker
Date: 27 Apr 1999 14:25:13
Message: <3725f2f9.0@news.povray.org>
On 27 Apr 1999 13:00:06 -0500, Nieminen Mika <war### [at] cctutfi> wrote:
>Ron Parker <par### [at] my-dejanewscom> wrote:
>: This looks like a bug.
>
>  It may look like a bug, but certainly this is exactly how it works. It
>may be an unwanted behaviour, but it's not a bug (ie. a programming mistake).

Bugs aren't just programming mistakes.  Sometimes they're design mistakes.
This looks like one of those times.  After all, it is reasonable to do
what I did, expecting the results I expected.  The results I got are neither
what I expected (the red box) nor what I perhaps would have expected upon 
further contemplation (the blue box).

>  Perhaps povray should use a union-like clipped_by when it automatically
>inverses a clipped object (and of course it should inverse the clipping
>object too). But is this the wanted behaviour?

This is exactly what would happen if Inside_Object returned the inverse
flag for the parent instead of FALSE.  It seems like it wouldn't always 
be the desired behavior, but I'm hard-pressed to find an example of when
the current behavior would ever be the desired behavior.


Post a reply to this message

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