POV-Ray : Newsgroups : povray.general : Preserving textures through CSG : Re: Preserving textures through CSG Server Time
1 Aug 2024 18:29:11 EDT (-0400)
  Re: Preserving textures through CSG  
From: Rarius
Date: 3 Oct 2005 06:21:49
Message: <4341063d@news.povray.org>
"Mike Williams" <nos### [at] econymdemoncouk> wrote:
> So, does my method work with your complex main object?

Not really... What I wanted to do was take out a 120deg slice out of my 
object... I couldnt see how to do that with youir method... I finally 
managed it with a scaled box...

I have done a few more tests and found that:

difference
{
    object{Thing}
    plane{y, 0}
    plane{z, 0}
    cutaway_textures
}

does work,

difference
{
    object{Thing}
    union
    {
        plane{y, 0}
        plane{z, 0}
    }
    cutaway_textures
}

does work, but

difference
{
    object{Thing}
    intersection
    {
        plane{y, 0}
        plane{z, 0}
    }
    cutaway_textures
}

does NOT work, neither does

difference
{
    object{Thing}
    difference
    {
        plane{y, 0}
        plane{z, 0}
    }
    cutaway_textures
}

Regards

Rarius


Post a reply to this message

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