Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: mrpixels on 2017-04-19, 10:53:08

Title: Corona Colour Picker
Post by: mrpixels on 2017-04-19, 10:53:08
1.6 Candidate 7 - Max 2017...

When choosing a colour (simple diffuse colour) using the corona improved picker; a dark black value for instance 17 and pressing OK. The colour will not be the same when clicking the swatch to go back to the picker.
Values under 20 seem to be changed to 21 and anything above seems to change very randomly. Not only 'blacks' but various values change when picking a saturated colour.
Title: Re: Corona Colour Picker
Post by: Ryuu on 2017-04-19, 11:29:06
Is it the same problem as this one? https://forum.corona-renderer.com/index.php/topic,14123.0.html (https://forum.corona-renderer.com/index.php/topic,14123.0.html)
Title: Re: Corona Colour Picker
Post by: mrpixels on 2017-04-19, 11:35:40
This does indeed describe the problem.

However, turning OFF the corona improved picker and using the default MAX picker. the issue does not present itself.
Title: Re: Corona Colour Picker
Post by: maru on 2017-04-19, 11:50:12
This is because of the difference between linear and sRGB color value representation. If you hover your mouse over the "sRGB" checkbox in the Corona Color Picker, you will be able to see a good explanation of what is going on under the hood.
You will always get the same value as input if you:
-disable the sRGB checkbox
-use the RGB sliders instead of the "value" slider in the color picker
-after clicking in the swatch again, you will need to disable the sRGB checkbox again - the color values will be then always consistent

Further info is available here: https://forum.corona-renderer.com/index.php/topic,13833
Title: Re: Corona Colour Picker
Post by: mrpixels on 2017-04-19, 12:09:19
1.6 Candidate 7.

Ok a test:
Set the value to 30, sets the RGB to 30, 30, 30

Uncheck the sRGB box, OK the dialogue.

Open the picker again, the value and RGB are now set to 28 and the sRGB box is checked again. Unchecking the box keeps the value at 28 and the RGB as 2, 2, 2.

If you say this is the way Max carries the colour over, then fine. It just seems a little strange to me that the colour that is set in a corona material cannot be absolute in some way.
Title: Re: Corona Colour Picker
Post by: Ondra on 2019-02-27, 18:39:08
Duplicate: https://forum.corona-renderer.com/index.php?topic=14123.0