POV-Ray : Newsgroups : povray.binaries.images : Antony Gormley simulation : Re: Antony Gormley simulation Server Time
13 Jul 2025 23:34:59 EDT (-0400)
  Re: Antony Gormley simulation  
From: Thomas de Groot
Date: 5 Dec 2017 07:45:33
Message: <5a2694ed@news.povray.org>
On 5-12-2017 13:35, Bald Eagle wrote:
> Thomas de Groot <tho### [at] degrootorg> 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
> 

Yes, I did not expect that at all either. I am baffled.

-- 
Thomas


Post a reply to this message

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