# Getting statistics out of hdPrman

**URL:** <https://forum.aousd.org/t/getting-statistics-out-of-hdprman/2080>\
**Category:** Hydra\
**Tags:** rendering\
**Created:** [December 12, 2024, 8:31am UTC](https://forum.aousd.org/t/getting-statistics-out-of-hdprman/2080 "2024-12-12T08:31:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alasdairhitchen](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/alasdairhitchen/32/307_2.png) [@alasdairhitchen](https://forum.aousd.org/u/alasdairhitchen)\
**Post date:** [December 12, 2024, 8:31am UTC](https://forum.aousd.org/t/getting-statistics-out-of-hdprman/2080/1 "2024-12-12T08:31:29Z")

</div>

Hi everyone,  
Has anyone managed to get rendering statistics out of hdPrman? I have found the `HdRenderDelegate::GetRenderStats` virtual method but this doesn’t seem to be implemented for the render delegate, looking at the source in the USD repo. Is there an alternative solution?  
Specifically I’m after a “progress” statistic to give some indication of how close to convergence the render is.

TIA

---

<div class="post-metadata">

**Author:** ![blevin](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@blevin](https://forum.aousd.org/u/blevin)\
**Post date:** [February 6, 2025, 5:59pm UTC](https://forum.aousd.org/t/getting-statistics-out-of-hdprman/2080/2 "2025-02-06T17:59:09Z")

</div>

Hi Alasdair,

My understanding is that it’s still an open request to get progress feedback wired up back through Hydra API’s, e.g. where it could show up in a user interface.

One stop-gap measure we have used for tracking progress of long-running batch renders is HdPrman\_RenderParam::\_ProgressCallback():

> <https://github.com/PixarAnimationStudios/OpenUSD/blob/dev/third_party/renderman-26/plugin/hdPrman/renderParam.cpp#L3043C1-L3043C40>

This emulates some of the classical stdout progress reports we’ve gotten from RenderMan in the past, and which some of our studio tools already check for.

As for other statistics, we have been able to use the USD Ri schemas to request a .json format statistics file from RenderMan once rendering is complete; see “ri:statistics:jsonFilename” in the Renderman USD schemas here:

> <https://github.com/PixarAnimationStudios/OpenUSD/blob/dev/third_party/renderman-26/plugin/usdRiPxr/schema.usda#L1267>

hope this helps,  
-B
