Author Topic: Volumetric Lights trick  (Read 51813 times)

2012-11-18, 20:34:03

Sam75

  • Active Users
  • **
  • Posts: 154
    • View Profile
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%.
« Last Edit: 2012-11-18, 20:42:31 by Sam75 »

2012-11-18, 20:43:59
Reply #1

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
A little example made with this technique (raw rendering directly with gi etc, no compositing)
Any sufficiently advanced bug is indistinguishable from a feature.

2012-11-18, 20:59:02
Reply #2

Sam75

  • Active Users
  • **
  • Posts: 154
    • View Profile
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 ?

2012-11-18, 21:02:33
Reply #3

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
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.
Any sufficiently advanced bug is indistinguishable from a feature.

2012-11-18, 21:23:09
Reply #4

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12708
  • Marcin
    • View Profile
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.....
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2012-11-18, 21:30:24
Reply #5

Sam75

  • Active Users
  • **
  • Posts: 154
    • View Profile
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 ?

2012-11-18, 21:36:32
Reply #6

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12708
  • Marcin
    • View Profile
Here you go, just don't steal my idea, it's copyrighted.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2012-11-18, 21:38:13
Reply #7

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12708
  • Marcin
    • View Profile
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.
« Last Edit: 2012-11-18, 21:57:35 by maru »
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2012-11-18, 22:01:03
Reply #8

Sam75

  • Active Users
  • **
  • Posts: 154
    • View Profile
Can you tell how you duplicated the plane animation, copied/pasted keys ?

2012-11-18, 22:02:00
Reply #9

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12708
  • Marcin
    • View Profile
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.
« Last Edit: 2012-11-18, 22:07:03 by maru »
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2012-11-19, 11:17:10
Reply #10

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
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 ;)
Any sufficiently advanced bug is indistinguishable from a feature.

2012-11-19, 13:17:17
Reply #11

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12708
  • Marcin
    • View Profile
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. :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2012-11-19, 13:27:07
Reply #12

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
scattered billboards?
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2012-11-19, 13:34:57
Reply #13

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
My guess would be world space procedural map mapped on the motion blurred plane :)

2012-11-19, 13:39:50
Reply #14

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12708
  • Marcin
    • View Profile
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.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2012-11-19, 23:47:22
Reply #15

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
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 :)

2012-11-20, 20:26:03
Reply #16

Chakib

  • Active Users
  • **
  • Posts: 787
  • Corona Omnomnomer !
    • View Profile
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 ?

2012-11-20, 20:31:01
Reply #17

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12708
  • Marcin
    • View Profile
.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2012-11-23, 06:05:33
Reply #18

Javadevil

  • Active Users
  • **
  • Posts: 399
    • View Profile
Love that last one Maru !!


2012-11-23, 11:27:57
Reply #19

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12708
  • Marcin
    • View Profile
The only problem is that render time is 15h and it's still noisy.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-10-12, 12:45:00
Reply #20

Correntes

  • Active Users
  • **
  • Posts: 100
    • View Profile
    • PRESSRENDER
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.

2013-10-12, 20:54:15
Reply #21

Polymax

  • Active Users
  • **
  • Posts: 830
  • CG Generalist
    • View Profile
    • maxkagirov.com
My attempt. It's not that difficult.
Corona - the best rendering solution!

2013-10-13, 20:32:47
Reply #22

Correntes

  • Active Users
  • **
  • Posts: 100
    • View Profile
    • PRESSRENDER
Hi Polymax,

Can you elaborate how you did it ?


2013-10-13, 21:35:14
Reply #23

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12708
  • Marcin
    • View Profile
Does it even make any difference whether you set the plane perpendicular to camera or lights or just in some random direction?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-10-13, 21:48:26
Reply #24

Polymax

  • Active Users
  • **
  • Posts: 830
  • CG Generalist
    • View Profile
    • maxkagirov.com
plane must look at cam. And I use opacity for the planes.
Corona - the best rendering solution!

2014-02-10, 19:21:55
Reply #25

boumay

  • Active Users
  • **
  • Posts: 96
    • View Profile
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

2014-05-04, 16:01:56
Reply #26

Tweekazoid

  • Active Users
  • **
  • Posts: 59
    • View Profile
    • personal CG and scripting stuff also few pictures


522 passes ... neat trick but not really that useful.
and get this work for animation is impossible

2014-05-04, 22:03:16
Reply #27

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12708
  • Marcin
    • View Profile


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. :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2014-05-04, 22:50:58
Reply #28

Tweekazoid

  • Active Users
  • **
  • Posts: 59
    • View Profile
    • personal CG and scripting stuff also few pictures
cca 20 minutes, yeah i think I had about 4 GI/aa. so that could be better

2014-06-14, 23:43:37
Reply #29

melvin_uspo

  • Users
  • *
  • Posts: 1
    • View Profile
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

2014-07-18, 20:21:22
Reply #30

Adi

  • Active Users
  • **
  • Posts: 144
    • View Profile
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 ?


2015-09-17, 14:14:52
Reply #31

RolandB

  • Active Users
  • **
  • Posts: 335
  • Corona fan
    • View Profile
    • Béhance portfolio
Here is my contribution; rendering time 4h (image is 3000pix large)
Portfolio on Béhance
http://www.behance.net/GCStudio

2015-09-17, 14:57:18
Reply #32

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12708
  • Marcin
    • View Profile
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.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-09-17, 15:12:09
Reply #33

RolandB

  • Active Users
  • **
  • Posts: 335
  • Corona fan
    • View Profile
    • Béhance portfolio
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 ;)
Portfolio on Béhance
http://www.behance.net/GCStudio

2015-09-17, 16:52:24
Reply #34

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
maru: interesting interpretation, I just see beginning of some porn :D
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2016-04-22, 14:05:28
Reply #35

Mr.Schorsch

  • Active Users
  • **
  • Posts: 153
    • View Profile
    • fokuspunkt
@ Ondra, best comment!