POV-Ray : Newsgroups : povray.text.scene-files : foreach macro : Re: foreach macro Server Time
23 Jun 2021 01:27:49 EDT (-0400)
  Re: foreach macro  
From: jr
Date: 8 May 2021 22:55:00
Message: <web.60974e5ed564bfd479819d986cde94f1@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> posting #4 of 'Foreach()', probably final.

posting a new version, #5.

some of the code has been refactored and tidied up.  many changes were
"cosmetic", there are now no comments within any macro, for instance, and the
layout of the '.Verbose' output has been adjusted.  all this has resulted in a
small, but measurable, improvement in "performance"; the 'n19tst.pov' posted
earlier in this thread went from ~4m7s to ~3m59s, and a "monkeyed" version, with
all comments and blank lines etc removed, saves another 6 seconds or so.

the optional '.Arg' has been .. de-coupled from its dependence on the '.Extra'
flag, providing additional flexibility from here on.

the html "man" page has been updated to reflect all changes, and another
(complete) demo scene has been added.  the 'fore_demo.pov' scene is now
accompanied by the (long) overdue 'fore_demo.ini' file.

feedback on how to make 'Foreach()' better will be appreciated.


enjoy, jr.


Post a reply to this message


Attachments:
Download 'foreach5.zip' (14 KB)

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