POV-Ray : Newsgroups : povray.advanced-users : Spherical isosurface : Spherical isosurface Server Time
26 Apr 2024 09:07:29 EDT (-0400)
  Spherical isosurface  
From: Mike Horvath
Date: 28 Nov 2016 18:42:34
Message: <583cc0ea$1@news.povray.org>
Clipka gave me these formulas to generate a cylindrical isosurface.

#declare fL = function(x,y,z) {y*100}
#declare fC = function(x,y,z) {sqrt(x*x+z*z)*128}
#declare fH = function(x,y,z) {atan2d(x,z)}

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

Thanks.


Post a reply to this message

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