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:12:52 EDT (-0400)
  Re: Equal distribution along stretched circle circumference - how to do it?  
From: Francois Dispot
Date: 29 Mar 2001 15:39:00
Message: <3AC3AB70.7FEA7CDC@club-internet.fr>
Christoph Hormann wrote:
> 
> Jan Walzer wrote:
> >
> > IIRC you have to do some integration ... don't ask me how ...
> >
> > All I can remember, was to start with the function for the path ...
> >
> >        /x\   /cos(t)*40\
> > P(t): ( y )=( sin(t)*20 )    // this should look like vectors
> >        \z/   \    0    /
> >
> > somehow you have now to integrate now for t
> > then you have to do something with this ...
> >
> 
> IIRC, integrating an elliptical curve is not possible in a mathematically
> exact way.  Not totally sure about it though.

Sure, no way. But you can try to approximate it using any numerical
integration method, even the most basic ones (split your ellipse in many
small segments...)

-- 

      __  __ __  __  _
|  | /  \  /  / |_  /  |/
\/\/ \__/ /_ /_ |__ \_ |\


Post a reply to this message

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