27

Quite impressed by all of Gleb Alexandrov's scenes with some amazing dust floating around.

(To see what I'm talking about > http://www.creativeshrimp.com/lighting-tutorial-atmospheric-effects-dust-book-10.html)

And I started working last night on a scene that is going to need the same sort of atmospheric dust in the air. But when I looked around on how to create dust particles in the air there was nothing there. Not even anything I could adapt from a tutorial. Everything was from 2009 before volumetrics was even introduced.

Someone in an older tutorial did use a particle system and used a scaled down icosphere as a mesh for each particle, but experimenting with that made everything look really tacky.

Is there a way to do dust particles that I'm not thinking of?

meed96
  • 1,979
  • 5
  • 30
  • 44
  • Put plain and simply, yes. And it is not easy. The best way to do this is to fiddle around yourself, however I can think of a few great ways to do this. Mesh Particles suspended in the air, Depth of Field to blur the particles except at the focal point, Volumetric rays to highlight light sources, and post-processing. Never underestimate the power of good post-processing work. IMPORTANT: Make sure your particles are random (size, loc), translucent, and are small enough. I may be able to make an in-depth answer at some point. – J Sargent May 03 '15 at 01:30
  • related: http://blender.stackexchange.com/a/5051/1853 –  May 03 '15 at 16:14
  • I don't have an issue creating the particles, its rendering them correctly. – meed96 May 03 '15 at 16:21
  • @meed96 You can render light shafts with volumetrics and you can render tiny particle icospheres with translucent shader. All was said before. So exacly what issue do you have with rendering this? – Jaroslav Jerryno Novotny May 04 '15 at 19:12
  • Well like I said earlier, it doesn't look very good. And also, the current answer doesn't reflect what you're saying. I simply want an answer that explains how to do this well. I sacrificed 25% of my reputation, perhaps you can help me out here? :P – meed96 May 04 '15 at 19:24
  • 1
    @Jerryno If you look at Gleb's article (link in original piece) you will see just above step 3 a before and after for dust particles. Dust particles ≠ Volumetrics – meed96 May 04 '15 at 21:31
  • 1
    @meed96 Dust particles = Volumetrics. Just tiny microscopic ones that cannot be seen as individual dots. For the bigger dust where you can see individual particles use the particle system with icospheres. Its best to mix both. You can also ask Gleb for his setup if he wishes to share. – Jaroslav Jerryno Novotny May 05 '15 at 07:24
  • I've tweeted at him twice on two different topics (including this one), no reply. If you want to post an answer with a good looking material/render setup for those icospheres then the bounty will probably be yours. – meed96 May 05 '15 at 16:06

2 Answers2

18

Mix an volumetric environment with a particle system:

  • density of volume scattering will determine the amount of microscopic dust particles that create light rays

  • particle system will add visible dust

Points to keep in mind:

  • create the light super-bright and scatter density tiny - that way the small particles get enough light.

  • give the particles translucent shader or a bit mixed-in emission if they are too dark

  • the particles need to appear small on camera so they blend with the light-shafts (smaller the better). Particles should be also random in size.

A closeup of such out-of-focus dust:

enter image description here

the black border is there to fight the white page background

Settings (depends on scene size, light distance and camera):

  • scatter density: 0.003
  • used light: Point, strength: 5000
  • particles: 1M
  • particle size: 0.015, random size: 100%
  • icosphere scale: 0.1
Jaroslav Jerryno Novotny
  • 51,077
  • 7
  • 129
  • 218
  • The problem with this approach is that I need my environment to have volumetrics and dust. At the same time. This dust setup relies on volumetrics being set quite low, would it be possible to mix two separate volumetrics setups so I can have fog/etc and dust? – meed96 May 05 '15 at 17:43
  • @meed96 yep, you can make 2 renders, first with fog + objects + all lights etc. and the second only the dust on black. You can mix the dust in with add operation no problem. If your scene is static I wouldn't bother with this at all, google some dust textures and add it in postproduction and you will get the best look – Jaroslav Jerryno Novotny May 05 '15 at 18:00
  • I was thinking about post production dust textures, but I was afraid that would look flat, but separate renders might work. I'll give it a try. – meed96 May 05 '15 at 19:15
  • @meed96 just composite many different textures with different dust particle sizes and patterns, I am confident the result will be superior to 3d dust unless you spend reaaaly long time making the 3d dust perfect. – Jaroslav Jerryno Novotny May 05 '15 at 19:18
  • I'm not super familiar with cycle's compositor, so I was looking for other avenues. But I'll see if that gets me anywhere. – meed96 May 05 '15 at 19:25
  • @meed96 the thing to realize is that even in the tutorial he states that it's a combination of particles and volumetrics and post processing, it's not an effect you will achieve without post processing. he doesn't, why should you? – zeffii May 06 '15 at 06:18
  • 1
    Good point, now that I think of it a lot of the best artwork I've seen used multiple approaches for a single effect. – meed96 May 06 '15 at 13:36
  • Could you explain how you make the "microscopic dust particles" please? I tried but my test just looked like a bunch of randomly placed spheres. (Or maybe share your .blend file?) – MicroMachine Oct 19 '16 at 06:00
  • @fabriced Yes that is correct. Randomly placed spheres - just make them super tiny and a lot of them (in particle settings). They can be extremely lowpoly. I don't have the file anymore but if you will be unsuccessful I could recreate the file. – Jaroslav Jerryno Novotny Oct 19 '16 at 14:28
13

For volumetric lighting

There are two basic options:

1- On your world settings you can add volume scatter and volume absorption.

enter image description here

Note that anything connected to the background surface shader will be ignored and will render black, so Enviromental textures will not work well with volume scattering (for more info read this post).

2-. Create some geometry around the area where you need volumetrics, and use volume scatter as volume for the object. This approach has the advantage of being a bit less intense to compute and you can still use the background color or environment images (like HDR). enter image description here

Watch out for a couple of things: you need to increase the intensity of your lights. To have a clean image you need to bring up the samples for rendering (in this example I used 150, but you can clean it up even further with more samples or using branched tracing and increasing the samples for the volume). Fireflies may appear so be ready to use clamp indirect option.

For selective focus you can set the depth of field of the camera to a large apterture (1.4 or less) to throw the background out of focus.

Alternatively you can use the compositor: With a defocus node you can blur the image based on information from the Z pass.

enter image description here

  • Yeah, that looks okay, but it's missing the randomness that comes from in/out of focus dust, and random size of said dust particles. – meed96 May 03 '15 at 16:23
  • 9
    Also, looking closer, that looks like noise, not dust. If you render that til it isn't noisy you'll only have clean rays of light. – meed96 May 03 '15 at 21:03
  • 4
    Gleb Alexandrov does have a video detailing how he did the scene in question... It's all volume scattering but he does ad a musgrave texture to control the density: https://www.youtube.com/watch?v=AXjE-t6dFZ8&list=PL2aDImegRwZGd78IasKwZ8B7qvjS_fx_X –  Jan 16 '16 at 17:50
  • Thanks for adding this, wished this was around back when I asked my question! – meed96 Jan 16 '16 at 21:37