POV-Ray : Newsgroups : povray.general : Sphere function : Re: Sphere function Server Time
29 Jul 2024 00:26:47 EDT (-0400)
  Re: Sphere function  
From: scott
Date: 11 Oct 2013 06:23:26
Message: <5257d19e$1@news.povray.org>
> I need a function to use in densities that is like the existing spherical
> density, but gets weaker based on the square of the distance instead of a linear
> radius.

Something like this:

#declare f_Example = function{ 1/(x*x + y*y + z*z) }


Post a reply to this message

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