Get Lightmix from VFB

Hi

Im using AI to create an script where I could use the Lightmix info from VFB an apply to different cameras setups with its own values.

With the update in the docs from Corona 14 I could get it to work, but i cant sincronize the values I put from VFB to the script.

The AI tell me that that I can only write but not read the values, its there a workaround to do this?

So you would like to get some values from LightMix like LightSelect color and intensity? What other values?

also which light is turned on/off, those 3 values are the most important to preserve for each camera setup, is this pure AI bullshit or it is real? I was wondering if theres was a doc page that i missed to read.

Try the attached script. It extracts information from the existing LightMix setup, even when using multiple LightMixes.

This was written by Gemini 3.5 Thinking. I gave it the Corona MAXScript documentation page and readings from the macro recorded when toggling/setting color/intensity of different LightSelects in different LightMixes.

One can hate AI slop, and AI is surely controversial, but it is also absolutely mindblowing. The fact that I got a working script by just typing 2 messages is pure madness.

lightmix-extractor.zip (1.2 KB)

Thanks Marcin Ill give it a try, hope this works with the tool “im” creating with AI help

Absolutely, I have been asking Gemini to write me a lot of tools that 3ds Max dont have and it hhas been helping me a lot in my workflow.

Thank u so much Marcin, after a couple of tries I could make it work just like I wanted

The tool its pretty robust, now what im struggling is with Tone mapping but I think with a new chat with Gemini I could make it work from scratch.