POV-Ray : Newsgroups : povray.newusers : Only render intersections from list of objects : Re: Only render intersections from list of objects Server Time
13 May 2024 23:04:00 EDT (-0400)
  Re: Only render intersections from list of objects  
From: Le Forgeron
Date: 16 Apr 2014 15:14:23
Message: <534ed68f$1@news.povray.org>
Le 16/04/2014 21:05, Warp nous fit lire :
> Le_Forgeron <jgr### [at] freefr> wrote:
>> interunion {
>>  #include OBJECTS_FILE
>>   range{ <2,-1> }
>> }
> 
> For some reason I can't make heads or tails of either the question or
> the answer. (Also, I haven't the slightest clue what the "<2,-1>" above
> is supposed to signify.)
> 

the question, if I got it right, was: assume a set of objects that might
intersect (by pair, not with every other...), can we display not the
objects but only their overlapping volumes, even the ones which are only
from two objects of the set.

the range <2,-1> is the specification for the answer: keep all
intersection points that are inside 2 or more objects.
( -1 is a way to specify all objects, without having to counting them).

(<1,-1> is a classical union, but union would then be faster)


Post a reply to this message

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