Raymond C. Gilford wrote:
>
> Okay maybe I was not clear when I presented the problem. I have set of
> cylinders that are grouped together with a union. They already have separate
> textures applied to them. I want to create a cutaway to show the internal
> textures. But when I do the difference I get black over the whole thing.
Spiders example was very close but did not tke into account tht you had
pre textured your cylinders. The same method though applies where you
make your differencing object transperent. This way it will neither
add it's color to the union or block the union from being seen. If you
applied a red pigment it wold be red whre the difference object cut away
and if you apply no pigment then you will have black out like you are
seeing now.
So rearranging Spider's example a bit you have:
difference {
union{
cylinder{ texture{YourTexture}}
cylinder{ texture{YourTexture}}
cylinder{ texture{YourTexture}}
cylinder{ texture{YourTexture}}
} //end union
box{ pigment{rgbt 1 }}
} // end difference
--
Ken Tyler
mailto://tylereng@pacbell.net
Post a reply to this message
|