POV-Ray : Newsgroups : povray.general : elongated torus? : Re: elongated torus? Server Time
30 Jul 2024 04:13:32 EDT (-0400)
  Re: elongated torus?  
From: Jaap Frank
Date: 27 Jun 2010 16:42:41
Message: <4c27b7c1$1@news.povray.org>
"waggy" <hon### [at] handbasketorg> schreef in bericht 
news:web.4c27982b751c630af99d05c80@news.povray.org...
> Jaap Frank wrote:
>>[snip]
> #local a=1;
> #local b=1;
> #local A=4; // Major radius of the swept elipse
> #local B=2; // Minor radius of the swept elipse
> #local tratio=a/b;
>
> #local c21=   pow(tratio,4);//ok
> #local c20= 2*pow(tratio,2)*(B*B-a*a);//ok
> #local c19=   pow(B*B-a*a,2);//ok
> #local c18= 2*pow(tratio,6) ;//ok
> #local c17= 2*pow(tratio,4);//ok
> #local c16=-2*pow(tratio,4)*( A*A+B*B -3*(B*B-a*a) );//ok
> #local c15=-2*pow(tratio,2)*( A*A-a*a +B*B-a*a -4*(A*B-a*a) );//ok
> #local c14= 2*pow(tratio,2)*( pow(B*B-a*a,2) -2*(B*B-a*a)*(A*A+a*a) );//ok
> #local c13= 2*(  (A*A-a*a) * (B*B-a*a) +2*pow(A-B,2)*a*a  )  ;//ok? 
> unclear
> where closing paren goes

At the end, so this is correct.

Will try this tomorrow evening myself.

I will publish more about these equations later on.

Jaap Frank


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.