# Getting the colour configuration from Hydra

**URL:** <https://forum.aousd.org/t/getting-the-colour-configuration-from-hydra/1541>\
**Category:** Hydra\
**Created:** [May 21, 2024, 10:49pm UTC](https://forum.aousd.org/t/getting-the-colour-configuration-from-hydra/1541 "2024-05-21T22:49:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anderslanglands](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@anderslanglands](https://forum.aousd.org/u/anderslanglands)\
**Post date:** [May 21, 2024, 10:49pm UTC](https://forum.aousd.org/t/getting-the-colour-configuration-from-hydra/1541/1 "2024-05-21T22:49:19Z")

</div>

How does one get at the colour configuration specified in the stage or layer from Hydra? A quick grep of the code shows that `UsdStage::GetColorConfiguration()` isn’t called from anywhere aside from the wrappers and tests.

---

<div class="post-metadata">

**Author:** ![spiff](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/spiff/32/22_2.png) [@spiff](https://forum.aousd.org/u/spiff)\
**Post date:** [May 22, 2024, 9:49pm UTC](https://forum.aousd.org/t/getting-the-colour-configuration-from-hydra/1541/2 "2024-05-22T21:49:57Z")

</div>

That’s true, @anderslanglands … though with the upcoming (teaser) nanocolor integration work, the stage’s colorConfiguration and colorManagementSystem will no longer be germaine to anything other than post-rendering display transformations, such as those applied by usdview… which itself just currently assumes OCIO and reads the OCIO env vars for configuration…

---

<div class="post-metadata">

**Author:** ![anderslanglands](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@anderslanglands](https://forum.aousd.org/u/anderslanglands)\
**Post date:** [May 22, 2024, 10:03pm UTC](https://forum.aousd.org/t/getting-the-colour-configuration-from-hydra/1541/3 "2024-05-22T22:03:17Z")

</div>

Right. In our case we need to do the display transform “in render”, so having access to the config is essential. Would you be open to a PR that wired these through to Hydra?

---

<div class="post-metadata">

**Author:** ![tomc](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@tomc](https://forum.aousd.org/u/tomc)\
**Post date:** [September 20, 2024, 7:09pm UTC](https://forum.aousd.org/t/getting-the-colour-configuration-from-hydra/1541/6 "2024-09-20T19:09:25Z")

</div>

Sure, I think maybe the scene globals scene index is the correct place? Where we store frame and other things like that.
