POV-Ray : Newsgroups : povray.general : Preserving textures through CSG : Re: Preserving textures through CSG Server Time
1 Aug 2024 12:25:39 EDT (-0400)
  Re: Preserving textures through CSG  
From: Rarius
Date: 2 Oct 2005 06:29:45
Message: <433fb699$1@news.povray.org>
As I said in my original post... My main object is too complex, with too 
many textures to difference each part seperately.

As Mike said, it appears that cutout_textures acts very strangely if the 
second part of the difference or intersection is a compound object... 
sometimes it works sometimes it doesn't!

Rarius

> I don't think that would have the desired effect in some cases. Here's 
> what
> I would do:
>
> #declare cutpart = intersection
> {
>    plane{-y, 0}
>    plane{-y, 0 rotate<60, 0, 0>}
> }
>
> union
> {
>    difference {
>        cylinder{-x, y, 1}
>        object {cutpart}
>        pigment{Red}
>    }
>     difference {
>        cylinder{x, -y, 1}
>        object {cutpart}
>        pigment{Yellow}
>    }
> }
>
> - Slime
> [ http://www.slimeland.com/ ]
>
>


Post a reply to this message

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