POV-Ray : Newsgroups : povray.advanced-users : advanced question.... Server Time
11 Oct 2026 15:42:47 EDT (-0400)
  advanced question.... (Message 1 to 18 of 18)  
From: Paul Daniel Jones
Subject: advanced question....
Date: 27 Oct 2000 08:22:57
Message: <39F973F2.E763D3F3@psu.edu>
Ok, this is a question and a suggestion.

Is it possible, or would it not be very cool, if you could take a
primative and apply a normal modifier and have the parser perturb the
surface for you? Sort of a built in isosurface. I think it would be hard
to do and 'to expernsive.... but would be cool anyway.

With isosurfaces, what is the relationship between the bounding sphere
size and location and the resultant isosurface. I am haveing a deuce of
a time getting them to work.... ;-(


-p

--
-------------------------------------------#
Paul Daniel Jones
120 Chandlee Laboratory
Penn State University
814-865-2090
pdj### [at] psuedu

http://research.chem.psu.edu/glassgrp/paul
--------------------------------------------#


Post a reply to this message

From: Margus Ramst
Subject: Re: advanced question....
Date: 27 Oct 2000 10:00:46
Message: <39F97BD7.998AF504@peak.edu.ee>
Paul Daniel Jones wrote:
> 
> Is it possible, or would it not be very cool, if you could take a
> primative and apply a normal modifier and have the parser perturb the
> surface for you? Sort of a built in isosurface. I think it would be hard
> to do and 'to expernsive.... but would be cool anyway.
>

No, not as such. Regular primitives and isosurfaces use different methods for
finding the intersection. AFAIK it is not possible to modify the topology of the
former with an arbitrary function.

> With isosurfaces, what is the relationship between the bounding sphere
> size and location and the resultant isosurface. I am haveing a deuce of
> a time getting them to work.... ;-(
> 

If the bounding sphere/box is smaller than the isosurface, the isosurface (or
parts thereof) gets cut off. There's no other relationship. You just have to
make sure the bounding object is small enought, or conversely, the isosurface is
small enough. Remember that the isosurface is formed through points where a
function has a certain 'threshold' value.

-- 
Margus Ramst

Personal e-mail: mar### [at] peakeduee
TAG (Team Assistance Group) e-mail: mar### [at] tagpovrayorg


Post a reply to this message

From: ingo
Subject: Re: advanced question....
Date: 27 Oct 2000 11:01:52
Message: <8FDAA0DAAseed7@204.213.191.228>
Paul Daniel Jones wrote:

>Is it possible, or would it not be very cool, if you could take a
>primative and apply a normal modifier and have the parser perturb the
>surface for you? Sort of a built in isosurface. I think it would be hard
>to do and 'to expernsive.... but would be cool anyway.

Maybe, turn your object into an "object pattern" (or proximity patter), 
turn that into a function. Turn your normal modifier into a function. Do 
some math (that I don't know) to make the whole thing usable by the 
Isosurface.
Then make a general macro for it, using "min- and max_extent" on the 
original object to create the contained-by box.
#macro (IsoObj, Normal) ...


Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Ken
Subject: Re: advanced question....
Date: 27 Oct 2000 11:09:27
Message: <39F99AD6.8E8094D7@pacbell.net>
Margus Ramst wrote:
> 
> Paul Daniel Jones wrote:
> >
> > Is it possible, or would it not be very cool, if you could take a
> > primative and apply a normal modifier and have the parser perturb the
> > surface for you? Sort of a built in isosurface. I think it would be hard
> > to do and 'to expernsive.... but would be cool anyway.
> >
> 
> No, not as such. Regular primitives and isosurfaces use different methods for
> finding the intersection. AFAIK it is not possible to modify the topology of the
> former with an arbitrary function.

It could be done if true displacement mapping were added to the program.
Not impossible but difficult to code and yes it is expensive processor
wise.

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Warp
Subject: Re: advanced question....
Date: 27 Oct 2000 11:14:47
Message: <39f99be6@news.povray.org>
Paul Daniel Jones <pdj### [at] psuedu> wrote:
: a primative

  I have seen this word many times in this news server.
  What is it? I can't find it in the dictionary. Is it some kind of dialect?

  And answering your question: This has been discussed for years. It's far
from easy.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Christoph Hormann
Subject: Re: advanced question....
Date: 27 Oct 2000 11:18:58
Message: <39F99CDF.4AA362A4@schunter.etc.tu-bs.de>
ingo wrote:
> 
> Maybe, turn your object into an "object pattern" (or proximity patter),
> turn that into a function. Turn your normal modifier into a function. Do
> some math (that I don't know) to make the whole thing usable by the
> Isosurface.
> Then make a general macro for it, using "min- and max_extent" on the
> original object to create the contained-by box.
> #macro (IsoObj, Normal) ...
> 
> Ingo
> 

Using object pattern in an isosurface function is not such a good idea, because
it has a abrupt change at the object's surface the isosurface code does not like
at all.  You could use 'proximity', but it would be *really* slow.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: ingo
Subject: Re: advanced question....
Date: 27 Oct 2000 11:41:53
Message: <8FDABE12Cseed7@204.213.191.228>
Christoph Hormann wrote:

>Using object pattern in an isosurface function is not such a good idea,
>because it has a abrupt change at the object's surface the isosurface
>code does not like at all.  You could use 'proximity', but it would be
>*really* slow. 

If you add or multiply (or whatever the best method is) the 'object 
pattern' function and the 'normal' function, would the changes still be 
abrupt?

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Ron Parker
Subject: Re: advanced question....
Date: 27 Oct 2000 11:59:10
Message: <slrn8vj9ih.rd0.ron.parker@fwi.com>
On 27 Oct 2000 11:14:47 -0400, Warp wrote:
>Paul Daniel Jones <pdj### [at] psuedu> wrote:
>: a primative
>
>  I have seen this word many times in this news server.
>  What is it? I can't find it in the dictionary. Is it some kind of dialect?

Try looking under "primitive."  Unless this was just a spelling flame, in
which case try looking under a rock.

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

From: Christoph Hormann
Subject: Re: advanced question....
Date: 27 Oct 2000 12:15:50
Message: <39F9AA35.89914AD0@schunter.etc.tu-bs.de>
ingo wrote:
> 
> If you add or multiply (or whatever the best method is) the 'object
> pattern' function and the 'normal' function, would the changes still be
> abrupt?
> 

Sure it would, just at the surface (and not across some area around it), the
value changes from 0 to 1 leading to an infinite gradient. 
adding/multiplying/etc. does not help.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Rune
Subject: Re: advanced question....
Date: 27 Oct 2000 16:22:52
Message: <39f9e41c@news.povray.org>
"Paul Daniel Jones" wrote:
> Is it possible, or would it not be very cool, if you could take
> a primative and apply a normal modifier and have the parser
> perturb the surface for you? Sort of a built in isosurface.
> I think it would be hard to do and 'to expernsive....
> but would be cool anyway.

I started a similar discussion in povray.general a while ago and the
conclusion seemed to be that it's not possible. :(

Greetings,

Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated October 9)
/ Also visit http://www.povrayusers.org


Post a reply to this message

From: Paul Daniel Jones
Subject: Re: advanced question....
Date: 28 Oct 2000 13:10:16
Message: <39FB08CA.EDDD5CC8@psu.edu>
heigh! so I kant spel. wat of it?

Warp wrote:

> Paul Daniel Jones <pdj### [at] psuedu> wrote:
> : a primative
>
>   I have seen this word many times in this news server.
>   What is it? I can't find it in the dictionary. Is it some kind of dialect?
>
>   And answering your question: This has been discussed for years. It's far
> from easy.
>
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/

--
-------------------------------------------#
Paul Daniel Jones
120 Chandlee Laboratory
Penn State University
814-865-2090
pdj### [at] psuedu

http://research.chem.psu.edu/glassgrp/paul
--------------------------------------------#


Post a reply to this message

From: Paul Jones
Subject: Re: advanced question....
Date: 28 Oct 2000 14:28:27
Message: <39FB19E7.E1E958B8@psu.edu>
thanks....  

-paul

Rune wrote:
> 
> "Paul Daniel Jones" wrote:
> > Is it possible, or would it not be very cool, if you could take
> > a primative and apply a normal modifier and have the parser
> > perturb the surface for you? Sort of a built in isosurface.
> > I think it would be hard to do and 'to expernsive....
> > but would be cool anyway.
> 
> I started a similar discussion in povray.general a while ago and the
> conclusion seemed to be that it's not possible. :(
> 
> Greetings,
> 
> Rune
> --
> \ Include files, tutorials, 3D images, raytracing jokes,
> / The POV Desktop Theme, and The POV-Ray Logo Contest can
> \ all be found at http://rsj.mobilixnet.dk (updated October 9)
> / Also visit http://www.povrayusers.org

-- 



--------------------------------------------------}
Paul Daniel Jones
The Pennslyvania State University

pdj### [at] psuedu
http://research.chem.psu.edu/glassgrp/paul

       C            The way is near, but men
     // \           seek it afar. It is in the
    N    N          easy things, but men seek it
    |    ||         in the difficult things.
    C    C          -Menicius
     \\  /
       C
--------------------------------------------------}


Post a reply to this message

From: Margus Ramst
Subject: Re: advanced question....
Date: 28 Oct 2000 19:16:37
Message: <39FB5039.6328D045@peak.edu.ee>
Ken wrote:
> 
> It could be done if true displacement mapping were added to the program.
> Not impossible but difficult to code and yes it is expensive processor
> wise.
> 

However, "true displacement mapping" as used in practice, involves tessellating
the primitive and displacing the resultant mesh.
The way I understand it, performing non-uniform transformations (including
displacement mapping) on a mathematical primitive would require finding the
intersection of the primitive and a curved ray - often impossible for all
practical purposes.

-- 
Margus Ramst

Personal e-mail: mar### [at] peakeduee
TAG (Team Assistance Group) e-mail: mar### [at] tagpovrayorg


Post a reply to this message

From: Ken
Subject: Re: advanced question....
Date: 29 Oct 2000 00:21:37
Message: <39FBA606.25156DDC@pacbell.net>
Margus Ramst wrote:
> 
> Ken wrote:
> >
> > It could be done if true displacement mapping were added to the program.
> > Not impossible but difficult to code and yes it is expensive processor
> > wise.
> >
> 
> However, "true displacement mapping" as used in practice, involves tessellating
> the primitive and displacing the resultant mesh.
> The way I understand it, performing non-uniform transformations (including
> displacement mapping) on a mathematical primitive would require finding the
> intersection of the primitive and a curved ray - often impossible for all
> practical purposes.

I'll bet Ron Parker could code it. Ron Parker can code anything if
he sets his mind to it.

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Chris Huff
Subject: Re: advanced question....
Date: 29 Oct 2000 09:36:57
Message: <chrishuff-5BB551.09395829102000@news.povray.org>
In article <39FBA606.25156DDC@pacbell.net>, lin### [at] povrayorg 
wrote:

> I'll bet Ron Parker could code it. Ron Parker can code anything if
> he sets his mind to it.

Or Nathan Kopp. And if they work together on it... :-)

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Ron Parker
Subject: Re: advanced question....
Date: 29 Oct 2000 22:36:57
Message: <slrn8vpr70.svt.ron.parker@fwi.com>
On Sat, 28 Oct 2000 21:22:30 -0700, Ken wrote:
>I'll bet Ron Parker could code it. Ron Parker can code anything if
>he sets his mind to it.

I'm more of an idea rat...

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

From: Ken
Subject: Re: advanced question....
Date: 29 Oct 2000 22:53:51
Message: <39FCF105.55137DB5@pacbell.net>
Ron Parker wrote:

> I'm more of an idea rat...

The death of a legend...

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Ron Parker
Subject: Re: advanced question....
Date: 30 Oct 2000 09:08:31
Message: <slrn8vr079.tf2.ron.parker@fwi.com>
On Sun, 29 Oct 2000 19:54:45 -0800, Ken wrote:
>
>
>Ron Parker wrote:
>
>> I'm more of an idea rat...
>
>The death of a legend...

No, no, that wasn't to say that I can't do the work, just that my role of late
has been more that of the guy who plants seeds in the minds of people who have
time to do stuff.

Besides, it was a Dilbert quote.

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

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