|
![](/i/fill.gif) |
Tom Melly wrote:
> "Trevor Quayle" <Tin### [at] hotmail com> wrote in message
> news:3bfe8291$1@news.povray.org...
>
>>Are you using windows or do you want it to be non-platform specific?
>>
>>
>
> Ideally NPS (which I could implement via perl). Is there anyway to get POV to
> return today's date as a string - it would be a nice feature for date/time
> stamping images anyway...
>
> Windows is what I use - the problems I have hit.
>
> 1. "date" requires a prompt from me ("Enter new date:") (although not at work,
> since there's a /t option). I've got around this by creating a file, and then
> piping a dir list of the file to another file, which then includes today's date.
As I mentioned in the p.international group a while ago, you can do
echo. | date | find "Current" > datefile.txt
echo. | time | find "Current" > timefile.txt
(The period has to be right next to "echo" for this to work)
> 2. POV won't read a string unless it is enclosed in quotes, so I've got no way
> of parsing the file in POV and I can't think of a batch command that will help
> quote strings/lines in a file....
>
That is still a problem, though.
--
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/* flabreque */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/* @ */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/* videotron.ca */}camera{location<6,1.25,-6>look_at a orthographic}
Post a reply to this message
|
![](/i/fill.gif) |