POV-Ray : Newsgroups : povray.advanced-users : Hardcore povrayer test : Re: Enhanced hardcore povrayer test Server Time
30 Jul 2024 22:19:32 EDT (-0400)
  Re: Enhanced hardcore povrayer test  
From: Ron Parker
Date: 17 Jun 1999 09:25:32
Message: <3768f74c@news.povray.org>
On Thu, 17 Jun 1999 08:40:24 +0200, Gail Shaw wrote:
>
>>I'm using primitive in a different sense than you are.  There
>>are five CSG operations, counting inverse, but only three of
>>them are primitive operations (as the term is used in Forth
>>programming) The other two can be expressed in terms of the
>>three primitives, and one actually is expressed that way in
>>the source.
>
>I know that difference is actually the intersection with the inverse.
>
>Am I on the right track with merge ?

I think yours is an exclusive-or.  Here's what I came up with:

intersection {
  object {foo inverse}
  object {bar inverse}
  inverse
}

On the plus side, you get the points for wondering how it was done,
whether or not you actually got it. :)


Post a reply to this message

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