|
![](/i/fill.gif) |
Am 14.12.2010 05:18, schrieb Solar Mike:
> Hi,
>
> I don`t seem to be able to get cutaway_textures to work the way I`m expecting
> and I am hoping someone here could set me straight. The following is a snippit
> of code and I would have expected the intersection to have left the texture of
> wood.
> intersection {
> myWood()
> object {
> cylinder {<wWood/2, 0, lWood/2>,<wWood/2, 150, lWood/2>, lWood/4 }
> texture { pigment { rgb<.1, .2, .8>}}
> }
> cutaway_textures
> }
>
> I end up with a cylinder with a wood grained top but blue sides.
Quote from the docs:
---------------------------------------
3.5.10 Cutaway Textures
Syntax:
difference | intersection {
OBJECT_1_WITH_TEXTURES
OBJECT_2_WITH_NO_TEXTURE
cutaway_textures
}
---------------------------------------
Mind the "_WITH_NO_TEXTURE": cutaway_textures only works if your
"cutting tool" has no explicit texture set.
Post a reply to this message
|
![](/i/fill.gif) |