Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: petrorosengren on 2017-03-23, 22:15:03

Title: Dont understand Corona Displacement
Post by: petrorosengren on 2017-03-23, 22:15:03
Hello!

I don't get the displacement function.
It seems that 50 % grey does not generate 0 mm displacement?
How does it work?

BR/
Title: Re: Dont understand Corona Displacement
Post by: romullus on 2017-03-23, 22:37:22
50% grey or RGB 128, 128, 128 does not displace geometry, yes. Just make sure that you have loaded your bitmap as linear (gamma 1.0), otherwise middle grey will be shifted.
Title: Re: Dont understand Corona Displacement
Post by: Ondra on 2017-03-23, 23:11:05
actually 50% displaces geometry with default settings - it depends on what the minimum and maximum values are se to. If minimum (black) value is set to 0 mm (default), then black is not displaced
Title: Re: Dont understand Corona Displacement
Post by: romullus on 2017-03-23, 23:33:20
Ouch, my bad, i should have check before responding. At least part about linear is correct :]
Title: Re: Dont understand Corona Displacement
Post by: petrorosengren on 2017-03-23, 23:36:06
Great, it was loaded with 2,2 and for example -100 black, 100 white. Still see a little shift but now it works!
Thank you very much! Sure did give me some headache
Title: Re: Dont understand Corona Displacement
Post by: petrorosengren on 2017-03-23, 23:39:24
Do you have any advice in what file format to use for best performance?
I use jpg 16 bit grayscale, 8000 x8000 pixels for 70m x70m square.

Should I subdived the plane or it doesn't matter?
Title: Re: Dont understand Corona Displacement
Post by: maru on 2017-03-27, 17:55:12
Subdividing the plane does not matter, as Corona's displacement is adaptive and it is calculated based on the max size controlled in the Render Setup > Performance tab.
It is best to use 32-bit files for displacement - they won't give you the visible banding or stepping on the displaced geometry, if the displacement is very tall.
Obviously, the higher resolution, the more detail you will get.
Also keep in mind that displacement should usually be used for bigger details, and bump maps should be used for smaller ones.