POV-Ray : Newsgroups : povray.general : HELP - Rotating Railing Posts around Scaled Cylinder Edge : Re: HELP - Rotating Railing Posts around Scaled Cylinder Edge Server Time
20 Apr 2024 02:40:50 EDT (-0400)
  Re: HELP - Rotating Railing Posts around Scaled Cylinder Edge  
From: Bald Eagle
Date: 28 Mar 2018 11:05:00
Message: <web.5abbaebf86273580c437ac910@news.povray.org>
https://en.wikipedia.org/wiki/Ellipse#Polar_form_relative_to_center

#declare r = ab / sqrt(b*pow(cos(theta),2) + a*pow(sin(theta),2)) / theta;

then translate by r, and rotate by degrees(theta)


Post a reply to this message

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