Forums

You are not logged in.

#1 2007-03-09 18:48:33

liu_0083
Member
Registered: 2007-02-07
Posts: 32

Render time in stat

For testing purpose I did a lot of test renders and always want to record the render time. There is no such information in the stat output so I wrote a few lines of mel to get the start time in Pre-render mel then calculate and display the time spent in Post-render mel in maya. But I have to do the render running maya because the mel can only output  in the maya output window. I'm using windows.

I wonder how can I directly modify the rib file, render in command line and also get the render time. Thanks.

Offline

 

#2 2007-03-12 08:02:45

olivier
3Delight Developer
Registered: 2007-01-09
Posts: 1930

Re: Render time in stat

Which stats are you looking at? The 3Delight statistics normally include the time it takes to render the image. You have to turn them on of course. If you're rendering from maya, you'll have to dump them into a file on windows to see them. You can find the options in the render pass node under the statistics tab.

Offline

 

#3 2007-03-12 20:03:49

liu_0083
Member
Registered: 2007-02-07
Posts: 32

Re: Render time in stat

Could you point out the time information?

Statistics for frame 1
* Stats for group Task Profiling :
   
    task                     user    kernel  real    calls
    other                    0.02    0.09    1.25    0
    REYES                    0.30    0.03    0.40    1
    Total :                  0.31    0.13    1.65    1

* Stats for group REYES (Statistics concerning REYES rendering module) :
    Total number of u-polygons :            26789
    Average number of u-polygons per grid : 159.458
   
    projected grids :                       168
    shaded grids :                          140
    displaced grids :                       0
   
    total primitives :                      1
    efficiently rejected prims :            0
   
    Number of non-empty buckets :           91
    Average # of objects per bucket :       15.0769
    Maximum # of objects in one bucket :    45
   
    Total trimming operations :             0
   
    Maximum u-polygon area :                1.25743
    Minimum u-polygon area :                0.000135241
    Average u-polygon area :                0.722822
   
    Distribution of u-polygon area
    +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
    |<=.06|<=.09|<=.12|<=.18|<=.25|<=.35|<=.50|<=.71|<=  1|<=1.4|<=  2|<=2.8|<=  4|<=5.7|>5.7 |
    +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
    |   2%| .75%| .99%| 1.7%| 2.5%| 3.9%| 7.7%|  18%|  55%|   8%|   0%|   0%|   0%|   0%|   0%|
    +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
   
    Distribution of fragment list lengths
    +-----+-----+-----+-----+-----+-----+-----+-----+-----+
    |<=  1|<=  2|<=  3|<=  4|<=  5|<=  6|<=  7|<=  8|>  8 |
    +-----+-----+-----+-----+-----+-----+-----+-----+-----+
    | 100%|   0%|   0%|   0%|   0%|   0%|   0%|   0%|   0%|
    +-----+-----+-----+-----+-----+-----+-----+-----+-----+

* Stats for group Map Manager (statistics about map resources) :
    Total number of maps used :        0
    Total number of texture maps :     0
    Total number of shadow maps :      0
    Total number of environment maps : 0
    Total number of deep shadow maps : 0
    Total number of 'invalid' maps :   0
    Total number of map requests :     0
    Texture IDs
    Texture stats
    ID      Refs    Same    Search  Faults  Rate    Mipmap (min) Mipmap (max)

* Stats for group Scene Manager (Statistics about the scene) :
    Number of objects in the scene :    3
    Number of attributes in the scene : 1
    Number of transforms in the scene : 1

Last edited by liu_0083 (2007-03-12 20:11:36)

Offline

 

#4 2007-03-13 04:32:59

diula
Member
Registered: 2007-01-27
Posts: 84

Re: Render time in stat

liu_0083 wrote:

Could you point out the time information?

Statistics for frame 1
* Stats for group Task Profiling :
   
    task                     user    kernel  real    calls
    ......
    Total :                  0.31    0.13    1.65    1

This is the render time in seconds

Offline

 

#5 2007-03-13 07:25:31

liu_0083
Member
Registered: 2007-02-07
Posts: 32

Re: Render time in stat

Oh thx. It's time to do an eye check.

Last edited by liu_0083 (2007-03-13 07:26:49)

Offline

 

Board footer

PunBB is © Copyright 2002–2005 Rickard Andersson

You are here: Resources » Forums
Follow us on Twitter
© 2006-2011 dna research. All Rights Reserved.
Trademarks & Copyrights Notices