|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
SharkD <mik### [at] gmailcom> wrote:
> 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
I had fun trying some variations on this theme.
cos(atan(r)) gives a much more satisfying decrease with distance.
a/(a+r) or a^(-r) will work too, but give a catastrophic drop-off.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |