1
00:00:00,003 --> 00:00:02,000
- [David] With Blender 283,

2
00:00:02,000 --> 00:00:04,004
they have dramatically sped up

3
00:00:04,004 --> 00:00:07,000
the way volumes are calculated and rendered

4
00:00:07,000 --> 00:00:09,003
by combining a whole bunch of older settings

5
00:00:09,003 --> 00:00:12,007
into one more simplified automatic setting.

6
00:00:12,007 --> 00:00:13,008
Let me show you.

7
00:00:13,008 --> 00:00:17,003
First, it helps to actually be in cycles,

8
00:00:17,003 --> 00:00:19,006
where we'll be able to take advantage of this,

9
00:00:19,006 --> 00:00:22,004
and I'm going to be on GPU compute.

10
00:00:22,004 --> 00:00:24,006
And then if we open up volumes,

11
00:00:24,006 --> 00:00:28,000
you can see some familiar, but different settings.

12
00:00:28,000 --> 00:00:30,003
In the past we had steps,

13
00:00:30,003 --> 00:00:33,004
and you can think of steps as the slices

14
00:00:33,004 --> 00:00:36,000
and this is like the thickness of the slice

15
00:00:36,000 --> 00:00:38,000
for each one of those volumes.

16
00:00:38,000 --> 00:00:40,005
The higher the number, the thicker the slice,

17
00:00:40,005 --> 00:00:42,001
the faster it'll render.

18
00:00:42,001 --> 00:00:44,009
Thinner the slice, that is, the smaller the number,

19
00:00:44,009 --> 00:00:46,008
the more detail we'll get,

20
00:00:46,008 --> 00:00:49,000
but at the sacrifice of time.

21
00:00:49,000 --> 00:00:50,002
Now, let's go ahead

22
00:00:50,002 --> 00:00:52,007
and actually get some really cool volumes rendered.

23
00:00:52,007 --> 00:00:55,009
So, I'm going to take this cube here and I'm going to delete it

24
00:00:55,009 --> 00:00:59,008
and I'm going to hit shift-A and add a monkey.

25
00:00:59,008 --> 00:01:02,008
I'm going to hit space bar or F3,

26
00:01:02,008 --> 00:01:05,006
depending on what you're operator search is set to,

27
00:01:05,006 --> 00:01:08,003
and I'm going to type in quick smoke and hit enter.

28
00:01:08,003 --> 00:01:09,008
Now, if you're using different shortcuts,

29
00:01:09,008 --> 00:01:11,004
you can always come up to edit

30
00:01:11,004 --> 00:01:14,003
and just go to operator search.

31
00:01:14,003 --> 00:01:17,005
With this turned on, I can come over to my physics tab

32
00:01:17,005 --> 00:01:20,008
and I'm going to change my resolution to 48,

33
00:01:20,008 --> 00:01:22,008
so I have a little bit more in there.

34
00:01:22,008 --> 00:01:27,007
I'm going to turn on noise, so I get some nice verticity

35
00:01:27,007 --> 00:01:30,000
and little noise stuff happening.

36
00:01:30,000 --> 00:01:33,006
And under type, I'm going to leave it on replay,

37
00:01:33,006 --> 00:01:37,001
that way we can see it happening live.

38
00:01:37,001 --> 00:01:38,009
Okay, now with all of this set,

39
00:01:38,009 --> 00:01:41,008
go ahead and click on play.

40
00:01:41,008 --> 00:01:43,007
Depending on the speed of your computer,

41
00:01:43,007 --> 00:01:45,003
this might take a little bit,

42
00:01:45,003 --> 00:01:48,004
but you don't need a lot of simulation,

43
00:01:48,004 --> 00:01:51,006
you just need a little bit of it.

44
00:01:51,006 --> 00:01:55,002
Now, as I said earlier, steps are like the slices

45
00:01:55,002 --> 00:01:59,009
in a volume, whereas voxels or this little cube down here

46
00:01:59,009 --> 00:02:04,002
are like the 3-D pixels that make up this volume.

47
00:02:04,002 --> 00:02:07,005
If you were to turn off the noise and remake this,

48
00:02:07,005 --> 00:02:09,008
you'll see lots of little cubes

49
00:02:09,008 --> 00:02:11,006
that make up the smoke volume

50
00:02:11,006 --> 00:02:12,009
and that's why we have noise,

51
00:02:12,009 --> 00:02:15,005
because then it adds a layer of a little bit of distortion

52
00:02:15,005 --> 00:02:18,003
that makes it feel a lot nicer.

53
00:02:18,003 --> 00:02:19,009
All right, so now that we have ourselves

54
00:02:19,009 --> 00:02:21,008
a cool looking volume,

55
00:02:21,008 --> 00:02:26,001
let's go ahead and just click on render.

56
00:02:26,001 --> 00:02:28,003
If you want, you can move down the slide a little bit

57
00:02:28,003 --> 00:02:31,008
so we can appreciate the look a lot better.

58
00:02:31,008 --> 00:02:33,000
And wow.

59
00:02:33,000 --> 00:02:35,005
That is a smokin' monkey.

60
00:02:35,005 --> 00:02:37,002
Click on smoke domain

61
00:02:37,002 --> 00:02:39,006
and let's come up to our render settings.

62
00:02:39,006 --> 00:02:42,007
And if you haven't already, open up the volumes tab.

63
00:02:42,007 --> 00:02:45,000
There are two settings here that are important,

64
00:02:45,000 --> 00:02:48,006
the step rate render and the step rate view port.

65
00:02:48,006 --> 00:02:50,009
If you hover over it, you'll get a little tool tip

66
00:02:50,009 --> 00:02:52,008
that'll tell you how it works.

67
00:02:52,008 --> 00:02:55,006
The smaller the value, the more detail you're going to get.

68
00:02:55,006 --> 00:02:58,007
So, let's just type in 0.1.

69
00:02:58,007 --> 00:03:01,005
Admittedly at one, we're already getting

70
00:03:01,005 --> 00:03:02,009
quite a bit of detail.

71
00:03:02,009 --> 00:03:06,001
So, at 0.1, we might not be able to really appreciate

72
00:03:06,001 --> 00:03:10,002
any more detail and you can see how much longer it's taking

73
00:03:10,002 --> 00:03:12,000
to resolve this render.

74
00:03:12,000 --> 00:03:15,000
However, we can go the opposite way and type in 10

75
00:03:15,000 --> 00:03:17,000
and hit enter,

76
00:03:17,000 --> 00:03:22,002
and you can see how quickly this render resolves.

77
00:03:22,002 --> 00:03:25,001
Actually, it resolves very quickly.

78
00:03:25,001 --> 00:03:26,003
And that's it.

79
00:03:26,003 --> 00:03:29,009
Blender has found a way to automatically, quickly

80
00:03:29,009 --> 00:03:34,002
speed up this volume rendering just by typing in a number.

81
00:03:34,002 --> 00:03:36,007
Now, naturally, the bigger the step size,

82
00:03:36,007 --> 00:03:39,001
the worse your volume's going to look.

83
00:03:39,001 --> 00:03:41,006
You can see when I get it up to 100,

84
00:03:41,006 --> 00:03:45,001
this volume is starting to give me strange artifacts

85
00:03:45,001 --> 00:03:48,004
and it's starting to feel a lot lighter.

86
00:03:48,004 --> 00:03:51,005
Let's go crazy, let's go up to 1000.

87
00:03:51,005 --> 00:03:53,000
Well, it looks like you can't.

88
00:03:53,000 --> 00:03:54,000
200?

89
00:03:54,000 --> 00:03:56,007
Nope, we are maxed out at 100.

90
00:03:56,007 --> 00:04:01,001
So the best we can do is between zero and 100.

91
00:04:01,001 --> 00:04:06,001
Or not even zero, I think it limits us to like, 0.0001.

92
00:04:06,001 --> 00:04:08,009
Yeah, 0.01.

93
00:04:08,009 --> 00:04:14,002
None the less, if we just compare 0.01 to say, 10,

94
00:04:14,002 --> 00:04:18,002
you can see that yes, 10 looks a lot lighter,

95
00:04:18,002 --> 00:04:20,000
but it does resolve a lot quicker.

96
00:04:20,000 --> 00:04:23,009
So there's probably a nice partway point here,

97
00:04:23,009 --> 00:04:26,005
say maybe four or three,

98
00:04:26,005 --> 00:04:28,008
where it resolves very quickly,

99
00:04:28,008 --> 00:04:31,001
but it retains some of that richness in detail

100
00:04:31,001 --> 00:04:33,002
that we liked at 0.01.

101
00:04:33,002 --> 00:04:35,005
Now, this is a global setting.

102
00:04:35,005 --> 00:04:38,006
But you can come down to material and go to settings

103
00:04:38,006 --> 00:04:44,000
and change the step rate under the actual material.

104
00:04:44,000 --> 00:04:45,009
And there you have it.

105
00:04:45,009 --> 00:04:47,000
You've now found a way

106
00:04:47,000 --> 00:04:49,006
to dramatically decrease the render times

107
00:04:49,006 --> 00:04:50,009
for your volumes.

108
00:04:50,009 --> 00:04:55,007
Adding this to your repertroire of volume rendering,

109
00:04:55,007 --> 00:04:57,009
will save you a whole bunch of time.

110
00:04:57,009 --> 00:05:00,008
So definitely add it and keep playing with those settings.

111
00:05:00,008 --> 00:05:02,003
Until next time, this is David

112
00:05:02,003 --> 00:05:04,007
for Blender's Tips Tricks and Techniques.
更多优秀资源请访问C4DSKY.COM
