|
|
so I'm trying to put a texture on a csg (difference) object. The problem is that that
the texture doesn't come out correctly.
Here's what I'm talking about:
#declare White_Brick=texture{
pigment{
brick pigment{Gray90}, pigment{White}
brick_size <3, 1, 2>
mortar .5
scale 1
}
}
light_source{
<0,500,-500>, White
}
difference{
box{
<-15, 0, -15>, <15, 43, 15>
}
box{
<-100, -100, 00>, <100, 100, -100>
translate z*-15
rotate x*10
}
box{
<0, -100, 100>, <100, 100, -100>
translate x*15
rotate z*10
}
translate <47, 0, -47>
rotate y*counter*90
}
What you should see is that on the side where the difference isn't applied, the brick
pattern works
However, on the side where the difference was applied, there're gray bars where bricks
should be.
Any idea how to solve this?
-John
Post a reply to this message
|
|