POV-Ray : Newsgroups : povray.advanced-users : Turning squares into a smooth isosurface Server Time
29 Jul 2024 06:27:00 EDT (-0400)
  Turning squares into a smooth isosurface (Message 11 to 20 of 22)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 2 Messages >>>
From: Christopher James Huff
Subject: Re: Turning squares into a smooth isosurface
Date: 8 Apr 2003 17:18:33
Message: <cjameshuff-CF57FE.17174208042003@netplex.aussie.org>
In article <8hr59voc6g4am2j1uhcmlti3nffc80pcj1@4ax.com>,
 ABX <abx### [at] abxartpl> wrote:

> Sadly I'm not language expert but I looked into my dictionary and I think used
> algorithm fits in both.

Proximity
n. The state or fact of being near or next; nearness.


The proximity pattern uses the minimum or average distance to the 
surface of the object, in other words, nearness. Your function returns a 
value based on the volume of nearby space taken up by the object, which 
is not at all the same thing. You can have proximity to flat objects 
like triangles, or even single points, but they have no volume and will 
be invisible to your function, which is closer to a convolution blur 
matrix. A point 100 units from a triangle will be the same as one 
immediately next to the triangle with your function.

"blur" or "smooth" would be accurate terms for describing your function, 
"proximity" is not.


> Sorry if it bother you but http://news.povray.org/search/?s=blur does 
> not return as precise answer as I wanted express.

http://news.povray.org/search/?s=proximity only gives something close 
because of the wrong term being used to describe the function. 
http://news.povray.org/povray.text.scene-files/22075/ would be better.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: ABX
Subject: Re: Turning squares into a smooth isosurface
Date: 9 Apr 2003 03:17:51
Message: <oig79v0ogstjpldan48el31la2a9f1ulp3@4ax.com>
On Tue, 08 Apr 2003 17:17:42 -0400, Christopher James Huff
<cja### [at] earthlinknet> wrote:

>In article <8hr59voc6g4am2j1uhcmlti3nffc80pcj1@4ax.com>,
> ABX <abx### [at] abxartpl> wrote:
>
> > Sadly I'm not language expert but I looked into my dictionary and I think used
> > algorithm fits in both.
>
> Proximity
> n. The state or fact of being near or next; nearness.

Arent't near locations only highlighted in
http://news.povray.org/povray.binaries.images/22100/150459/proximity.jpg ?

> The proximity pattern uses the minimum or average distance to the 
> surface of the object, in other words, nearness.

I know algorithm of your pattern from old MegaPOV but is there any other source
where such implementation of "proximity" exist ? Is "distance" the only
appearance of "proximity"? Can't blur with specified amount/radius builded over
monochrome pattern also mean proximity with clipped values ?

> You can have proximity to flat objects like triangles, or even single points,
> but they have no volume and will be invisible to your function.

IIRC I never stated I made 3D pattern. My intention was to build 2D pattern
builded only for cross-section of object. I never stated my solution was
perfect. I wanted isosurface beveling working on crossection of objects
(http://news.povray.org/povray.binaries.images/24383/ ) so I wanted to obtain 2D
effect similiar to proximity patch using blur until somebody reintroduce your
patch in 3.5. In further changes (which was never released) of this macro I
internally used f_r() function which simply returned distance. And that's why I
refer to it as "proximity/blur". I will try to remember to use this always in
that form in that future.

> > Sorry if it bother you but http://news.povray.org/search/?s=blur does 
> > not return as precise answer as I wanted express.
>
> http://news.povray.org/search/?s=proximity only gives something close 
> because of the wrong term being used to describe the function. 
> http://news.povray.org/povray.text.scene-files/22075/ would be better.

No. Your proposed link is only 1/6 of my intention. 50% of my intention was to
point out that there is a search engine available and 50% was to point out that
there are _3_ threads from me related to the subject.

ABX


Post a reply to this message

From: Christopher James Huff
Subject: Re: Turning squares into a smooth isosurface
Date: 9 Apr 2003 11:34:14
Message: <cjameshuff-0B4707.11331909042003@netplex.aussie.org>
In article <oig79v0ogstjpldan48el31la2a9f1ulp3@4ax.com>,
 ABX <abx### [at] abxartpl> wrote:

> Arent't near locations only highlighted in
> http://news.povray.org/povray.binaries.images/22100/150459/proximity.jpg ?

Yes, but the "highlighting" is not a function of nearness, but of the 
amount of nearby space occupied by the object. The two often correlate, 
and can be used for some of the same purposes, but they aren't the same 
thing.


> > The proximity pattern uses the minimum or average distance to the 
> > surface of the object, in other words, nearness.
> 
> I know algorithm of your pattern from old MegaPOV but is there any 
> other source where such implementation of "proximity" exist ? Is 
> "distance" the only appearance of "proximity"? Can't blur with 
> specified amount/radius builded over monochrome pattern also mean 
> proximity with clipped values ?

Distance is what the word "proximity" means! It doesn't mean anything 
like blur.


> > You can have proximity to flat objects like triangles, or even 
> > single points, but they have no volume and will be invisible to 
> > your function.
> 
> IIRC I never stated I made 3D pattern.

And I didn't say anything about 3D or 2D. I'm talking about the 
properties of solid vs. patch objects.


> In further changes (which was 
> never released) of this macro I internally used f_r() function which 
> simply returned distance.

Distance to < 0, 0, 0>. This is the proximity function for a single 
point, and abs(f_r(x, y, z)-r) for a sphere. If you did something like 
one of those, it was a proximity function, but a convolution blur isn't. 
The only way I can think of to apply this to a convolution blur is to 
use it to weight the samples.
There are two ways to compute proximity: define a proximity function for 
the object, or compute it from points *on* the object's surface. The 
insideness function is not sufficient...well, you *could* use it to 
search for points very near the surface, but calculation would take 
forever, and it would be nearly impossible to implement in POV functions.


> And that's why I refer to it as "proximity/blur". I will try to 
> remember to use this always in that form in that future.

But it has nothing to do with proximity.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: ABX
Subject: Re: Turning squares into a smooth isosurface
Date: 9 Apr 2003 11:55:18
Message: <tlf89vcm9395bv5tg1oo3npqf4i08pve9n@4ax.com>
On Wed, 09 Apr 2003 11:33:19 -0400, Christopher James Huff
<cja### [at] earthlinknet> wrote:
> Distance is what the word "proximity" means!

http://www.google.com/search?q=%22proximity+means+distance%22
http://www.google.com/search?q=%22proximity+is+distance%22

I'm not english master. Not even advanced amateur. Can you provide me a
reference to definition that proximity is distance? There is no 'distance' in
http://dictionary.reference.com/search?q=proximity

> > In further changes (which was 
> > never released) of this macro I internally used f_r() function which 
> > simply returned distance.
>
> Distance to < 0, 0, 0>.

#declare f_distance=function(x1,x2,y1,y2){f_r(x2-x1,y2-y1,0)};

> This is the proximity function for a single point

As function without context it is. As part of my macro it is far more.

> If you did something like 
> one of those, it was a proximity function
> (...)
> But it has nothing to do with proximity.

Hmmm. Two different opinions about the same usage of f_r().

ABX


Post a reply to this message

From: Tyler Eaves
Subject: Re: Turning squares into a smooth isosurface
Date: 9 Apr 2003 12:22:42
Message: <3e9448d1@news.povray.org>
ABX wrote:

> On Wed, 09 Apr 2003 11:33:19 -0400, Christopher James Huff
> <cja### [at] earthlinknet> wrote:
>> Distance is what the word "proximity" means!
> 
> http://www.google.com/search?q=%22proximity+means+distance%22
> http://www.google.com/search?q=%22proximity+is+distance%22
> 
> I'm not english master. Not even advanced amateur. Can you provide me a
> reference to definition that proximity is distance? There is no 'distance'
> in http://dictionary.reference.com/search?q=proximity

Sure there is.
Proximity: The state, quality, sense, or fact of being near or next;
closeness.
Near: To, at, or within a short distance or interval in space or time.


Post a reply to this message

From: Will W
Subject: Re: Turning squares into a smooth isosurface
Date: 9 Apr 2003 13:32:04
Message: <3e945914@news.povray.org>
"ABX" <abx### [at] abxartpl> wrote in message
news:tlf89vcm9395bv5tg1oo3npqf4i08pve9n@4ax.com...
> On Wed, 09 Apr 2003 11:33:19 -0400, Christopher James Huff
> <cja### [at] earthlinknet> wrote:
> > Distance is what the word "proximity" means!

<snip>

> I'm not english master. Not even advanced amateur. Can you provide me a
> reference to definition that proximity is distance? There is no 'distance'
in


Try http://dictionary.reference.com/ dictionary.com. Everyone should have
this link installed on their browser as a "bookmark" or "favorite". Their
online thesaurus is also quite good.

Entries from MeriamWebster, American Heritage and WordNet are available
there for "proximity". They all indicate the word refers to one thing being
"close" to another. But not necessarily in geometric distance; the closeness
could be in terms of some other attribute. So though there may be thousands
of miles between ABX and myself, our thoughts on a given topic may be in
close proximity. Or perhaps not. We could be in close physical proximity and
be worlds apart in our views about something.

I haven't been following the argument closely and have no opinion about the
matter in hand. But I do have strong opinions about the use and misuse of
words. And an especially strong opinion about individuals who attempt to ram
a particular definition down other people's throats. I'm not saying that is
happening here. But it does seem to me like the contenders in this dispute
are stepping ever more closely toward that line.

Remember that meaning is not attached to a word when it is spoken or
written. Meaning is attached to a word when it is listened to or read. There
is no such thing as an absolute definition-- there is only the definition
that your audience will use.

Now, back to the fights...

--
Will Woodhull
Thornhenge, SW Oregon, USA
willl.at.thornhenge.net


Post a reply to this message

From: Christopher James Huff
Subject: Re: Turning squares into a smooth isosurface
Date: 9 Apr 2003 17:18:08
Message: <cjameshuff-0676C1.17170909042003@netplex.aussie.org>
In article <tlf89vcm9395bv5tg1oo3npqf4i08pve9n@4ax.com>,
 ABX <abx### [at] abxartpl> wrote:

> http://www.google.com/search?q=%22proximity+means+distance%22
> http://www.google.com/search?q=%22proximity+is+distance%22

Not sure what you expect these to turn up. A lack of results is not 
surprising, they are very badly formed search queries.

This is better:
http://www.google.com/search?q=proximity+definition


> I'm not english master. Not even advanced amateur. Can you provide me a
> reference to definition that proximity is distance? There is no 'distance' in
> http://dictionary.reference.com/search?q=proximity

"The state, quality, sense, or fact of being near or next; closeness:"

Look up "closeness":
http://dictionary.reference.com/search?q=closeness

"immediate nearness"

http://dictionary.reference.com/search?q=nearness

Nothing about being blurred, smoothed, or fuzzed out. It's all about 
distance, viewed as how near something is rather than how far it is.


> > If you did something like 
> > one of those, it was a proximity function
> > (...)
> > But it has nothing to do with proximity.
> 
> Hmmm. Two different opinions about the same usage of f_r().

For two different uses. One being a proximity function, the other being 
a weighting for convolution samples, in which case the most likely use 
is for proximity to the center of the convolution matrix, which is 
independant of the input data.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: ABX
Subject: Re: Turning squares into a smooth isosurface
Date: 10 Apr 2003 01:41:57
Message: <gr0a9vgkn8ni404li59nu9nn74m4fj7s56@4ax.com>
On Wed, 9 Apr 2003 10:36:07 -0700, "Will W" <wil### [at] NOSPAMwizzardsnet> wrote:
> Now, back to the fights...

I would rather call it 'investigation' (considering it is proper translation I
found).

ABX


Post a reply to this message

From: ABX
Subject: Re: Turning squares into a smooth isosurface
Date: 10 Apr 2003 02:21:22
Message: <f91a9v40mae692tpohmiaha5dg92al80l8@4ax.com>
On Wed, 09 Apr 2003 17:17:09 -0400, Christopher James Huff
<cja### [at] earthlinknet> wrote:
> "The state, quality, sense, or fact of being near or next; closeness:"
>
> Look up "closeness":
> http://dictionary.reference.com/search?q=closeness
>
> "immediate nearness"
>
> http://dictionary.reference.com/search?q=nearness
>
> Nothing about being blurred, smoothed, or fuzzed out. It's all about 
> distance, viewed as how near something is rather than how far it is.

I think you misunderstand me. My understanding is that proximity (closeness,
nearness) can be any function which is growing in direction to nearest point of
object. Not necessary linear like distance returned from intersection test. I do
not exclude distance, just allow other characteristics to express that something
is more near. That's why I'm looking for reference where it is stated that in
mathematical english proximity _is_ linear distance. In 'closeness' definition
you reffered I see "the spatial property resulting from a relatively small
distance;". Two things I see in this definition: 1) closeness is not distance
but can be function of it and 2) value of closeness in distace 'far' is the same
like in 'far*2' because only small values are considered. Output of my macro in
both forms (released (with blur) and not released (with distance measurement))
in my understanding fits in this definition. Please note I did not blured any
image, just monochrome pattern received from object cross-section. So what I
need? I need reference from you where is written that there is a convention in
3D computer graphics (or in 3D geometry in general) that 'proximity' is used to
name only function which results linear distance between given point and nearest
point of given object. Can you provide me such a reference?

> > > If you did something like 
> > > one of those, it was a proximity function
> > > (...)
> > > But it has nothing to do with proximity.
> > Hmmm. Two different opinions about the same usage of f_r().
> For two different uses.

It seems we differently splited text in my paragraph. I have no idea how to
avoid it without useless discussion about understanding.

ABX


Post a reply to this message

From: Will W
Subject: Re: Turning squares into a smooth isosurface
Date: 10 Apr 2003 02:33:51
Message: <3e95104f@news.povray.org>
"ABX" <abx### [at] abxartpl> wrote in message
news:gr0a9vgkn8ni404li59nu9nn74m4fj7s56@4ax.com...
> On Wed, 9 Apr 2003 10:36:07 -0700, "Will W" <wil### [at] NOSPAMwizzardsnet>
wrote:
> > Now, back to the fights...
>
> I would rather call it 'investigation' (considering it is proper
translation I
> found).
>
> ABX


:-)


--
Will Woodhull
Thornhenge, SW Oregon, USA
willl.at.thornhenge.net


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 2 Messages >>>

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