Making-Of 2.70 Release-Notes Volume Image

270vol05

Being an artist member of the Cycles module of Blender, every release I get to make pretty pictures to illustrate the new features in the release notes. This time was of course volumetrics.

For now, getting data from smoke simulations is not possible*, so the next most obvious demonstration are some epic light beams.

2014-02_33_c

Meh.

I tried a few things, but most of them were pretty abstract and could probably be done with only some compositing.

So in the end, I decided to make some kind of epic mountain complete with surreal god rays casting huge shadows over an ominous landscape.

Starting with some geometry generated by the one and only ANT Landscape addon, I added a displacement modifier using a Voronoi F2-F1 cloud texture to give it a bit of detail:

ml-1

The material for the terrain is fairly simple too – just some rock textures mixed together to get the colour and detail I want, and some normal+height mask to put some greenery on the plane below the mountain (though you can barely see this in the render)

ml-2

The world material is a simple Volume Scatter shader with a white colour, 0.4 density and 0.0 anisotropy. 0.4 for density is actually really high for the world shader, but I used an extremely bright light to punch through it.

ml-4

The light setup is where it gets interesting:

ml-3

It’s a single spot lamp really, but I wasn’t happy with the falloff from the edge of the light’s influence to the center, so I placed a semi-transparent plane in front of the light that allowed me to create exactly the falloff I want, and also to create an elliptical shape instead of the normal circular shape of spot lamps. This really allowed me to focus the light on a single point and create very dramatic shadows in the world volume itself. Without doing this, too much light was scattering in front and behind the mountain, making hard to notice that the mountain was casting a shadow at all.

ml-5

ml-7

Finally, the light ray was pretty boring and quite obviously came from a plain spot lamp, so I added a noise texture to the plane in front of the lamp. This breaks it up and creates all those fancy rays of light instead of just one.

ml-6

The noise is pumped through that ramp just to give the light a bit of colour variance. I knew I was going to desaturate it heavily in the compositor later, but I still wanted some subtle variance.

A little bit of compositing later and we’re done :)

One thing I noticed was that volume rendering is surprisingly fast. Doing the final render only took about an hour on my 2600K 2.4GHz i7 cpu, which isn’t much slower than your average cycles render. Sure there’s only one light and it is an homogeneous volume, but I was really expecting much worse.

Great work from Brecht and the rest of the gang as usual :) One step closer to being a true production-ready renderer.

* Though I’ve yet to try this addon.

7 thoughts on “Making-Of 2.70 Release-Notes Volume Image

  1. That’s pretty awesome, Greg.

    I’m imagining ultra high-tech space ships landing there, creating turbulent winds, dusts, and smoke. ;)

    Cheers!

    Thanks for sharing.

    -Reyn

  2. I don’t exactly follow you on the light setup. You have a plane and a lamp? How do you get the light to shine through the plane, with a transparency and mix shader?

    • I tried it myself with a plane using a transparency node and mix shader and it worked like I thought.

    • Exactly yeah, though just a transparent shader, no need to mix it with anything since we don’t actually see it – forgot to mention that little detail, added it now.

      • Ah, so you just plug the texture into the color socket on the transparency node. Didn’t realize that would achieve the same effect. Thank you sir!

  3. Would love to see a video with the full process! when I first saw the image beside the 2.7 release notes I couldn’t believe it was cycles.

Leave a Reply