1
00:00:06,130 --> 00:00:14,170
All right let's take a look at how to make a flag simulation using the cloth the cloth physics tab.

2
00:00:14,170 --> 00:00:20,470
Also we're going to be using Virtex groups and taking a look at new something new called the for the

3
00:00:20,470 --> 00:00:26,080
force fields options and I'm trying to remember everything we're going to cover in this video.

4
00:00:26,200 --> 00:00:28,160
So always learning something new.

5
00:00:28,180 --> 00:00:33,430
We're going to be looking at force fields here and how we can use them with the other two things.

6
00:00:33,430 --> 00:00:35,660
All right deleting our default cube.

7
00:00:35,710 --> 00:00:40,840
Let's go ahead and delete that hit shift day and let's add in a mesh plane.

8
00:00:41,700 --> 00:00:48,210
Grabbing it up let's hit r to rotate x 90 degrees.

9
00:00:48,320 --> 00:00:53,580
Now hitting tab to go into Edit Mode w subdivide.

10
00:00:54,030 --> 00:01:02,330
Subdivide this a couple of times and then hitting s to scale in edit mode still and then as an X to

11
00:01:02,330 --> 00:01:10,700
scale along the x axis go ahead and bring it up.

12
00:01:10,940 --> 00:01:21,860
And now hitting shift day adding a mesh cylinder we're going to add the pole for the flag.

13
00:01:21,990 --> 00:01:26,400
We're going to keep it pretty simple because we're going to focus mainly on the simulation and the wind

14
00:01:26,430 --> 00:01:28,360
and the VOR the force field.

15
00:01:28,590 --> 00:01:33,010
But let's go ahead and at least add a Polen for our flag.

16
00:01:33,120 --> 00:01:44,200
Let's hit smooth shading and then as Z scale on the z axis as Z and then s shift Z to scaley on all

17
00:01:44,200 --> 00:01:48,550
of them except the z axis and bring it to there.

18
00:01:48,790 --> 00:01:57,480
Now selecting this I'm going to hit G and Z and bring it up and scale it down just a tiny bit

19
00:02:02,750 --> 00:02:05,170
and get and bring it higher as well.

20
00:02:06,400 --> 00:02:06,880
All right.

21
00:02:06,880 --> 00:02:10,880
Now let's select our plane go to the physics tab.

22
00:02:10,930 --> 00:02:15,220
This little bouncy ball right here and click on clock.

23
00:02:15,450 --> 00:02:19,910
If we hit all day obviously we can see nothing is happening.

24
00:02:19,930 --> 00:02:23,700
So what we want to do is go ahead and add in the wind.

25
00:02:23,740 --> 00:02:26,420
Now how do we add in the wind.

26
00:02:26,620 --> 00:02:29,110
Well it's pretty simple.

27
00:02:29,110 --> 00:02:33,880
And before we add in the wind let's actually go ahead and do the vertex group part of it.

28
00:02:33,880 --> 00:02:40,480
What I wanted to do is I want it to be attached right here on this corner and the top corner here.

29
00:02:40,750 --> 00:02:46,480
So I want these two corners to not be moving so that it seems like it's attached to this pole right

30
00:02:46,480 --> 00:02:50,730
here the way we do that is via the pinning group.

31
00:02:50,770 --> 00:02:56,830
So the pinning is basically it's going to pin those vertices down and the group is going to be which

32
00:02:56,830 --> 00:02:59,290
vertices it's going to pin down.

33
00:02:59,350 --> 00:03:03,730
If we had to have to go into Edit Mode go to our Virtex groups.

34
00:03:03,850 --> 00:03:10,110
Let's go ahead and add in a new vertex group double click on the name to rename it to flag.

35
00:03:12,770 --> 00:03:15,650
And then we're going to slide this vertex right here.

36
00:03:15,890 --> 00:03:19,910
And this one right here and click a sign.

37
00:03:19,910 --> 00:03:26,620
Now going back to our physics tab we click on pinning and select our vertex group flag.

38
00:03:27,790 --> 00:03:35,060
Now if we hit Alt-A you can see that it's being held by those two vertices.

39
00:03:35,130 --> 00:03:40,710
So the two vertices we put on the vertex group are not moving and they're basically pinning down the

40
00:03:40,710 --> 00:03:41,460
cloth.

41
00:03:41,540 --> 00:03:49,700
They're lets also select our cylinder and make it a collision object so that our flag interacts better

42
00:03:50,030 --> 00:03:53,380
with the actual cylinder and doesn't go through it really.

43
00:03:54,550 --> 00:03:57,530
And now we want to add in the wind.

44
00:03:57,670 --> 00:03:59,770
So how do we do that.

45
00:03:59,800 --> 00:04:04,780
Because right now it's just kind of falling kind of anti-climatic and boring.

46
00:04:06,140 --> 00:04:07,490
Nothing is boring in 3D.

47
00:04:07,490 --> 00:04:08,990
I take that back.

48
00:04:08,990 --> 00:04:12,270
All right now let's go ahead and add in the wind.

49
00:04:12,500 --> 00:04:19,100
So for the win it's basically a force field which is also in the physics tab but we have an easier way

50
00:04:19,100 --> 00:04:19,680
to add it.

51
00:04:19,700 --> 00:04:22,010
We don't want to actually add it to any of these.

52
00:04:22,010 --> 00:04:24,160
We want to add it to a new object.

53
00:04:24,410 --> 00:04:31,580
And if we had shift day we could go to this task force field and Blendr has already assigned these force

54
00:04:31,580 --> 00:04:38,270
fields to an empty object so if we grab any of these right here you can see these are different kinds

55
00:04:38,270 --> 00:04:39,190
of force.

56
00:04:39,380 --> 00:04:40,370
Force fields.

57
00:04:40,460 --> 00:04:42,250
We have some very interesting ones.

58
00:04:42,380 --> 00:04:46,710
I suggest just going through them and clicking all the options and seeing what they do.

59
00:04:46,730 --> 00:04:53,830
There's some pretty cool ones like the vortex which spins your object around and out like a tornado.

60
00:04:53,840 --> 00:04:54,850
Pretty cool.

61
00:04:55,010 --> 00:04:56,460
But we're going to be doing.

62
00:04:56,450 --> 00:05:00,340
So go ahead and click on wind add that in.

63
00:05:00,440 --> 00:05:09,170
And now hitting g to grab this and rotating it like so you can see that we have an arrow here and this

64
00:05:09,170 --> 00:05:13,130
arrow dictates where the wind will be blowing out to.

65
00:05:13,130 --> 00:05:16,420
So in this case it's going that way.

66
00:05:16,550 --> 00:05:21,010
All a you can see that nothing is happening.

67
00:05:21,020 --> 00:05:23,450
So what we want to do is increase our size.

68
00:05:23,530 --> 00:05:28,730
I'm going to also drag down and frame so that it loops back faster.

69
00:05:28,760 --> 00:05:36,130
We want to increase the strength right here and you can see that as we increase it the circles are going

70
00:05:36,160 --> 00:05:36,480
out.

71
00:05:36,480 --> 00:05:43,110
So let's increase it way up so that our flag starts blowing in the wind.

72
00:05:44,920 --> 00:05:47,250
Dustin though.

73
00:05:47,450 --> 00:05:48,360
All right.

74
00:05:48,610 --> 00:05:51,840
That song just popped into my mind as I was saying winda.

75
00:05:52,010 --> 00:05:54,660
So now you can see what our flag is doing.

76
00:05:54,710 --> 00:05:56,210
Pretty cool.

77
00:05:56,210 --> 00:05:57,170
It's falling a little bit.

78
00:05:57,170 --> 00:06:03,310
And then it's flowing and the wind looks like this and had smooth shading as well.

79
00:06:03,320 --> 00:06:09,750
Now you want to keep in mind that you want to have a good size to your to your cloth.

80
00:06:09,920 --> 00:06:13,250
For example if I scale it way down

81
00:06:16,730 --> 00:06:24,410
you can see that it will not have the same effect with the wind.

82
00:06:24,420 --> 00:06:29,670
In fact the wind doesn't even pick it up because it is way too small.

83
00:06:29,700 --> 00:06:32,980
So if your wind is not acting as it should be.

84
00:06:33,180 --> 00:06:42,500
Just make sure that you scale up your flag or your cloth to a good size because otherwise if it's too

85
00:06:42,500 --> 00:06:51,220
small it won't even pick up the wind as the calculations for it won't work and needs to be a correct

86
00:06:51,780 --> 00:06:58,480
Blendr units or a certain amount of metres across or yards whatever measurement you're using.

87
00:06:58,510 --> 00:07:00,340
So keep that in mind as well.

88
00:07:00,580 --> 00:07:01,560
And there we go.

89
00:07:01,570 --> 00:07:05,420
That is our little flag simulation right there.

90
00:07:05,440 --> 00:07:06,390
Pretty cool.

91
00:07:06,430 --> 00:07:11,150
And of course we have all the different options that we could take a look at like we did before.

92
00:07:11,160 --> 00:07:19,600
I mean not take a look at that we could change like we had seen before we could select silk see how

93
00:07:19,600 --> 00:07:26,240
that interacts and that is pretty much how you can make a quick little flag animation to it.

94
00:07:26,270 --> 00:07:27,900
Let's do one last thing.

95
00:07:28,060 --> 00:07:31,270
Let's go ahead and add in a texture to this.

96
00:07:31,270 --> 00:07:36,140
So going to the materials tab Let's go ahead and click new.

97
00:07:36,210 --> 00:07:39,070
We're going to go to cycle's render as well.

98
00:07:39,420 --> 00:07:42,620
Use nodes and we're color it says color.

99
00:07:42,630 --> 00:07:50,440
Let's click this little icon and click image texture which is down here.

100
00:07:50,440 --> 00:07:50,910
All right.

101
00:07:50,910 --> 00:07:51,640
And that was click.

102
00:07:51,640 --> 00:08:01,000
Open it see I thought it had disappeared for a second and go to wherever our flag or our image texture

103
00:08:01,000 --> 00:08:02,430
is saved.

104
00:08:02,440 --> 00:08:04,530
I believe mine is in

105
00:08:07,380 --> 00:08:10,640
and we just had to find our image wherever it's saved.

106
00:08:10,860 --> 00:08:14,250
So the flag image that I made quickly is right here.

107
00:08:15,080 --> 00:08:18,860
Open image and now splitting the viewport.

108
00:08:19,810 --> 00:08:26,890
So it also to close these out and go to the U-V image editor over here and hit tab to go into Edit Mode

109
00:08:27,510 --> 00:08:32,340
ADAs select everything and hit you unwrap.

110
00:08:32,530 --> 00:08:39,690
Go to the image down here and click on the image that you just loaded and let's go to the materials

111
00:08:39,690 --> 00:08:41,710
tab so we can see how it looks.

112
00:08:42,300 --> 00:08:43,510
And I'm going to hit you.

113
00:08:43,650 --> 00:08:51,400
Project from view and scale it up like that's all right.

114
00:08:51,400 --> 00:08:52,220
Awesome.

115
00:08:52,390 --> 00:08:54,000
Now going to close this back up

116
00:08:57,200 --> 00:09:00,550
and then let's go into.

117
00:09:01,040 --> 00:09:04,990
Let's actually try like this.

118
00:09:05,050 --> 00:09:10,660
And now you can see that our flag has a a and a texture to it.

119
00:09:10,690 --> 00:09:11,510
Pretty cool.

120
00:09:11,530 --> 00:09:13,360
Blender rocks.

121
00:09:13,630 --> 00:09:18,640
And then of course we could even try this in rendered mode which is going to look a little strange as

122
00:09:18,640 --> 00:09:24,330
it's going to be calculating it every every length of the way so let's go in textured mode.

123
00:09:24,340 --> 00:09:27,370
It's nice because it has some shading to it.

124
00:09:27,370 --> 00:09:32,160
RAZ If you're just in material mode there's not as many shadows that you could see.

125
00:09:32,170 --> 00:09:34,700
That is our final result right there.

126
00:09:34,840 --> 00:09:43,420
And pretty cool of course you could go ahead and make this into a full animation by just you know tweaking

127
00:09:43,420 --> 00:09:50,280
this whole little bit adding some some ropes and some loops to it so that looks a little bit better.

128
00:09:50,500 --> 00:09:55,960
And then go into the render tab and rendering out your flag animation.

129
00:09:56,200 --> 00:09:57,430
So pretty cool.

130
00:09:57,460 --> 00:10:02,800
And once again keep in mind that if you want to increase the quality of it of course you could increase

131
00:10:02,800 --> 00:10:10,110
the steps and subdivided even more so that it has more vertices to play with.

132
00:10:10,110 --> 00:10:17,320
All right so that is how you make a flag or any kind of flowing object like that and how you would use

133
00:10:17,440 --> 00:10:22,600
the winda or the the wind force field.

134
00:10:22,600 --> 00:10:27,850
Now let's take a look quickly before we wrap it up here at the different options.

135
00:10:28,870 --> 00:10:32,340
Also going to undo that as now it's taking way too long.

136
00:10:32,380 --> 00:10:36,760
I'd put the steps back to five so the forcefield options.

137
00:10:36,760 --> 00:10:40,630
Of course we have the strength right here which determines the strength of the wind.

138
00:10:40,660 --> 00:10:47,320
We have the flow down here which basically is the flow velocity or how the wind is flowing around.

139
00:10:47,390 --> 00:10:49,990
Our our flag.

140
00:10:50,500 --> 00:11:01,360
We have the noise here which basically is the amount of variation in the wind and the speed of which

141
00:11:01,360 --> 00:11:08,080
is basically the different seed's means it will have a different noise value to it.

142
00:11:08,080 --> 00:11:12,860
So it's kind of like a randomness to that to the noise.

143
00:11:13,060 --> 00:11:18,400
And then right here these options right here I'm not sure I've actually never used these before.

144
00:11:18,550 --> 00:11:21,250
And so that's pretty much it.

145
00:11:21,250 --> 00:11:26,660
The main one that you're reusing honestly is just the strength and possibly the flow.

146
00:11:26,860 --> 00:11:33,540
But that is the wind or field really really cool and you could have lots of fun with this.

147
00:11:33,550 --> 00:11:34,030
All right.

148
00:11:34,030 --> 00:11:37,930
I'll see you guys in the next tutorial under rocks.

149
00:11:38,000 --> 00:11:38,500
Peace out.

150
00:11:38,500 --> 00:11:39,340
See there.

151
00:11:41,690 --> 00:11:42,210
All right.

152
00:11:42,210 --> 00:11:44,960
You know one of my favorite beaches Bora-Bora.

153
00:11:45,020 --> 00:11:51,030
We should totally have a blender 3D artists get together in Bora-Bora if you're down for that I'll let

154
00:11:51,030 --> 00:11:53,310
you know if that happens in the future.

155
00:11:53,580 --> 00:11:54,900
All right.

156
00:11:54,900 --> 00:11:56,670
You are the creator of your life.

157
00:11:56,730 --> 00:11:59,300
Much like you create in the world of 3-D.

158
00:11:59,310 --> 00:12:05,010
Don't forget that this world is a place where you can create your very own reality as well.

159
00:12:05,010 --> 00:12:09,950
You can't just hit shift plus 8 at a Lamborghini the house or woman of your dream.

160
00:12:10,080 --> 00:12:15,000
But don't forget that you do have power to create whatever you want here as well.

161
00:12:15,000 --> 00:12:24,120
If you decide to I ladies and gentlemen it might not be a shift a that fast but you can create your

162
00:12:24,120 --> 00:12:24,600
reality.

163
00:12:24,600 --> 00:12:30,090
So go out there create the reality you want both within Blendr and in your life.

164
00:12:30,390 --> 00:12:32,190
Ciao for now of La.

