POV-Ray : Newsgroups : povray.windows : Difference Bug? : Re: Difference Bug? Server Time
17 May 2024 18:41:15 EDT (-0400)
  Re: Difference Bug?  
From: Aydan
Date: 29 Apr 2008 05:25:00
Message: <web.4816e86d38a208cc1ccf29180@news.povray.org>
"scottishrob41" <sco### [at] gmailcom> wrote:
> Howdy Pov-Rayers. I was curious about something I discovered while trying to
> create a difference with a cylinder and a hollow box. When I try to use the
> cylinder to open a hole in one side of the box, I notice the cylinder is still
> visible as if I had just merged them together. I figured out playing around
> with it, that the only way to get the cylinder to dissappear and leave the
> difference hole in the box is to assign a 'Clear' pigment to the cylinder. Has
> anyone else noticed this? Is this to be expected or is it a bug of some sort?
> FYI, I am running both version 3.6.1 and the beta 3.7 on a dual core system with
> 1 gb Ram. Both versions give the same result. I hope someone out there can shed
> some light on this. THNX.

What you really want to do is to Subtract a slightly smaller box from your box
to make the box actually pysically hollow and then punch a hole into the side
with a cylinder

Something along the lines of:
difference{
  outerbox
  union{
    innerbox
    cylinder
  }
}

Greets
Aydan


Post a reply to this message

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