Chaos Corona Forum

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

Title: Creating underwater Scene
Post by: AnubisMe on 2014-03-22, 02:15:15
hey all, I am just wondering if its possible to make a underwater based scene with Corona yet? Caustics, volume fog ect. Right now I am not to sure how to go about it yet. Any advice would be appreciated.
Title: Re: Creating underwater Scene
Post by: Juraj on 2016-01-04, 18:38:40
I am bumping this up because I need to do something similar right now and I've seen Maru post some experimental example somewhere on the forum :- ) Can't find it...
Title: Re: Creating underwater Scene
Post by: FrostKiwi on 2016-01-04, 20:15:45
hey all, I am just wondering if its possible to make a underwater based scene with Corona yet? Caustics, volume fog ect. Right now I am not to sure how to go about it yet. Any advice would be appreciated.
Cheap fakes:
Download a caustics texture and let it render as a textured Corona light = Caustics + reflections and illumination from those and no extreme render times.
Do a Zdepth Pass only for below the water and grade/work it in post.

More elaborate:
from the water surface create a Water Volume and do a Corona Volumetric Mtl. This will give you lightrays (from particles in the water). This will work with the caustics fake from above! So it will be caustic lightrays, including reflections and such and should work.

Difficult:
Combine with a particle system to give lightrays from CoronaVolumetricMtl. some life.

(just some thoughts)
Title: Re: Creating underwater Scene
Post by: romullus on 2016-01-04, 20:45:51
I am bumping this up because I need to do something similar right now and I've seen Maru post some experimental example somewhere on the forum :- ) Can't find it...

Must be here: https://forum.corona-renderer.com/index.php/topic,9728.msg67864.html#msg67864
Title: Re: Creating underwater Scene
Post by: Juraj on 2016-01-04, 22:36:00
Thanks Romullus :- )

I see issue with that given it uses global material. It works for underwater, but what about image that shows both at same time (split horizontally), under and above water ?

Currently necessary to do it in parts ?

I will of course, use every PS trick under sun, but I still would like the most streamlined solution because it quite makes difference.

(http://piximus.net/media/20439/half-and-half-1.jpg)
Title: Re: Creating underwater Scene
Post by: romullus on 2016-01-05, 09:01:53
For such shot i would go traditional way, i.e. model water as big box and assign water material.

BTW, picture in your example is clearly a composite of two separate photographs ;]
Title: Re: Creating underwater Scene
Post by: Juraj on 2016-01-05, 11:18:39
:- ) I just googled first split image that came up.

I wonder then what the original issue was, as it came up quite few times. Creating decently large volume seemed like too obvious solution, so I thought that there would be some issue. Or is the issue only when looking up into surface ?
Title: Re: Creating underwater Scene
Post by: Juraj on 2016-01-05, 11:24:43
I will milk this topic slightly more :- )

Philosophical question of dumb person:

Is material underwater, created as coated wet material ? with darker albedo and that kind of stuff ? Like wet material above ? Or something completely different to maintain the illusion ?

For example, underwater ocean sand.
Title: Re: Creating underwater Scene
Post by: maru on 2016-01-05, 12:21:15
I think there might be some black magic going on under water. Take a look at the photos of coral reef, fish, turtles, or even stones/pebbles underwater, or seen under the water surface from above. There are almost no reflections visible.
Title: Re: Creating underwater Scene
Post by: Juraj on 2016-01-05, 12:28:36
True. The coating is after all part of the overall volume. But does the renderer account for this directly or is such close surface interaction bit outside of it reach ? Well, I'll stick to purely diffuse for now.
Title: Re: Creating underwater Scene
Post by: romullus on 2016-01-05, 13:21:31
I wonder then what the original issue was, as it came up quite few times. Creating decently large volume seemed like too obvious solution, so I thought that there would be some issue. Or is the issue only when looking up into surface ?

I think this idea originated from that discussion about IOR: https://forum.corona-renderer.com/index.php/topic,10383.0.html
Title: Re: Creating underwater Scene
Post by: Juraj on 2016-01-06, 21:56:54
Rendering water stuff really brings out the fact that no caustics at all are possible with Corona currently : /

Yes the fake gives easier, creative results but still..

Edit: O shit, BIDIR still works. Holy Hell ! This stuff needs to get merged....

I mean it only works when I am actually under-water and still can't produce anything if I try to look from above...but very nice otherwise.

Edit2: Just read BIDIR doesn't support absorption :- ( back to zero.. (or using Boris's compositing method and masking it with z-depth to get Absorbtion in caustics)
Title: Re: Creating underwater Scene
Post by: spadestick on 2016-01-07, 08:05:48
One thing I learned is that water material has a "fog property" within the material and not just a tint or diffuse colour.

Like the sand on a tropical clear beach, as the water gets deeper the blue becomes deeper.
Title: Re: Creating underwater Scene
Post by: FrostKiwi on 2016-01-07, 08:12:29
One thing I learned is that water material has a "fog property"
And Corona Mtl has a "absorption" property :]
Title: Re: Creating underwater Scene
Post by: maru on 2016-01-07, 13:28:35
One thing I learned is that water material has a "fog property" within the material and not just a tint or diffuse colour.

Like the sand on a tropical clear beach, as the water gets deeper the blue becomes deeper.
Actually absorption should only be used, unless:
-the water has a layer of some dirt on the surface - use diffuse then, otherwise use pure black, or 0 diffuse level
-the water is colored - then use tint (refraction color)
Title: Re: Creating underwater Scene
Post by: spadestick on 2016-01-07, 14:41:43
so I guess this is possible with absorption? The steps get more blue as they go deeper... replicable effect?
Title: Re: Creating underwater Scene
Post by: maru on 2016-01-07, 14:51:34
Sure. Absorption only. The caustics would be a bit more tricky in Corona. ;)
Title: Re: Creating underwater Scene
Post by: maru on 2016-01-15, 17:51:25
I made this, maybe someone will find it useful?
https://forum.corona-renderer.com/index.php/topic,10779.msg68878.html#msg68878
Title: Re: Creating underwater Scene
Post by: bastille on 2018-10-16, 13:14:17
I am bumping this up again because I need to do something similar. Do you think corona would be able to render something like the attach file? I know it's done with photoshop but in my case , I wil l need to do it in 3D.
Thank's for any help
Pierre
Title: Re: Creating underwater Scene
Post by: maru on 2018-10-16, 18:24:02
I am bumping this up again because I need to do something similar. Do you think corona would be able to render something like the attach file? I know it's done with photoshop but in my case , I wil l need to do it in 3D.
Thank's for any help
Pierre
Corona - no.
Skilled artist with Corona - yes. :)