POV-Ray : Newsgroups : povray.general : mathematically description of a sphere : Re: mathematically description of a sphere Server Time
9 Aug 2024 15:26:11 EDT (-0400)
  Re: mathematically description of a sphere  
From: Christoph Hormann
Date: 25 Jun 2000 08:24:02
Message: <3955F9E3.5C6E6E7E@schunter.etc.tu-bs.de>
Remco Poelstra wrote:
> 
> Hi,
> 
> How is a sphere mathematically described? I mean in a way like this:
> a line: <x,y,z>=<x,y,z>+t*<x,y,z>
> a plane: <x,y,z>=<x,y,z>+t*<x,y,z>+u*<x,y,z>
> 
> Remco Poelstra

It is not that common to describe a sphere this way (would require
cos/sin) so right now I really do not know it (anybody else ?).  

Most common (and usable for isosurfaces) is:

x*x + y*y + z*z = r*r    (r=sphere radius)

Christoph

--
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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