- [David] With Blender 283,
they have dramatically sped up
the way volumes are calculated and rendered
by combining a whole bunch of older settings
into one more simplified automatic setting.
Let me show you.
First, it helps to actually be in cycles,
where we'll be able to take advantage of this,
and I'm going to be on GPU compute.
And then if we open up volumes,
you can see some familiar, but different settings.
In the past we had steps,
and you can think of steps as the slices
and this is like the thickness of the slice
for each one of those volumes.
The higher the number, the thicker the slice,
the faster it'll render.
Thinner the slice, that is, the smaller the number,
the more detail we'll get,
but at the sacrifice of time.
Now, let's go ahead
and actually get some really cool volumes rendered.
So, I'm going to take this cube here and I'm going to delete it
and I'm going to hit shift-A and add a monkey.
I'm going to hit space bar or F3,
depending on what you're operator search is set to,
and I'm going to type in quick smoke and hit enter.
Now, if you're using different shortcuts,
you can always come up to edit
and just go to operator search.
With this turned on, I can come over to my physics tab
and I'm going to change my resolution to 48,
so I have a little bit more in there.
I'm going to turn on noise, so I get some nice verticity
and little noise stuff happening.
And under type, I'm going to leave it on replay,
that way we can see it happening live.
Okay, now with all of this set,
go ahead and click on play.
Depending on the speed of your computer,
this might take a little bit,
but you don't need a lot of simulation,
you just need a little bit of it.
Now, as I said earlier, steps are like the slices
in a volume, whereas voxels or this little cube down here
are like the 3-D pixels that make up this volume.
If you were to turn off the noise and remake this,
you'll see lots of little cubes
that make up the smoke volume
and that's why we have noise,
because then it adds a layer of a little bit of distortion
that makes it feel a lot nicer.
All right, so now that we have ourselves
a cool looking volume,
let's go ahead and just click on render.
If you want, you can move down the slide a little bit
so we can appreciate the look a lot better.
And wow.
That is a smokin' monkey.
Click on smoke domain
and let's come up to our render settings.
And if you haven't already, open up the volumes tab.
There are two settings here that are important,
the step rate render and the step rate view port.
If you hover over it, you'll get a little tool tip
that'll tell you how it works.
The smaller the value, the more detail you're going to get.
So, let's just type in 0.1.
Admittedly at one, we're already getting
quite a bit of detail.
So, at 0.1, we might not be able to really appreciate
any more detail and you can see how much longer it's taking
to resolve this render.
However, we can go the opposite way and type in 10
and hit enter,
and you can see how quickly this render resolves.
Actually, it resolves very quickly.
And that's it.
Blender has found a way to automatically, quickly
speed up this volume rendering just by typing in a number.
Now, naturally, the bigger the step size,
the worse your volume's going to look.
You can see when I get it up to 100,
this volume is starting to give me strange artifacts
and it's starting to feel a lot lighter.
Let's go crazy, let's go up to 1000.
Well, it looks like you can't.
200?
Nope, we are maxed out at 100.
So the best we can do is between zero and 100.
Or not even zero, I think it limits us to like, 0.0001.
Yeah, 0.01.
None the less, if we just compare 0.01 to say, 10,
you can see that yes, 10 looks a lot lighter,
but it does resolve a lot quicker.
So there's probably a nice partway point here,
say maybe four or three,
where it resolves very quickly,
but it retains some of that richness in detail
that we liked at 0.01.
Now, this is a global setting.
But you can come down to material and go to settings
and change the step rate under the actual material.
And there you have it.
You've now found a way
to dramatically decrease the render times
for your volumes.
Adding this to your repertroire of volume rendering,
will save you a whole bunch of time.
So definitely add it and keep playing with those settings.
Until next time, this is David
for Blender's Tips Tricks and Techniques. 更多优秀资源请访问C4DSKY.COM