Thomas de Groot <tho### [at] degroot org> wrote:
> Incidentally, replacing:
>
> #declare MinZ = floor(Min.z);
> #declare MinY = floor(Min.y);
> #declare MinX = floor(Min.x);
> #declare MaxZ = ceil(Max.z);
> #declare MaxY = ceil(Max.y);
> #declare MaxX = ceil(Max.x);
>
> by:
>
> #declare MinZ = Min.z;
> #declare MinY = Min.y;
> #declare MinX = Min.x;
> #declare MaxZ = Max.z;
> #declare MaxY = Max.y;
> #declare MaxX = Max.x;
>
> speeds up the parsing manifold. From a couple of minutes (Steps=0.01;)
> to a couple of seconds. Results are identical though it may generate
> problems of course where the the limit and the object are identical.
>
> --
> Thomas
That's HIGHLY unexpected, since it's only 6 rounding directives.
I only did that to give integers for referencing array items.
It's not like any of that gets looped... :O
Post a reply to this message
|