Author Topic: Looking for clarity on Color Management in 3ds Max 2025+ with Corona 13  (Read 992 times)

2025-08-11, 12:54:20
Reply #15

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 6176
    • View Profile
It's visible for voting :)
Tom Grimes | chaos-corona.com
Product Manager | contact us

Yesterday at 10:53:03
Reply #16

mase

  • Active Users
  • **
  • Posts: 114
    • View Profile
Interested to hear what other TM setups are you using (since you've mentioned that slapping AGX TM is only necessary for certain cameras)?

I'm also a big fan of 2 LUT AgX tonemapping setup that was shared in this forum, and I believe combined with Tone Curve it pretty much works in any kind of scenario (at least visually speaking). I also hear that some people use ACES / AgX interchangeably, depending on lighting situation, so I'm always very eager to know what other TM setups are people using out there (of course, if it's not a company secret or something).

And I guess to relate to the thread, I would also assume that most studios / artists who mainly produce archviz don't need to mess with color management settings besides simply keeping their monitors calibrated and using those profiles correctly.

Yesterday at 14:47:43
Reply #17

Aram Avetisyan

  • Corona Team
  • Active Users
  • ****
  • Posts: 946
    • View Profile


Cheers, thanks for doing that. Just for the sake of clarity, we're just looking for a really quick and simple way to load in custom ToneMapping setups, mostly just to get the AGX workflow going (which requires two LUTs to be loaded and other things to be present in the stack). But currently this isn't accessible via scripting. That's the goal - just a dead simple script button we can hit to whack a TM stack onto selected cams.
[/quote]

Hi Alex,

Given that you have saved the custom tone mapping to a file (btw it is possible since Corona 12 via maxscript by:
Code: [Select]
CoronaRenderer.CoronaFp.savePostSettings <filepath> command), you can use this script to load it first to global tonemapping, then copy to selected cameras. This is a quick and simple way, as you mentioned :) Probably the ultimate thing will be a button in toolbar, which adds the two LUTs of yours to selected cameras. For this a bit more complex code is needed.

Code: [Select]
--Save current global tone mapping, just in case
initColorMap = renderers.current.colormap_pipeline
initColorMapFile = CoronaRenderer.CoronaFp.savePostSettings "path\to\test_post.conf"

--load saved custom config file to global tone mapping
newCoronaMap = CoronaRenderer.CoronaFp.loadPostSettings "path\to\cam_post.conf"
toCopy = renderers.current.colormap_pipeline

--copy to selected CoronaCameras

for cam in selection do (
if classOf cam == CoronaCam then (
cam.colorMappingPipeline = toCopy
cam.colorMappingOverride = true
)
)

just change the paths and it's ready.

Hope this works for you.
Aram Avetisyan | chaos-corona.com
Chaos Corona QA Specialist | contact us