POV-Ray : Newsgroups : povray.binaries.images : Blob Potential Pattern : Re: Blob Potential Pattern Server Time
9 May 2024 17:40:07 EDT (-0400)
  Re: Blob Potential Pattern  
From: clipka
Date: 12 Sep 2016 17:11:23
Message: <57d719fb$1@news.povray.org>
Am 12.09.2016 um 22:42 schrieb Le_Forgeron:
> Le 12/09/2016 à 22:14, clipka a écrit :
>>
>> Note that by default this is just the other way round for isosurfaces
>> (which had annoyed me multiple times already); for easier use, the new
>> pattern is therefore accompanied by an extension to the isosurface syntax:
>>
>>     isosurface {
>>       ...
>>       polarity FLOAT
>>       ...
>>     }
>>
>> Setting `polarity` to a positive value causes above-threshold values to
>> be interpreted as inside, and below-threshold values as outside, rather
>> than the other way round.
> 
> what would be the difference with "inverse" ?
> (just not reinventing the wheel ?)

`inverse` flips the inside and outside of the isosurface "worldwide".

"polarity 1" flips the inside and outside of the isosurface only within
the bounds of the contained_by object. The outside of that object still
remains outside.


Post a reply to this message

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