POV-Ray : Newsgroups : povray.general : HELP - Rotating Railing Posts around Scaled Cylinder Edge : Re: HELP - Rotating Railing Posts around Scaled Cylinder Edge Server Time
24 Apr 2024 22:16:41 EDT (-0400)
  Re: HELP - Rotating Railing Posts around Scaled Cylinder Edge  
From: clipka
Date: 28 Mar 2018 10:33:22
Message: <5abba7b2$1@news.povray.org>
Am 28.03.2018 um 06:22 schrieb Sven Littkowski:

> But what would be the formula for distribution, if the cylinder has been
> scaled unevenly, like this:
> 
> cylinder { < 0.0, 0.0, 0.0 > < 0.0, 1.0, 0.0 > scale < 0.5, 1.0, 1.0 > }
> 
> I need two algorithms:
> - one for placing each post by myself
> - one to place all posts with a WHILE loop

Google "equidistant points on ellipse" for a point to start.

Or go here, which is where google took me:

https://math.stackexchange.com/questions/172766/calculating-equidistant-points-around-an-ellipse-arc


Post a reply to this message

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