|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |