POV-Ray : Newsgroups : povray.general : possible difference bug : possible difference bug Server Time
5 Nov 2024 07:15:37 EST (-0500)
  possible difference bug  
From: Mario
Date: 2 Jun 2003 09:56:38
Message: <3edb5796$1@news.povray.org>
I am doing the difference of two cubes. I expect the first cube to have a
hole where the second cube is. When I render the scene, the second cube is
visible. From what I have seen with differences, this seems like a bug.

//scene used to create this bug:

#include "textures.inc"
#include "colors.inc"

// ----------------------------------------
// ############ BEGIN #####################
// ----------------------------------------

camera {
//  location  <-6, 12, -50.05>
//  look_at   <-6, 12, -25.05>

//location <5,3,-11.05>
//look_at <5,3,-8.05>
location <5,3,-0.05>
look_at <5,3,-11.05>

light_source {
    <-6, 30, -60.05>
    color rgb <1, 1, 1>  // light's color
}


// house cube
difference {
    box {
        <-10, -1, -10>,  // Near lower left corner
        <10,15,10>       // Far upper right corner

        texture {
            //MJHouse
            Red_Marble
            scale  .25
            rotate y*90
        }

    }

    box { <4,-1,-9.875>, <7, 4, -10.125> texture { White_Marble } }


} //end of difference


Post a reply to this message

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