|
|
Am 08.01.2017 um 19:25 schrieb William F Pokorny:
> I'm working up a potential pattern example for the distributed scenes
> collection and ran into a surprise where polarity is doing nothing and I
> expected it to. Perhaps I am confused as to intent?
>
> There are two uses of it in the attached, working pattern.pov file. The
> first behaves as I expect, the second does nothing.
>
> Is the second use supposed to work?
In the second case, you're not using the actual isosurface, just its
potential.
The "polarity" keyword does /not/ affect the underlying potential, and
hence it also does not affect the resulting potential pattern. It just
affects which portion of the isosurface is considered inside, and which
one is considered outside:
By default, the "inside" of an isosurface is the set of all points
(inside the contained_by shape) where the potential is _smaller_ than
the threshold.
The "inside" of an isosurface with a positive "polarity" setting, on the
other hand, is the set of all points (inside the contained_by shape)
where the potential is _larger_ than the threshold (making the behaviour
consistent with blobs).
Post a reply to this message
|
|