POV-Ray : Newsgroups : povray.general : difference/ intersect, preserving original texture. : Re: difference/ intersect, preserving original texture. Server Time
30 Jul 2024 18:10:59 EDT (-0400)
  Re: difference/ intersect, preserving original texture.  
From: Mike Williams
Date: 21 Sep 2008 02:39:36
Message: <kG52WvAmwe1IFwXz@econym.demon.co.uk>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.