POV-Ray : Newsgroups : povray.newusers : Difference isn't working for me : Difference isn't working for me Server Time
29 Jul 2024 10:23:12 EDT (-0400)
  Difference isn't working for me  
From: Prodan
Date: 20 Feb 2006 11:35:01
Message: <web.43f9ee359c6b495eb3e251180@news.povray.org>
I can't get the difference function to work. Any ideas?
the code is:

 #include "colors.inc"
 camera {
    location <-3, 10, -50>
    look_at <5, 5, 0>
 }
 background{White}
 light_source { <-5, 10, 4> color White }
 light_source { <-3, 10, 5> color White }
 difference {
     box { <0, 0, 0>, <6, 53, 36> }
     box { <0, 0, 34>, <6, 51, 36> }
     box { <0, 0, -1>, <6, 49, 2> }
     box { <0, 0, -1>, <6, 47, 2> }
     box { <0, 0, -1>, <6, 45, 2> }
     box { <0, 0, -1>, <6, 43, 2> }
     box { <0, 0, -1>, <6, 41, 2> }
     box { <0, 0, -1>, <6, 39, 2> }
     box { <0, 0, -1>, <6, 37, 2> }
     box { <0, 0, -1>, <6, 35, 2> }
     box { <0, 0, -1>, <6, 33, 2> }
     box { <0, 0, -1>, <6, 31, 2> }
     box { <0, 0, -1>, <6, 29, 2> }
     box { <0, 0, -1>, <6, 27, 2> }
     pigment { color Red }
 }


Post a reply to this message

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