POV-Ray : Newsgroups : povray.advanced-users : Spherical isosurface : Re: Spherical isosurface Server Time
25 Apr 2024 23:11:39 EDT (-0400)
  Re: Spherical isosurface  
From: Bald Eagle
Date: 29 Nov 2016 15:05:00
Message: <web.583ddf60c3db15afc437ac910@news.povray.org>
Mike Horvath <mik### [at] gmailcom> wrote:

> > What would be a formula for a sphere? L should be latitude, H longitude,
> > and C radius.

https://en.wikipedia.org/wiki/Spherical_coordinate_system
Conversely, the Cartesian coordinates may be retrieved from the spherical
coordinates
https://wikimedia.org/api/rest_v1/media/math/render/svg/d7bcd516d317c31ac48ed36e2ead9537a5f16e2e

> Problem: L ranges from 0..100, and C ranges from 0..128, and I want to
> avoid generating a flattened ellipsoid.
>
> Mike

#declare C = C*(100/128);


Post a reply to this message

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