tomot
Joined: 21 Jul 2007 Posts: 23 Location: Vancouver
|
Posted: Tue Aug 21, 2007 5:10 pm Post subject: How to transcribe quations from POV? |
|
|
I'm having some difficulty getting the following equation from POV
into the format K3dSurf will read,
Code: | //Enneper Surface Calculations
#declare rmax=1.182;
#macro f(phi,r)
#local X=r*cos(phi)-pow(r,9)*cos(9*phi)/9;
#local Y=r*sin(phi)+pow(r,9)*sin(9*phi)/9;
#local Z=2*pow(r,5)*cos(5*phi)/5;
<X/rmax,Y/rmax,Z/rmax,mod2(phi/(2*pi),1)>
#end
ParametricPlot3D(0,2*pi,2*pi/180, 0,rmax,rmax/19) |
I'm guessing phi and pi are not the same? HELP  |
|