POV-Ray : Newsgroups : povray.newusers : Shell out from .pov? : Shell out from .pov? Server Time
28 Jul 2024 14:33:48 EDT (-0400)
  Shell out from .pov?  
From: Mathuin
Date: 4 Oct 2008 14:15:00
Message: <web.48e7b24847ab2629d8a103ef0@news.povray.org>
I have a number of small .pov files representing collections of objects.  I just
realized that I cannot rely upon the name of the file to represent the order --
but I can rely on the *timestamp* of the file.

Listing the files is easy -- "dir /b /od *.pov" for Windows, "ls -rt *.pov" for
Unix.  The real question is how do I get that information into POV-Ray elegantly
as a list of strings over which I can iterate?  Alternatively, I will have to
hand-build a list in my master .pov file and that just seems so ugly.

Thank you so much for all your help so far!


Post a reply to this message

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