|
|
I was just playing around in Maple, and made some shapes there I'd like
to use in pov. f.x:
plot3d((1.2)^x * sin(y),x=-8..Pi,y=0..Pi,coords=spherical);
(snail's house)
plot3d(y,x=0..3*Pi,y=0..3*Pi,coords=toroidal,scaling=constrained);
(ufo)
I can post images in p.b.i if you are interested.
I've found several conversion functions in my "Matematische
Formelsamlung" by Rottmann, fx for torus:
x=l*cos(phi)*sinh(ksi)/(cosh(ksi)-cos(eta))
y=l*sinh(ksi)/(cosh(ksi)-cos(eta))
z=l*sin(eta)/(cosh(ksi)-cos(eta))
I'm not sure what l is, and certainly not how to do the #declare
function {thing}.
As for the built in functions, you can only pass numbers to those, not
functions. I don't see how I can use them here.
sig.
Chris Huff wrote:
>
> If I understand what you mean, these already exist in the form of the
> built in functions(like "R", "TH", "PH", and whatever you can make with
> the trig functions like atan()). And you can construct your own
> functions to do whatever you want, just declare them.
> #declare WeirdCoordinateA = function {blahblah}
> #declare WeirdCoordinateB = function {blahblah}
> #declare WeirdCoordinateC = function {blahblah}
>
> Then just use these functions as returning the coordinate values for
> your function.
>
> --
> Chris Huff
> e-mail: chr### [at] yahoocom
> Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
|