POV-Ray : Newsgroups : povray.animations : Animation statistics analysis, help needed. Server Time
23 Nov 2024 17:27:52 EST (-0500)
  Animation statistics analysis, help needed. (Message 1 to 3 of 3)  
From: StephenS
Subject: Animation statistics analysis, help needed.
Date: 24 Feb 2006 06:23:38
Message: <43feecba$1@news.povray.org>
While running an animation I've used the following line
Statistic_File=Floorplan_F.txt, in the 'ini' file.

I would like to have a graph of the render times, to see what frames take up
the most time. Bonus points if I can selectively pick other interesting
stats as required.

What would be the best way to scan the resulting text file and extract this
information on a Win98 system?

Stephen


Post a reply to this message

From: Chris B
Subject: Re: Animation statistics analysis, help needed.
Date: 24 Feb 2006 07:17:12
Message: <43fef948$1@news.povray.org>
"StephenS" <sshonfield(at)ottawa(dot)net> wrote in message 
news:43feecba$1@news.povray.org...
> While running an animation I've used the following line
> Statistic_File=Floorplan_F.txt, in the 'ini' file.
>
> I would like to have a graph of the render times, to see what frames take 
> up
> the most time. Bonus points if I can selectively pick other interesting
> stats as required.
>
> What would be the best way to scan the resulting text file and extract 
> this
> information on a Win98 system?
>
> Stephen
>

Hi Stephen,

The best way depends on where your skills lie, what software you have 
available and how many times you are going to need to do it.

You need to:
1 - Pick out the values you need.
2 - Convert the 'hours', 'minutes', 'seconds' format into a single figure.
3 - Plot the results.

If you only need to do it once or twice I'd recommend using a decent text 
editor to select the lines you want. Then use columnar selection to select 
the column of data containing the hours and paste it into a spreadsheet 
column. Then do the same with the minutes and seconds and use a cell 
calculation to work out a single figure for the seconds for each frame. Use 
the spreadsheet graphing functions to draw your graph.

Otherwise pick a language and parse the file. I like Rexx as a nice user 
friendly scripting language (Regina is a free Rexx interpreter for Windows). 
With Rexx you could pick out the values you need in just a few lines of code 
and do the sums to work out a number of seconds. In fact with most languages 
you wouldn't need many lines of code to pick out the values. You can write 
out the totals into a Comma Separated Variable file and load it into a 
spreadsheet or use it with POV-Ray to draw a spline.

Regards,
Chris B.


Post a reply to this message

From: StephenS
Subject: Re: Animation statistics analysis, help needed.
Date: 24 Feb 2006 17:00:11
Message: <43ff81eb$1@news.povray.org>
...
> If you only need to do it once or twice I'd recommend using a decent text
> editor to select the lines you want. Then use columnar selection to select
> the column of data containing the hours and paste it into a spreadsheet
> column. Then do the same with the minutes and seconds and use a cell
> calculation to work out a single figure for the seconds for each frame.
Use
> the spreadsheet graphing functions to draw your graph.
...
I should have said I was useing POV-Ray 3.6.1b, which includes the total
seconds. This is the aproach I'll start with.

> Otherwise pick a language and parse the file.
...
This would be a better solution. I'm hoping to have 15 to 20 short
animations based on the same general scene, with the shortest being 800
frames minimum.

Stephen


Post a reply to this message

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