Author Topic: Is there a way outside of the CIE to read lightmix layer data?  (Read 173 times)

Yesterday at 12:34:28

Jpjapers

  • Active Users
  • **
  • Posts: 1734
    • View Profile
Im looking to write a photoshop script to use when bringing EXR(CXR) into photoshop to automate the setup of lightmix layers to match what we see in the CIE. This is so that people downstream in the pipeline are able to just open the exr and have it match what we were seeing by running the script. I want to be able to read the lightmix layer data such as intensity, tint and state. I know this is contained within the cxr files but im not sure how.
This is more a 'for the devs' question but are there any tools out there that can read this data from the file?

I thought it could be done just using a plain old conf file but they dont contain the layer name and when importing the exr into photoshop the layers revert to alphabetical order instead of the order from the lightmix panel.

Yesterday at 18:03:56
Reply #1

Avi

  • Corona Team
  • Active Users
  • ****
  • Posts: 830
    • View Profile
You can use python to get this information. Please find a simple script attached and a video showing how you can get the info out of a CXR+Conf file.

I hope this is what you were looking for. You will need to install python in your system to be able to run the script. If I mis understood you, let me know, I will try to get more info from our devs for you.

The solution i gave before will not work out of the box. I will try to find more about from our devs and update you.

Meanwhile, you can add your feature request here: https://chaoscorona.ideas.aha.io/ideas

« Last Edit: Yesterday at 19:16:08 by Avi »
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us

Today at 10:31:37
Reply #2

Jpjapers

  • Active Users
  • **
  • Posts: 1734
    • View Profile
You can use python to get this information. Please find a simple script attached and a video showing how you can get the info out of a CXR+Conf file.

I hope this is what you were looking for. You will need to install python in your system to be able to run the script. If I mis understood you, let me know, I will try to get more info from our devs for you.

The solution i gave before will not work out of the box. I will try to find more about from our devs and update you.

Meanwhile, you can add your feature request here: https://chaoscorona.ideas.aha.io/ideas

I ended up using python to extract the data with the openexr library anyway but thank you! I have added an idea already about including lightmix layer names in the config files.