POV-Ray : Newsgroups : povray.general : difference causes strange black hole : difference causes strange black hole Server Time
2 Aug 2024 04:22:46 EDT (-0400)
  difference causes strange black hole  
From: Rick Measham
Date: 19 Jan 2005 10:30:01
Message: <web.41ee7bf361d104498fc3d8280@news.povray.org>
I can't work out what's wrong here. I have a simple box. I remove another
box from it using 'difference'. The result is a white box with a solid
'black hole' type effect. You'll notice that the test cylinder seems to go
into a solid.

I'm sure I'm missing something simple!

Cheers!
Rick

__SNIPPET__

difference {
        box {
                <-5.3, -2, -5.3>
                < 5.3,  2,  5.3>
        }
        //Strange Black Hole
         box {
                <-4.3, -2.1, 2.7> <0.3, 2.1, 4.3>
        }


        texture {
                pigment { White }
                finish { reflection 0.05 }
        }

}

cylinder {
        <-2, 4, 3.5>
        <-2, -4, 3.5>
        0.25
        pigment { Red }
}


Post a reply to this message

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