POV-Ray : Newsgroups : povray.general : Merging of Two Boxes Behaviour : Re: Merging of Two Boxes Behaviour Server Time
30 Jul 2024 06:25:59 EDT (-0400)
  Re: Merging of Two Boxes Behaviour  
From: clipka
Date: 24 Jul 2009 16:20:00
Message: <web.4a6a1706dc7e8ec46e32850e0@news.povray.org>
"HerrVlkr" <nomail@nomail> wrote:
> I am new to POV-Ray.  In the example below, I am trying to merge two boxes
> together.  But when I render the image, the boxes disappear at the sections
> where they intersect.  Is this correct?

POV-Ray is a bit weak when dealing with coincident surfaces.

Try translating one of the boxes by a very tiny amount, e.g.

    merge
    {
        box{<0,233,0>, <233-16,197,36>}
        box{<197,/*233-16*/300,0>, <233,107,36> translate <0,0,0.001>}
        ...
    }


Post a reply to this message

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