|
|
In article <o1fq6uk3k4bmuu1kqeqd0mmpgu976nlg45@4ax.com>,
W?odzimierz ABX Skiba <abx### [at] babilonorg> wrote:
> Well, I have an idea around this problem. In the truth it's even feature
> request. What about changing definition of Inside method of objects ?
> I mean if it could return not only yes/no to describe object but variable
> float value to describe distance (not in units) to surface just like
> isosurface does. So positive value means outside, zero means surface, negative
> means inside.
This is what I've been doing for the updated proximity pattern/glow
patch. (which is on hold until POV 3.5 is complete)
However, it would be a very bad idea to replace the Inside() method with
this, as it would often take much longer to compute proximity than to
figure out inside/outsideness...I just added a new proximity method.
(two actually...one for proximity of a point, another for proximity of a
ray)
--
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/
Post a reply to this message
|
|