|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Does anyone knows how to make nice 3D graphics of mathematical
functions of 2 variables? Ex: f(x,y) = sin(x^2 + y^2)
I have seen the tutorials, but the results I got were awfull
(I'm doing it with PovRay because it's cheaper)
Thank you
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Daniel Sobral <l45### [at] alfaistutlpt> writes:
>
> Does anyone knows how to make nice 3D graphics of mathematical
> functions of 2 variables? Ex: f(x,y) = sin(x^2 + y^2)
> I have seen the tutorials, but the results I got were awfull
IMO you have mainly three possibilities:
1. In case of an easy function you can try the built-in objects poly, cubic
and quartic (section 7.5.4.2 of the docs).
2. For more complicated functions like sin(x^2 + y^2) you can approximate
the function with objects like spheres, cylinders, (smoothed) triangles or
even bicubic patches.
3. You get the "isosurface patch" for POV-Ray. It is availible at
http://www.public.usit.net/rsuzuki/e/povray/iso/index.html
Among other interesting features this patch includes arbitrary parametric
surfaces. For an explanation follow the link to the site
http://atrey.karlin.mff.cuni.cz/~0rfelyus/povray.html
I hope this helps
ThW
--
Tho### [at] uni-konstanzde
http://www.informatik.uni-konstanz.de/~willhalm/
Tschieses lavs ju
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I have a program which you type in a function in the form f(x,z) = sin(x^2 +
z^2), and it will outputs a smooth-triangle mesh for POV-Ray. Since I don't
know the URL where you can find it, it is attached to the message after
this.
--
Alan Grainger
Member of DNRC
E-mail - scy### [at] geocitiescom
Homepage - http://alansworld.home.ml.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Here it is:
--
Alan Grainger
Member of DNRC
E-mail - scy### [at] geocitiescom
Homepage - http://alansworld.home.ml.org
Post a reply to this message
Attachments:
Download 'povgraph.zip' (228 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Well, Alan has a cooler solution than mine but here is how I work with 3d
math functions. It uses standard triangles (not smoothed ones). An image
of sin(x^2 + y^2) is at
http://arrow.math.twsu.edu/programming/pov/3dmath.jpg if you can to look.
The source is an attachment to this message.
Mark Arrasmith
arr### [at] mathtwsuedu
Daniel Sobral wrote in message <35457F16.1C7DF943@alfa.ist.utl.pt>...
>Does anyone knows how to make nice 3D graphics of mathematical
>functions of 2 variables? Ex: f(x,y) = sin(x^2 + y^2)
>I have seen the tutorials, but the results I got were awfull
>(I'm doing it with PovRay because it's cheaper)
>
>Thank you
Post a reply to this message
Attachments:
Download '3dmath.pov.txt' (5 KB)
|
|
| |
| |
|
|
|
|
| |