|
![](/i/fill.gif) |
Rarius wrote:
> Thanks for the suggestion Ger, but as I said I can't do that.. The machine
> is too complex, with too many textures...
>
> Rarius
>
> "Ger" <No.### [at] Thank You> wrote in message news:433eebdb@news.povray.org...
>
>>Rarius wrote:
>>
>>
>>>I am building a cutaway image of a machine, but I am having a problem
>>>with
>>>the textures. If I texture an object then intersect that object, the
>>>texture of the object is overwritten on those surfaces where the object
>>>is
>>>cut... For example:
>>>
>>>difference
>>>{
>>> cylinder
>>> {
>>> <-10, 0, 0>
>>> <10, 0, 0>
>>> 1
>>> pigment{colour Red}
>>> }
>>> plane{y, 0}
>>>}
>>>
>>>I get half a red cylinder, but the part where the plane cuts the sphere
>>>is
>>>the default texture...
>>>
>>>I thought there was something like a "preserve_textures" modifier, but I
>>>can't find anything like that in the help. Can anyone suggest what the
>>>modifier might be?
>>>
>>>BTW doing the cutaway to each element of the machine before texturing is
>>>not an option. It is just too complex and I rotate/translate a lot of
>>>parts after texturing!
>>>
>>>Rarius
>>
>>difference
>>{
>> cylinder
>> {
>> <-10, 0, 0>
>> <10, 0, 0>
>> 1
>> }
>> plane{y, 0}
>> pigment{colour Red}
>>}
>>
>>This way the plane has the same texture as the cylinder.
>>--
>>Ger
>
>
>
Something like this:
difference
{
cylinder
{
<-10, 0, 0>
<10, 0, 0>
1
pigment{colour Red}
}
plane{y, 0
pigment { color Green }
}
}
Post a reply to this message
|
![](/i/fill.gif) |