POV-Ray : Newsgroups : povray.newusers : ellipse : Re: ellipse Server Time
30 Jul 2024 12:19:45 EDT (-0400)
  Re: ellipse  
From: HermanS
Date: 25 Mar 2004 08:57:47
Message: <MPG.1acd03c51f3bb02f98968e@news.povray.org>
Warp wrote:..
> Thorsten Froehlich <tho### [at] trfde> wrote:
> > > How can I make an ellipse (cylinderical)?
> 
> > You scale a sphere asymetrically.  I.e. add "scale <1,10,1>" to a sphere.
> 
>   Actually that's an ellipsoid.
>   (Colloquially, that is. I wouldn't bet my money on whether a
> mathematician would agree...)
> 
> 
Of course that's an ellipsoid. 
An ellipse is a curve. One can find many examples to represent a curve 
using povray. Best of all is starting with a parametrical representation 
for the curve. x = a*cos(t), z=b*sin(t), y=0 (0<=t<=2*pi) represents an 
ellipse in the (XZ)-plane with axes 2a and 2b.
One method to represent curves using povray consists in constructing 
small cylinders, an other method in constructing small spheres in 
neighbouring points.
-- 
home page: http://cage.ugent.be/~hs


Post a reply to this message

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