How to transcribe quations from POV?

 
Post new topic   Reply to topic    K3DSurf forum Forum Index -> K3DSurf math related questions
View previous topic :: View next topic  
Author Message
tomot



Joined: 21 Jul 2007
Posts: 23
Location: Vancouver

PostPosted: Tue Aug 21, 2007 5:10 pm    Post subject: How to transcribe quations from POV? Reply with quote

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 Smile
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    K3DSurf forum Forum Index -> K3DSurf math related questions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


2005 Powered by phpBB © 2001, 2005 phpBB Group


Start Your Own Video Sharing Site

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com