|
![](/i/fill.gif) |
Wasn't it John VanSickle who wrote:
>gregjohn wrote:
>> I have an interesting object{}. It itself is a union of multiple,
>> interestingly-shaped objects of different colors. I want to get a
>>cross section
>> of it and see the colors of the different layers.
>> Every way I've tried, however, gives the cross-section the texture
>>of the
>> cutting object. Any way to see the colors in my multi-layer cake?
>
>Consider this simple intersection:
>
>intersection {
> sphere { -x,2 texture { Rubber } }
> sphere { x,2 texture { Chalk } }
>}
>
>One side is Rubber and the other is Chalk, as we expect. The space
>between the surfaces has an interior assigned to it, but it has no
>texture associated. In POV-Ray, the interior of an object does not
>have an associated texture that can be seen when an untextured object
>intersects into that interior.
When you apply cutaway_textures to an object with overlapping parts, you
get the average of the textures of those parts.
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
![](/i/fill.gif) |