POV-Ray : Newsgroups : povray.beta-test : Difference issue : Difference issue Server Time
17 May 2024 05:32:08 EDT (-0400)
  Difference issue  
From: jotito
Date: 2 Jul 2012 22:40:01
Message: <web.4ff25aef19a8129f241198cb0@news.povray.org>
#version 3.7;

#include "textures.inc"

difference
{
   box{<-2,1,-2>, < 2,4, 2> }
   union
   {
      box{< 0,0,-3>, < 3,3, 3>}
      box{< 0,2,-3>, < 3,5, 3>}
   }
   texture {Gold_Texture}
}

light_source { <5,3,0> }

camera
{
  location <5,3,0>
  look_at <0,3,0>
  sky <0,1,0>
}

Rendering the above scene creates a box with some kind of hole in the middle.
The boxes in the union must be like a big box {< 0,0,-3>, < 3,5, 3>} but the
behavior is different.


Post a reply to this message

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