POV-Ray : Newsgroups : povray.general : Silly little feature request Server Time
10 Aug 2024 20:56:04 EDT (-0400)
  Silly little feature request (Message 4 to 13 of 13)  
<<< Previous 3 Messages Goto Initial 10 Messages
From: Alan Kong
Subject: Re: Silly little feature request
Date: 2 Dec 1999 16:27:04
Message: <71pd4sov2kpfovmll4bfubr1giva9d0eji@4ax.com>
On Thu, 2 Dec 1999 16:24:58 -0500, "TonyB" <ben### [at] panamaphoenixnet>
wrote:

>Huh? Could you explain how creating a file gives me the time?

  Time-date stamp?

-- 
Alan - ako### [at] povrayorg - a k o n g <at> p o v r a y <dot> o r g
http://www.povray.org - Home of the Persistence of Vision Ray Tracer


Post a reply to this message

From: TonyB
Subject: Re: Silly little feature request
Date: 2 Dec 1999 16:55:59
Message: <3846eaef@news.povray.org>
I know about that, but how is it accesible from POV?

Besides, you guys are proposing a work-around that requires (or so it seems)
a lot of work. Can't somebody just make it a built-in variable, like clock?
I mean, it has to exist for POV to report parse time, so you can just rewire
that number so that the user can access it. Right?


Post a reply to this message

From: Peter Popov
Subject: Re: Silly little feature request
Date: 2 Dec 1999 17:49:57
Message: <u=ZGOORR+Vrgh++nm260obAePMJu@4ax.com>
On Thu, 2 Dec 1999 16:58:20 -0500, "TonyB"
<ben### [at] panamaphoenixnet> wrote:

>I know about that, but how is it accesible from POV?
>
>Besides, you guys are proposing a work-around that requires (or so it seems)
>a lot of work. Can't somebody just make it a built-in variable, like clock?
>I mean, it has to exist for POV to report parse time, so you can just rewire
>that number so that the user can access it. Right?

Actually, it doesn't. POV starts the timer, does the initialization
stuff and goes on to parsing. After it's done parsing. it checks the
time, stores parsing time in total time, resets the counter and starts
rendering. After this has been done, it stops the timer, checks it,
remembers this as render time and adds it to total time. Provisions
are made for the case of animation.

On the other hand, it wouldn't be *that* hard to check the timer any
time during the parsing.


Peter Popov
pet### [at] usanet
ICQ: 15002700


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Silly little feature request
Date: 2 Dec 1999 18:01:07
Message: <3846fa33@news.povray.org>
In article <3846eaef@news.povray.org> , "TonyB" 
<ben### [at] panamaphoenixnet> wrote:

> I know about that, but how is it accesible from POV?

I didn't say so, I said: 'Of course you have to calculate the differences
manually'
The idea was that you don't have to wait for a patch ;-)


      Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Ken
Subject: Re: Silly little feature request
Date: 2 Dec 1999 18:23:16
Message: <3846FED6.8BC3AB0A@pacbell.net>
TonyB wrote:
> 
> I know about that, but how is it accesible from POV?
> 
> Besides, you guys are proposing a work-around that requires (or so it seems)
> a lot of work. Can't somebody just make it a built-in variable, like clock?
> I mean, it has to exist for POV to report parse time, so you can just rewire
> that number so that the user can access it. Right?

I'll tell you what I'm going to do... I have Bill's recent request for
a file associations change with the windows editor. I will lump your
request into Bill's and present it to the POV-Team at the appropriate
time. Chances are very good that you will not hear back on this but at
least I will make it part of the discision making process.

Fair enough ?

-- 
Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Chris Huff
Subject: Re: Silly little feature request
Date: 2 Dec 1999 18:56:39
Message: <chrishuff_99-B8ED15.18564902121999@news.povray.org>
Maybe a #timer feature. The syntax would be:
#timer TIMER_ID, "timer text" start|stop|pause

TIMER_ID would allow multiple timers. It would be used like this:

#timer 1, "start of tree timer, first tree" start

DoTree()

#timer 1, "finished with first tree" pause

DoOtherStuff()

#timer 1, "starting second tree" start

DoTree()

#timer 1, "finished with second tree" stop



The output would be like this:
START TIMER: 1|start of tree timer, first tree
parse time:xx hours, xx minutes, and xx seconds
timer time:xx hours, xx minutes, and xx seconds

PAUSE TIMER: 1|finished with first tree
parse time:xx hours, xx minutes, and xx seconds
timer time:xx hours, xx minutes, and xx seconds

START TIMER: 1|starting second tree
parse time:xx hours, xx minutes, and xx seconds
timer time:xx hours, xx minutes, and xx seconds

STOP TIMER: 1| finished with second tree
parse time:xx hours, xx minutes, and xx seconds
timer time:xx hours, xx minutes, and xx seconds


"parse time" would be the total duration of parsing up to that point, 
"timer time" would be the amount of time accumulated in that timer up to 
that point.
In the timer statement, "start" would start the time accumulating in the 
timer, "pause" would stop the time accumulation, and "stop" would do the 
same as "pause" but would also reset the timer accumulator to 0. They 
would output the text to the status window formatted something like the 
above, similar to #debug, #render, etc.

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: TonyB
Subject: Re: Silly little feature request
Date: 2 Dec 1999 19:21:37
Message: <38470d11@news.povray.org>
>Fair enough ?


=)


Post a reply to this message

From: TonyB
Subject: Re: Silly little feature request
Date: 2 Dec 1999 19:22:24
Message: <38470d40@news.povray.org>
>The idea was that you don't have to wait for a patch ;-)

You'll have to wait for me to (re)learn programming to get on that
bandwagon. =\


Post a reply to this message

From: TonyB
Subject: Re: Silly little feature request
Date: 2 Dec 1999 19:24:52
Message: <38470dd4@news.povray.org>
Sounds overly complex. Being variable like "clock", "parse_time" sounds
better to me, as the user can do what he/she wants with it.


Post a reply to this message

From: Charles Fusner
Subject: Re: Silly little feature request
Date: 4 Dec 1999 20:39:39
Message: <3849BD2D.CFA57237@enter.net>
TonyB wrote:
> 
> Sounds overly complex. Being variable like "clock", "parse_time" sounds
> better to me, as the user can do what he/she wants with it.

Now that's a good point: flexibility. 

It's been asked before to have access to the system clock for 
things like random seeding (although that's been shown to have an 
alternative), and such. If POV had a  built-in function that 
returned a variable or array containing the date/time at the moment 
that code was parsed, a macro which calculates time differential 
could coded from it pretty easily, but any additional uses (like 
time/date stamping file i/o blocks, or inserting creation dates as 
text objects within your scene, for example) and such would also be 
able to use the same function. It would be more generally useful.
No longer as "silly little" a feature request, therefore.

Charles


Post a reply to this message

<<< Previous 3 Messages Goto Initial 10 Messages

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