POV-Ray : Newsgroups : povray.newusers : difference : difference Server Time
4 Nov 2024 17:34:31 EST (-0500)
  difference  
From: Bob
Date: 19 Jun 2003 15:45:31
Message: <3ef212db@news.povray.org>
difference {
        box {
                <-10, 0, -10>  // one corner position <X1 Y1 Z1>
                < 10,  20,  10>  // other corner position <X2 Y2 Z2>
                pigment { color rgb <1,0,0> }
        }

        union {
                box {
                        <-9,0, -9>
                        <9,19,9>
                        pigment {color rgb <1,0,0> }
                }

                box {
                        <-2.5,0,-10>
                        <2.5,5,-5>
                        pigment {color rgb <1,0,0> }
                }
       }
}


Somebody tell me what I'm doing wrong there, or somehow to get the second
box to subtract as well


Post a reply to this message

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