POV-Ray : Newsgroups : povray.general : Equal distribution along stretched circle circumference - how to do it? : Re: Equal distribution along stretched circle circumference - how to do it? Server Time
8 Aug 2024 01:17:48 EDT (-0400)
  Re: Equal distribution along stretched circle circumference - how to do it?  
From: David Fontaine
Date: 29 Mar 2001 18:02:51
Message: <3AC3BE64.7B625501@faricy.net>
x and z as a function of t:
x = 40 cos t
z = 20 sin t

arc length is the integral (sum) of distance formula (pythagorean theorem):
 /b   ___________________________
 |  \/(40 cos t)^2 + (20 sin t)^2 dt
 /a

find arc length of the total ellipse and divide by however many sections you want,
find where those arc
lengths are

this can only be done numerically. :( so Jan Cristoph & Francois are correct.

--
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

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