Announcement

Collapse
No announcement yet.

Logging separate render calculation times

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Logging separate render calculation times

    Using Max 2012, Vray 2.30.01:
    Is there any way to automatically log the separate render calculation times such as those for Caustics, Light cache, Irradiance and the main render (when you see the buckets in the VFB), rather than just a single combined time as listed by Max or the %rendertime frame stamp?

    Perhaps a maxscript command exists to access this data?

    Thanks
    Graham
    Graham Macfarlane
    3D Studio Max, Vray and motion graphics specialist
    Elyarch Ltd - London UK

  • #2
    Unfortunately we do not have such functionality but there is a information about the amount of fired rays in the scene:
    Click image for larger version

Name:	35.JPG
Views:	1
Size:	83.5 KB
ID:	850193
    Svetlozar Draganov | Senior Manager 3D Support | contact us
    Chaos & Enscape & Cylindo are now one!

    Comment


    • #3
      Thanks Svetlozar,

      I’m not sure how easy this data would be to use but it’s still good to know.

      Since I am familiar with Maxscript, perhaps I could write a utility for this.
      During a Vray render is it possible to have a max script running simultaneously and have it catch and log the moment when a calculation process starts / finishes?
      Graham Macfarlane
      3D Studio Max, Vray and motion graphics specialist
      Elyarch Ltd - London UK

      Comment


      • #4
        I've just contacted one of our developers and he explained me that it is not possible to write such utility via maxscript.
        We could add this idea as a feature request but I don't know whether it will be developed or not.
        Svetlozar Draganov | Senior Manager 3D Support | contact us
        Chaos & Enscape & Cylindo are now one!

        Comment


        • #5
          Thank you for for the information.
          Graham Macfarlane
          3D Studio Max, Vray and motion graphics specialist
          Elyarch Ltd - London UK

          Comment


          • #6
            To run a maxscript simultaneously while rendering, you can execute the max quick render command from a secondary thread, using the backgroundworker, that will free the max from the rendering lock.
            Also reading the text from the console window, you may want to look in windows.getChildrenHWND and windows.sendMessage with <int message> WM_GETTEXT

            But the best way is to use a file watcher to check the log file not the console window itself.

            Comment

            Working...
            X