POV-Ray : Newsgroups : povray.general : Need a function : Re: Need a function Server Time
30 Jul 2024 06:21:53 EDT (-0400)
  Re: Need a function  
From: SharkD
Date: 28 Aug 2009 03:47:38
Message: <4a978b9a$1@news.povray.org>
SharkD wrote:
> I need a function similar to spherical, except where the strength drops 
> off at a different (i.e. nonlinear) rate:
> 
>     Strength = sin(acos(Radius))
> 
> I'm not sure how to implement it in POV SDL though...
> 
> -Mike

Err... I *think* this is how to do it:

function {sin(acos(f_r(x,y,z)))}

Correct?

-Mike


Post a reply to this message

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