POV-Ray : Newsgroups : povray.general : Need a function : Re: Need a function Server Time
30 Jul 2024 06:21:42 EDT (-0400)
  Re: Need a function  
From: Alain
Date: 29 Aug 2009 15:48:31
Message: <4a99860f$1@news.povray.org>
SharkD a écrit :
> 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

You can use a color_map.
You can use another wave form, it default to a ramp_wave. Try sine_wave.


Alain


Post a reply to this message

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