|
|
> Put your camera to look into correct wall of box. Or reorient box to show
hole.
Below I have copied the updated scene I am using.
Now what appears to be happening is that the differnce is creating a
"tunnel" into the first cube, with the "end of the tunnel" being the same
color as the second cube. This is odd because I thought all objects were
hollow. I expected to see a rectangular hole punched into the first cube,
and being able to look inside of the first cube.
#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,-15.05>
look_at <5,3,-11.05>
#if (frame_number < 361)
rotate <0,360*clock,0>
#end
}
light_source {
<-6, 30, -60.05>
color rgb <1, 1, 1> // light's color
}
light_source {
<5,3,-5.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
}
}
// this is only done for the difference of the house cube
// front door
box { <4,-1.01,-10.01>, <7, 4, -9> texture { White_Marble } }
} //end of difference for the house cube
Post a reply to this message
|
|