POV-Ray : Newsgroups : povray.binaries.images : Antony Gormley simulation : Re: Antony Gormley simulation Server Time
14 Jul 2025 00:50:04 EDT (-0400)
  Re: Antony Gormley simulation  
From: Thomas de Groot
Date: 5 Dec 2017 03:23:49
Message: <5a265795@news.povray.org>
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


Post a reply to this message

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