|
|
Hm. Didn't notice that one... Fumbling with
all kinds of stuff and overseeing the obvious!
I'm a little stressed, that's all I have to say for
an excuse.
Easiest method to solve the problem:
pow( abs(_light), int(_Pow)).
Got a little stuck with my thoughts somehow. :-/
--
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights
Email: Tim### [at] gmxde
>
> > My Specs:
> > Win2000, Athlon XP2400+, 786MB DDR
> >
> > So, here goes minimum code:
> >
> > #local _Light=-0.47443615353120855;
> > // <- Replace latest 7 with 69 or with 71 to see change
> > #local _Pow=1/0.49999999999999997227;
> > #local C_Spec=pow( _Light, _Pow );
> > #debug concat(str(abs(C_Spec),1,20),"\n")
> >
>
> To me it looks like you're trying to calculate a fractional power of a
> negative number... what do you expect to get as result?
>
>
> --
> POV-Ray Objects Collection: http://objects.povworld.org
Post a reply to this message
|
|