|
|
On 07/02/2012 10:37 PM, jotito wrote:
> #version 3.7;
>
> #include "textures.inc"
>
> difference
> {
> box{<-2,1,-2>, < 2,4, 2> }
> union
> {
> box{< 0,0,-3>, < 3,3, 3>}
> box{< 0,2,-3>, < 3,5, 3>}
> }
> texture {Gold_Texture}
> }
>
> light_source { <5,3,0> }
>
> camera
> {
> location <5,3,0>
> look_at <0,3,0>
> sky <0,1,0>
> }
>
> Rendering the above scene creates a box with some kind of hole in the middle.
> The boxes in the union must be like a big box {< 0,0,-3>, < 3,5, 3>} but the
> behavior is different.
>
>
OK ... so what's new (I'm confused) are you trying to do this:
difference
{
box{<-2,1,-2>, < 2,4, 2> }
box{< 0,0,-3>, < 3,2, 3> }
box{< 0,3,-3>, < 3,5, 3> }
texture {Gold_Texture}
}
or this:
difference
{
box{<-2,1,-2>, < 2,4, 2> }
box{< 0,0,-3>, < 3,3, 3> }
box{< 0,2,-3>, < 3,5, 3> }
texture {Gold_Texture}
}
because if it's the 2nd one why not just do this:
box{<-2,1,-2>, < 0,4, 2> }
.. I mean yer just choppin' off the pos x portion of the main box!
Jim
Post a reply to this message
|
|