Hi, How to get/set the 'Corona Tone Mapping' MAXScript properties? We could not find any info on this.
you can find it under colorMap[...] from renderer settings
and you can set and change the operators from "colorMap_pipeline" as a Maxobject class. you will require to get in to the interface to change the pipeline and it is certainly not that beautiful in maxscript.
renderers.current.colorMap_pipeline
you can use nextoperator maxobject to add more operators as well, you have also have id for operators which is nice to set a nice order in operators as well. Additionally, you can access to all the parameters from each operators.
.colorMappingOperator_nextOperator
.colorMappingOperator_id
be aware that you will not be able to get the interface parameters at first in a default state. First, add more operators or alter any parameter in tone mapping settings then you can get all the parameters you need from its interface.
and I do not know why this is setup in this way but this is the way it works for me.
I hope we get a function to export ctm file I really would like to create a script for presets and also add more presets to corona frame buffer.
I check the ctm raw data and it appear really like the config file for framebuffer but it also a little bit different so I could not find a proper way to alter the data. so any guide for this would be also appreciate it.
I know that I can create presets now inside my script which I already did for some studios but it would be more efficient to add it properly to corona frame buffer so they do not open additional scripts just to change the presets.