|
|
On 11-3-2013 21:37, Karl Anders wrote:
> Hi Thomas,
>
> first of all: great work !
Thanks!
> I had a SHORT look into your code and stumbled about a minor problem:
>
> quote:
> #while (Counter < Numbers)
>
> #local Scaling = 1.0;
> #if (Counter < Numbers*0.33) #local Scaling = 1.50; #end
> #if (Counter < Numbers*0.66) #local Scaling = 1.25; #end
>
> :endquote
> Scaling == 1.50 is NEVER used, because if the counter is less than 0.33*Numbers,
> it is also less than 0.66*Numbers, and then the second line sets Scaling == 1.25
> !
> These two lines have to be swapped or #elseif has to be used in the second line
> for the desired effect!
Oops! You are perfectly right. I did not think this through correctly.
>
> Sorry ;-)
That's all right :-) I tend to get blind to my own errors at some stage.
>
> Sadly I'm involved with too many other projects at the moment (most of them NOT
> raytracing-related) to play around with this...
Understandable. No problem.
Thomas
Post a reply to this message
|
|