POV-Ray : Newsgroups : povray.general : Preserving textures through CSG : Preserving textures through CSG Server Time
1 Aug 2024 12:22:41 EDT (-0400)
  Preserving textures through CSG  
From: Rarius
Date: 1 Oct 2005 15:50:45
Message: <433ee895@news.povray.org>
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


Post a reply to this message

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