POV-Ray : Newsgroups : povray.general : Torus Equation : Re: Torus Equation Server Time
29 Jul 2024 14:16:30 EDT (-0400)
  Re: Torus Equation  
From: Justin Rogers
Date: 8 Jul 1998 05:35:35
Message: <35a32f57.0@news.povray.org>
y = sqrt( sqrt(4a^2(b^2-z^2)) + a^2 + b^2 - z^2 - x^2 )

simplify

y = sqrt(2a(b-z)) + a + b - z - x

Now that should be the right equation...  Don't quote me or anything.

--
_____________________________________
Justin Rogers, CEO DigiTec Web Consultants
Personal Programmer and Web Consultant
Email:  dig### [at] 3nnet
Thomas Jespersen wrote in message <357### [at] daimiaaudk>...
>Lars Luthman wrote:
>>
>> Hi!
>>
>> I'm just wondering if anyone has the equation for a torus? I've seen it
in
>> the doc file, but I would like to have it in this form: "y = ..."
>
>Here it is:
>
>(x^2 + y^2 + z^2 - (a^2 + b^2))^2 = 4a^2(b^2 - z^2)
>
>This torus is revolved around the z-axis. a is the radius of the torus
>and b is the radius of the circle revolving around the torus (sorry, I
>am not english, hope you understood!)


Post a reply to this message


Attachments:
Download 'Justin Rogers.vcf.txt' (1 KB)

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