POV-Ray : Newsgroups : povray.programming : Inquiring about features : Re: Inquiring about features Server Time
18 Apr 2024 20:09:03 EDT (-0400)
  Re: Inquiring about features  
From: scott
Date: 8 Mar 2016 02:46:10
Message: <56de8342$1@news.povray.org>
>> Can an object be defined in a scene as part of let's say for demonstration
>> purposes, a difference, be rendered, but NOT take part in CSG?
>> I'm not sure how useful it would be, although I can imagine having an object
>> somewhere that fades out in an animation and doesn't leave a hole.
>> maybe a tag like no_csg
>
> An object that is part of a CSG but doesn't take part in CSG?
> That makes absolutely NO sense to me at all. Care to try a different
> approach at explaining it to me?

I think he means that this:

difference
{
  objectA
  objectB no_csg
  objectC
}

would then render equivalently to this:

objectB
difference
{
  objectA
  objectC
}

But it would get confusing if you have multiple nested levels of csg, 
what should happen then? Maybe an integer parameter after the "no_csg" 
keyword to say how many levels "up" the object should go (0=scene root)


Post a reply to this message

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