Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Tutorials & Guides => Topic started by: Sam75 on 2012-11-18, 20:34:03

Title: Volumetric Lights trick
Post by: Sam75 on 2012-11-18, 20:34:03
Just a trick so it's fake until Keymaster add proper atmospheric effects to Corona.


The trick is to use an animated plane with a pure white material and use the motion blur effect.

I recommend to make a separate pass for the effect, use an override black material on everything (but the plane obviously). For the comp part I get a good result in photoshop with linear dodge at 25%.
Title: Re: Volumetric Lights trick
Post by: racoonart on 2012-11-18, 20:43:59
A little example made with this technique (raw rendering directly with gi etc, no compositing)
Title: Re: Volumetric Lights trick
Post by: Sam75 on 2012-11-18, 20:59:02
A little example made with this technique (raw rendering directly with gi etc, no compositing)

Could you give it a try with 2 passes and photoshoping ?
Title: Re: Volumetric Lights trick
Post by: racoonart on 2012-11-18, 21:02:33
I will later, but not with photoshop (i hate ps and I'd rather crawl 1000 miles than using it ;) ).
I'm pretty happy with using it in beauty renderings, but there are some scene which would profit from the other method.
Title: Re: Volumetric Lights trick
Post by: maru on 2012-11-18, 21:23:09
This is so much fun, but I've just created a masterpiece and want to animate it but somethin's wrong and I'm getting really frustrated.

ok.jpg is what happens when I press F9 (good)
bu.jpg is what happens when I press "render" to render a 300 frames time segment, just some random dots and it progresses REALLY SLOW, WTF?

It's not connected with motion blur, same thing when I turn MB off. Tried changing lots of options, nothing helps.....
Title: Re: Volumetric Lights trick
Post by: Sam75 on 2012-11-18, 21:30:24
This is so much fun, but I've just created a masterpiece and want to animate it but somethin's wrong and I'm getting really frustrated.

ok.jpg is what happens when I press F9 (good)
bu.jpg is what happens when I press "render" to render a 300 frames time segment, just some random dots and it progresses REALLY SLOW, WTF?

It's not connected with motion blur, same thing when I turn MB off. Tried changing lots of options, nothing helps.....

Can you post the scene ?
Title: Re: Volumetric Lights trick
Post by: maru on 2012-11-18, 21:36:32
Here you go, just don't steal my idea, it's copyrighted.
Title: Re: Volumetric Lights trick
Post by: maru on 2012-11-18, 21:38:13
Damn, I think cycle controller is the reason. It renders fine when I delete the moving plane...

update: nope... maybe material?

update: yup, it was the CoronaColorMapper map, damn you CoronaColorMapper, you were so sexy!

update: nope, it's something different... this happens every time I drop something into "opacity" map. shit.
Title: Re: Volumetric Lights trick
Post by: Sam75 on 2012-11-18, 22:01:03
Can you tell how you duplicated the plane animation, copied/pasted keys ?
Title: Re: Volumetric Lights trick
Post by: maru on 2012-11-18, 22:02:00
Already changed the plane's animation. Didn't help. It's connected with the map in "opacity" slot for sure....
More precisely, this happens when you insert an animated map in opacity slot.

KEEEEEEEYYYYYMAAAAAAAAAAASTEEEEEEEEEEEEEEEEEEEEERRRRRRR!

But now I inserted a "smoke" map and it works fine, even animated. I'm so confused.
Title: Re: Volumetric Lights trick
Post by: racoonart on 2012-11-19, 11:17:10
By the way, it helps a lot to activate translucency when your light is NOT coming from camera direction :D . Took me a ridiculous amount of renderings to find out why my light is not appearing ;)
Title: Re: Volumetric Lights trick
Post by: maru on 2012-11-19, 13:17:17
Here's an animation I rendered last night. I thought these "clouds" would cast some fancy volumetric shadows, but this requires some more tweaking. The clouds map was also animated, I wanted it to look like moving fog, by for some reason Corona doesn't let procedurals maps move.

I wonder if anyone guesses how it's done. :)
Title: Re: Volumetric Lights trick
Post by: Ondra on 2012-11-19, 13:27:07
scattered billboards?
Title: Re: Volumetric Lights trick
Post by: Ludvik Koutny on 2012-11-19, 13:34:57
My guess would be world space procedural map mapped on the motion blurred plane :)
Title: Re: Volumetric Lights trick
Post by: maru on 2012-11-19, 13:39:50
Rawalanche wins. It's an opacity map and the plane is moving up and down. Actually I've already told everything in this tread.

Reminds me of clouds from Terragen (you know Terragen, right?). Don't know why but for me it's always fun to play with volumetric effects.
Title: Re: Volumetric Lights trick
Post by: Ludvik Koutny on 2012-11-19, 23:47:22
Btw, there indeed is a slow convergence bug that produces slow rendering and white dots when mapping opacity :) It has been solved in recent nightly i believe :)
Title: Re: Volumetric Lights trick
Post by: Chakib on 2012-11-20, 20:26:03
Btw, there indeed is a slow convergence bug that produces slow rendering and white dots when mapping opacity :) It has been solved in recent nightly i believe :)

is it also solved for the legacy build ?
Title: Re: Volumetric Lights trick
Post by: maru on 2012-11-20, 20:31:01
.
Title: Re: Volumetric Lights trick
Post by: Javadevil on 2012-11-23, 06:05:33
Love that last one Maru !!

Title: Re: Volumetric Lights trick
Post by: maru on 2012-11-23, 11:27:57
The only problem is that render time is 15h and it's still noisy.
Title: Re: Volumetric Lights trick
Post by: Correntes on 2013-10-12, 12:45:00
Can someone elaborate a little more about this technic?

I'm trying to get volumetric light passing thru trees.

I didn't get what direction and position that the white plane must have.
Title: Re: Volumetric Lights trick
Post by: Polymax on 2013-10-12, 20:54:15
My attempt. It's not that difficult.
Title: Re: Volumetric Lights trick
Post by: Correntes on 2013-10-13, 20:32:47
Hi Polymax,

Can you elaborate how you did it ?

Title: Re: Volumetric Lights trick
Post by: maru on 2013-10-13, 21:35:14
Does it even make any difference whether you set the plane perpendicular to camera or lights or just in some random direction?
Title: Re: Volumetric Lights trick
Post by: Polymax on 2013-10-13, 21:48:26
plane must look at cam. And I use opacity for the planes.
Title: Re: Volumetric Lights trick
Post by: boumay on 2014-02-10, 19:21:55
Sorry for the noob question but can you expain the workflow, I didn't get it.
White plane animated, in which direction, planes dimensions, angle?
thank you
Title: Re: Volumetric Lights trick
Post by: Tweekazoid on 2014-05-04, 16:01:56
(http://img.photobucket.com/albums/v201/premetprekennapodlaha/stol_6_zpsdd656586.jpg)

522 passes ... neat trick but not really that useful.
and get this work for animation is impossible
Title: Re: Volumetric Lights trick
Post by: maru on 2014-05-04, 22:03:16
(http://img.photobucket.com/albums/v201/premetprekennapodlaha/stol_6_zpsdd656586.jpg)

522 passes ... neat trick but not really that useful.
and get this work for animation is impossible
How long did it take? I bet you don't need so many passes so you could try increasing GI samples. But yeah, it's not very usable anyway. :)
Title: Re: Volumetric Lights trick
Post by: Tweekazoid on 2014-05-04, 22:50:58
cca 20 minutes, yeah i think I had about 4 GI/aa. so that could be better
Title: Re: Volumetric Lights trick
Post by: melvin_uspo on 2014-06-14, 23:43:37
Hello,
I've tried and tried and tried but I really cant figure out how this is done. Would someone please be so kind and give me a short step-by-step tutorial?

best regards,
melvin
Title: Re: Volumetric Lights trick
Post by: Adi on 2014-07-18, 20:21:22
Hello,
I've tried and tried and tried but I really cant figure out how this is done. Would someone please be so kind and give me a short step-by-step tutorial?

best regards,
melvin

Hey melvin, try with my settings as attached.

Really interesting techique , but slow render times and very noisy. Does anyone have any advice on that ?

Title: Re: Volumetric Lights trick
Post by: RolandB on 2015-09-17, 14:14:52
Here is my contribution; rendering time 4h (image is 3000pix large)
Title: Re: Volumetric Lights trick
Post by: maru on 2015-09-17, 14:57:18
No wonder the teacher is pissed of as the students are a) staring through the window, b) browsing facebook, c) running across the classroom with their arms close to the body with the speed of light.

btw, is this done with the moving plane trick? I wonder how this competes against the volumetric fog.
Title: Re: Volumetric Lights trick
Post by: RolandB on 2015-09-17, 15:12:09
No wonder the teacher is pissed of as the students are a) staring through the window, b) browsing facebook, c) running across the classroom with their arms close to the body with the speed of light.
btw, is this done with the moving plane trick? I wonder how this competes against the volumetric fog.
In fact the teacher did not look comfortable !
Well I only use a box with a CoronaVolumeMat and it's so easy to render.
I will test the technic with the plane ASAP... thanks Maru ;)
Title: Re: Volumetric Lights trick
Post by: Ondra on 2015-09-17, 16:52:24
maru: interesting interpretation, I just see beginning of some porn :D
Title: Re: Volumetric Lights trick
Post by: Mr.Schorsch on 2016-04-22, 14:05:28
@ Ondra, best comment!