![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I meant to say the minus signs in the "date" command...
...maybe there isn't a way around that.
Bill DeWitt <the### [at] earthlink net> wrote in message
news:382755b1@news.povray.org...
>
> OK, another one. I found the macro to get the time using the #fopen
> directive, but I can't find the gettime.bat that it uses. Almost certainly
> lost with the hard drive.
>
> It was a batch file to write to a file called gottime.txt I wrote a batch
> file to pipe the "time" command to that file but it doesn't seem to write
it
> correctly. I get a type mismatch error, probably because of the minus
signs
> in the text string.
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
mr.art wrote:
>I think that I got my copy from ????
>I know that I made adjustments and then
>sent it back to him and the ng's but his
>name escapes me. I will dig my copy off
>the HD and email you.
>Mr. Art
Lets see...
I originally made it as an include file.
Then you (Mr. Art) made it into a macro.
Bill, if you want to make it back into
an include file I can send you the
original include file if you are
interested.
What exactly will your include file be
doing?
Greetings,
Rune
---
Updated October 17: http://rsj.mobilixnet.dk
Containing 3D images, stereograms, tutorials,
The POV Desktop Theme, 350+ raytracing jokes,
miscellaneous other things, and a lot of fun!
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Rune <run### [at] iname com> wrote
>
> Bill, if you want to make it back into
> an include file I can send you the
> original include file if you are
> interested.
Well, I already rewrote it but I would like to see your original if you
don't mind.
> What exactly will your include file be
> doing?
I want to Stamp date, time, frame #, file name and copyright information in
small text at the bottom of each frame or image. I am setting up a stack of
.ini files and batch files and .inc files to do this. Any suggestions would
be appreciated.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I have that. Here 'tis:
@echo off
echo " > gottime.txt
echo | more | time | find "Current" >> gottime.txt
echo "; >> gottime.txt
c:\progra~1\pov-ra~1.1\bin\pvengine.exe /render
c:\progra~1\pov-ra~1.1\scenes\gettime.pov
exit
Save as Gettime.bat
Bob
Bill DeWitt <the### [at] earthlink net> wrote in message
news:38275699@news.povray.org...
> I meant to say the minus signs in the "date" command...
> ...maybe there isn't a way around that.
>
> Bill DeWitt <the### [at] earthlink net> wrote in message
> news:382755b1@news.povray.org...
> >
> > OK, another one. I found the macro to get the time using the #fopen
> > directive, but I can't find the gettime.bat that it uses. Almost
certainly
> > lost with the hard drive.
> >
> > It was a batch file to write to a file called gottime.txt I wrote a
batch
> > file to pipe the "time" command to that file but it doesn't seem to
write
> it
> > correctly. I get a type mismatch error, probably because of the minus
> signs
> > in the text string.
> >
> >
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I forgot the quotes, it works great now.
Next question, is there anyway to get the name of the file that is being
parsed and #declare it as a text string to be read in that file? So that I
can lable my images with the file name without having to type it in
everytime I render an incremented file name?
Uh, more importantly, is there a fix for the Help file? Mine is almost
unusable as it is...
omniVERSE <inv### [at] aol com> wrote in message
news:3827605a@news.povray.org...
> I have that. Here 'tis:
>
> @echo off
> echo " > gottime.txt
> echo | more | time | find "Current" >> gottime.txt
> echo "; >> gottime.txt
> c:\progra~1\pov-ra~1.1\bin\pvengine.exe /render
> c:\progra~1\pov-ra~1.1\scenes\gettime.pov
> exit
>
> Save as Gettime.bat
>
> Bob
>
> Bill DeWitt <the### [at] earthlink net> wrote in message
> news:38275699@news.povray.org...
> > I meant to say the minus signs in the "date" command...
> > ...maybe there isn't a way around that.
> >
> > Bill DeWitt <the### [at] earthlink net> wrote in message
> > news:382755b1@news.povray.org...
> > >
> > > OK, another one. I found the macro to get the time using the #fopen
> > > directive, but I can't find the gettime.bat that it uses. Almost
> certainly
> > > lost with the hard drive.
> > >
> > > It was a batch file to write to a file called gottime.txt I wrote a
> batch
> > > file to pipe the "time" command to that file but it doesn't seem to
> write
> > it
> > > correctly. I get a type mismatch error, probably because of the minus
> > signs
> > > in the text string.
> > >
> > >
> >
> >
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Tue, 9 Nov 1999 00:01:25 -0500, Bill DeWitt wrote:
>Next question, is there anyway to get the name of the file that is being
>parsed and #declare it as a text string to be read in that file? So that I
>can lable my images with the file name without having to type it in
>everytime I render an incremented file name?
You could certainly put it in the same file you're putting the time in.
If you make it an argument to the batch file, you can output it to the
file and run the script without having to type it twice, e.g.:
@echo off
echo " > gottime.txt
echo | more | time | find "Current" >> gottime.txt
echo "; >> gottime.txt
echo " >> gottime.txt
echo %1 >>gottime.txt
echo "; >>gottime.txt
c:\progra~1\pov-ra~1.1\bin\pvengine.exe /render %1
exit
The original version of this batch file doesn't work on NT, by the
way, so I haven't been able to test it.
--
These are my opinions. I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thanks, that's what I've been doing, using the "%s" string substitution. I
was hoping there was a more direct way.
Ron Parker <ron### [at] povray org> wrote in message
news:38282bf0@news.povray.org...
> On Tue, 9 Nov 1999 00:01:25 -0500, Bill DeWitt wrote:
> >Next question, is there anyway to get the name of the file that is being
> >parsed and #declare it as a text string to be read in that file? So that
I
> >can lable my images with the file name without having to type it in
> >everytime I render an incremented file name?
>
> You could certainly put it in the same file you're putting the time in.
> If you make it an argument to the batch file, you can output it to the
> file and run the script without having to type it twice, e.g.:
>
> @echo off
> echo " > gottime.txt
> echo | more | time | find "Current" >> gottime.txt
> echo "; >> gottime.txt
> echo " >> gottime.txt
> echo %1 >>gottime.txt
> echo "; >>gottime.txt
> c:\progra~1\pov-ra~1.1\bin\pvengine.exe /render %1
> exit
>
> The original version of this batch file doesn't work on NT, by the
> way, so I haven't been able to test it.
>
>
> --
> These are my opinions. I do NOT speak for the POV-Team.
> The superpatch: http://www2.fwi.com/~parkerr/superpatch/
> My other stuff: http://www2.fwi.com/~parkerr/traces.html
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Sorry, but what the heck is this?
_________________
greg, an ignorant non-command-line pov'er.
omniVERSE wrote:
> I have that. Here 'tis:
>
> @echo off
> echo " > gottime.txt
> echo | more | time | find "Current" >> gottime.txt
> echo "; >> gottime.txt
> c:\progra~1\pov-ra~1.1\bin\pvengine.exe /render
> c:\progra~1\pov-ra~1.1\scenes\gettime.pov
> exit
>
> Save as Gettime.bat
>
> Bob
>
> Bill DeWitt <the### [at] earthlink net> wrote in message
> news:38275699@news.povray.org...
> > I meant to say the minus signs in the "date" command...
> > ...maybe there isn't a way around that.
> >
> > Bill DeWitt <the### [at] earthlink net> wrote in message
> > news:382755b1@news.povray.org...
> > >
> > > OK, another one. I found the macro to get the time using the #fopen
> > > directive, but I can't find the gettime.bat that it uses. Almost
> certainly
> > > lost with the hard drive.
> > >
> > > It was a batch file to write to a file called gottime.txt I wrote a
> batch
> > > file to pipe the "time" command to that file but it doesn't seem to
> write
> > it
> > > correctly. I get a type mismatch error, probably because of the minus
> > signs
> > > in the text string.
> > >
> > >
> >
> >
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Greg M. Johnson" wrote:
>
> Sorry, but what the heck is this?
>
It is a dos batch file to copy the system time to a text file so that I
can read it with povray and use it in the scene.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thanks for answering Greg, Bill. Yep, indeed, a simple DOS command-line
batch file is all. The other part needed is the gettime.pov, or contents
thereof, and I've also made a INI to go with to make it all work as
intended.
I'll upload the zip of these three files to p.b.s-f group shortly, since the
original was meant for running from DOS and these allow to run from POV.
Bob
Bill DeWitt <the### [at] earthlink net> wrote in message
news:382B3E2A.340A0343@earthlink.net...
> "Greg M. Johnson" wrote:
> >
> > Sorry, but what the heck is this?
> >
>
> It is a dos batch file to copy the system time to a text file so that I
> can read it with povray and use it in the scene.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |