Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: lolec on 2018-05-02, 18:49:35

Title: 1:1 Corona color RGB to Render.
Post by: lolec on 2018-05-02, 18:49:35
I'm using Corona MutiMap together with Corona Color to assign specific RGB values to hundreds of objects, I need to find a way for the render to represent the exact Corona Color RGB value in the output.

What material will render as the exact RGB value I assign to it ? I tried light, but of course not. Maybe something like a toon?

What I need:

Assign some kind of material to an object, use corona color to control the RGB value, let's say RGB 30,30,30, in the final render, the whole object should be RGB 30,30,30.


Hope this is possible! Thanks!
Title: Re: 1:1 Corona color RGB to Render.
Post by: romullus on 2018-05-02, 19:25:16
Use Corona light material for that. Uncheck emit light, plug CoronOutput (CoronaTonemapControl in v2) map into texmap slot and CoronaColor into its input, uncheck affect by VFB postprocessing. Make sure you don't use any luts in VFB. That should work.
Title: Re: 1:1 Corona color RGB to Render.
Post by: lolec on 2018-05-02, 19:59:49
Thanks Romulus, it doesn't seem to work :S

I'm sure I'm doing something wrong ..

Do I need V2 for that ?

Attached is an image of my setup and the max file, in case you have a minute to check it.

Thanks again!
Title: Re: 1:1 Corona color RGB to Render.
Post by: romullus on 2018-05-02, 20:50:02
I can't open your file, i'm using max 2016, but maybe your issue is that you're inputing values in RGB and Corona VFB reports them as sRGB? If you're using Corona colour picker, then enter colour values with sRGB checkbox ticked on. Would that solve the issue?
Title: Re: 1:1 Corona color RGB to Render.
Post by: lolec on 2018-05-02, 22:51:24
I was not using corona color picker, but disabling the "Input values are in linear color space" in the corona color did the trick !

I'm now struggling with anti alias. I need the cleanest possible edges, solid colors. If I set Image filter to none, I still get AA. The best result so far is using Tent and 1px width. Any advice on how to disable AA completely ?
Title: Re: 1:1 Corona color RGB to Render.
Post by: romullus on 2018-05-02, 23:52:40
To disable AA in Corona completely, you have to render image for a single pass. Set pass limit to 1 and hit render. There's no other way, i'm affraid.
Title: Re: 1:1 Corona color RGB to Render.
Post by: Frood on 2018-05-03, 08:41:07
There is a string option to disable AA, see

https://coronarenderer.freshdesk.com/support/solutions/articles/5000518663-string-options

"bool shading.enableAa = false"

Maybe that's what you want?

Good Luck

Title: Re: 1:1 Corona color RGB to Render.
Post by: Ondra on 2018-05-03, 19:26:00
I would do: