Cloth Simulation And Sewing | Blender 3.0 Tutorial

MK Graphics
28 Dec 202112:28

Summary

TLDRこのビデオでは、Blenderの布シミュレーションを使ってTシャツを作成する方法を学びます。アニメーションされたキャラクターを用いて、Tシャツの布をシミュレーションし、そのキャラクターに試着します。キャラクターをTポーズに保ち、布が完全にキャラクターを包むまで待つ必要があります。次に、Tシャツの形状を作り、ブローシとスムーズツールを使ってフィットさせ、そして、物理的なシミュレーションを加えることで、Tシャツが動く様子をリアルに再現します。最後に、シミュレーションを焼いてスムーズな再生を実現し、Tシャツの見た目を改善するためのサブディビジョンサーフェスやソリディファイモディファイアを追加します。

Takeaways

  • 😀 これはBlenderを使用して布シミュレーションを利用してTシャツを作成する方法を学ぶチュートリアルです。
  • 🎨 まず、Tポーズでキャラクターを固定し、布がキャラクター全体を覆うまで待ちます。
  • 🕒 アニメーションをフレーム50まで進めて、ポーズをリセットし、フレーム1に位置とローテーションのキーフレームを追加します。
  • 📐 プレーンを追加し、X軸周りに90度回転させ、Z軸に沿って移動してTシャツの形状を作成します。
  • 🔄 鏡面修飾を追加し、ミラー修飾のクリッピングオプションを有効にして、Tシャツの片面をミラーリングします。
  • 💥 ループカットを追加し、Tシャツの形状を細かく調整します。
  • 👕 布シミュレーションに向けて、布の物理的な特性を設定します。綿のプリセットを選択し、シミュレーションの品質を20に設定します。
  • 🧵 ストリーミングオプションを有効にして、Tシャツの前後に引き締められるようにします。
  • 💥 シミュレーションの衝突品質を設定し、キャラクターとの衝突を有効にします。
  • 🍞 シミュレーションを焼いてスムーズな再生を実現し、Tシャツの曲がり方を改善するためにサブディビジョンサーフェス修飾を追加します。
  • 🔧 修飾の順序が非常に重要で、ミラー修飾は一番上に、ソリディファイ修飾は一番下に置く必要があります。
  • 🎨 ビューポート用マテリアルを追加し、Tシャツに色をつけ、シミュレーションを再生して完成させます。

Q & A

  • このビデオでは何を学ぶことができますか?

    -このビデオでは、Blenderの布シミュレーションを使ってTシャツを作成する方法を学ぶことができます。

  • キャラクターをTポーズに保つために何をすべきですか?

    -キャラクターをTポーズに保つために、アーマーチャを選んでポーズモードに移り、タイムライン上でキーフレームをフレーム50までドラッグし、Alt+RとAlt+Gでポーズをクリアする必要があります。

  • Tシャツの制作を始める前に何を行う必要がありますか?

    -Tシャツの制作を始める前に、オブジェクトモードに戻り、Shift+Aで平面を追加し、X軸周りに90度回転させ、Z軸に沿って移動させます。

  • ミラーモディファイアを追加する際に重要なオプションは何ですか?

    -ミラーモディファイアを追加する際には、クリップトグルを有効にして、頂点がミラープレーンを越えないようにすることが重要です。

  • Tシャツの形状を調整するために使用するツールは何ですか?

    -Tシャツの形状を調整するために、スムージーツールやプロポルショナル編集ツールを使用することができます。

  • 布シミュレーションにどの種類の布を使用するか選択するのにどのメニューを使いますか?

    -布シミュレーションに使用する布の種類を選択するために、物理プロパティメニューの布プレセットを使用します。

  • シミュレーションの品質を設定するのにどこを使いますか?

    -シミュレーションの品質を設定するには、物理プロパティメニュー内のシミュレーションの品質セクションを使用します。

  • シミュレーションをスムーズに再生するために何をすべきですか?

    -シミュレーションをスムーズに再生するために、シミュレーションをベイクする必要があります。

  • Tシャツにサブディビジョンサーフェスモディファイアを追加する目的は何ですか?

    -Tシャツにサブディビジョンサーフェスモディファイアを追加する目的は、Tシャツの曲がり方をスムーズにし、より自然な見た目を作ることです。

  • マテリアルをTシャツに適用する際の注意点は何ですか?

    -マテリアルをTシャツに適用する際には、マテリアルスロットを追加し、選択したフェイスに新しいマテリアルを作成して割り当てる必要があります。

  • モディファイアの適用順序が重要である理由は何ですか?

    -モディファイアの適用順序が重要である理由は、順序が異なると異なる結果が生じるため、シミュレーションや形状に影響を与えるからです。

Outlines

00:00

👕 Tシャツの布シミュレーション作成

この段落では、Blenderを使用して布シミュレーションを使ってTシャツを作成する方法が説明されています。まず、アニメーションされたキャラクターをTポーズに保ち、布がキャラクターを完全に覆うまで待つように設定します。次に、プレーンオブジェクトを追加し、様々なキーボードショートカットを用いて形状を調整します。最後に、鏡像モディファイアやループカットを追加し、滑らかな形状を作るためにスムーズツールを使用します。

05:07

🧵 布シミュレーションの物理属性設定

この段落では、布シミュレーションに必要な物理属性を設定する方法が紹介されています。布の種類を選択し、ストイックさやダンピングの値を調整します。シミュレーションの品質やキャッシュの設定を行い、接着オプションを有効にして前面と背面が引き合うようにします。また、キャラクターとの衝突も設定し、シミュレーションを再生して問題を解決する方法が示されています。最後に、シミュレーションをスムーズに再生するためにベイクする手順も説明されています。

10:09

🎨 Tシャツへの素材設定とモディファイアの適用

最後の段落では、Tシャツにマテリアルを設定し、ビューポートでの表示をカスタマイズする方法が説明されています。編集モードでフェイスを選択し、新しいマテリアルスロットを追加して色を適用します。また、ソリディファイとサブディビジョンサーフェスモディファイアを追加し、Tシャツの厚みと滑らかさを調整します。モディファイアの順序が重要であることと、シミュレーションを再生し、必要に応じてモディファイアを適用または適用解除する方法が強調されています。

Mindmap

Keywords

💡Tシャツ

Tシャツとは、一般的に上着として着用されるシンプルなデザインの半袖のシャツです。このビデオでは、Tシャツを制作するプロセスを説明しており、特に布のシミュレーションを使用して作成する方法に焦点が当てられています。Tシャツは、ビデオの主題である3Dモデリングとアニメーションの核心であり、キャラクターに装着させるために布シミュレーションを活用しています。

💡クロースのシミュレーション

クロースのシミュレーションとは、3Dモデリングソフトウェアで使用される技術で、布の物理的な性質を再現します。ビデオでは、Tシャツの布をキャラクターにフィットさせるためにこの技術を使用しています。シミュレーションにより、Tシャツがキャラクターの動きに応じて自然に変形する様子をリアルタイムで確認できます。

💡アーマーチャ

アーマーチャは、3Dモデリングにおいてキャラクターの骨格や関節を表現する構造です。ビデオでは、アーマーチャを選択しポーズモードに移ることで、キャラクターをTポーズに保ちます。これは、布シミュレーションがキャラクターにフィットするまで待機するプロセスに不可欠なステップです。

💡キーフレーム

キーフレームは、アニメーションの特定のポイントでオブジェクトの位置や姿勢を記録するものです。ビデオでは、キーフレームを移動したり削除したりして、キャラクターのポーズを調整し、アニメーションの流れを制御しています。

💡プレーン

プレーンは、3Dモデリングで基本的なジオメトリの一つで、2Dの表面を表します。ビデオでは、Tシャツの形状を作成するためにプレーンを追加し、様々な変形を適用してTシャツの原型を作り上げています。

💡ミラーモディファイア

ミラーモディファイアは、3Dモデリングにおいて、オブジェクトの半分の形状をミラーリングして対称的な形状を作成する機能です。ビデオでは、Tシャツの片側の形状を作成した後、ミラーモディファイアを追加して、もう片側を自動的に生成しています。

💡ループカット

ループカットは、3Dモデリングでエディットモードで使用される機能で、選択した頂点またはエッジに新しいエッジを追加し、形状を分割します。ビデオでは、Tシャツのデザインに必要な追加の分割線を作成するためにループカットを追加しています。

💡スムーズツール

スムーズツールは、3Dモデリングで使用される機能で、選択した頂点の間を滑らかにつなげることにより、物体の表面をスムーズにすることができます。ビデオでは、Tシャツの表面を滑らかにするためにスムーズファクターを設定しています。

💡サブディビジョンサーフェスモディファイア

サブディビジョンサーフェスモディファイアは、3Dモデリングで使用されるモディファイアで、オブジェクトの表面をより細かく分割して高品質のレンダリングを可能にします。ビデオでは、Tシャツの表面をより滑らかにするためにこのモディファイアを適用しています。

💡ソリディファイモディファイア

ソリディファイモディファイアは、3Dモデリングで使用されるモディファイアで、物体の表面に厚度を追加します。ビデオでは、Tシャツに適切な厚度を与えるためにこのモディファイアを使います。これにより、Tシャツの物理的な性質をより正確にシミュレーションできます。

💡マテリアル

マテリアルとは、3Dモデリングにおいて物体の表面に適用される視覚的なプロパティのセットです。ビデオでは、Tシャツに視覚効果を与えるためにマテリアルを割り当てています。マテリアルは、色、テクスチャ、光沢などを含みます。

💡ベイク

ベイクは、3Dアニメーションにおいてシミュレーションの結果をプリキャッシュするプロセスです。ビデオでは、シミュレーションをスムーズに再生するために、シミュレーションをベイクしています。これにより、リアルタイムでの計算を回避し、滑らかなアニメーションの再生が可能になります。

Highlights

使用Blender中的布料模拟来轻松制作T恤衫。

确保角色保持T姿态直到布料完全包裹角色。

通过选择骨架并进入姿势模式来启用角色保持T姿态。

使用Alt R和Alt G清除姿势并添加位置旋转关键帧。

通过Shift A添加平面并进行旋转来开始制作T恤。

使用G和Z键在Z轴上移动平面,并使用S键在Y轴上进行缩放。

使用Alt Z切换到X射线模式以便于选择和操作。

通过Ctrl R添加循环切割并选择左侧顶点进行删除。

添加镜像修改器并启用剪裁选项以限制顶点跨越镜像平面。

添加足够的水平和垂直循环切割以形成T恤形状。

选择并删除特定顶点,使用平滑工具调整形状。

启用比例编辑工具以适应T恤到身体。

通过E键挤出平面并选择面进行删除以形成布料缝合边缘。

添加布料物理属性并选择棉布预设进行模拟。

设置模拟质量、缓存和缝合选项以优化布料模拟。

添加碰撞属性,包括自碰撞,以提高模拟的真实性。

通过烘焙模拟来获得平滑的播放效果。

添加细分曲面修改器以改善T恤的弯曲效果。

添加固体化修改器以增加T恤的厚度。

调整修改器顺序以获得最佳模拟效果。

为视口添加材质以改善视觉效果。

按照正确的顺序应用修改器以完成T恤的制作。

教程结束,感谢观看并期待下一个教程。

Transcripts

play00:08

Hello.Welcome to my channel.In this  lecture,we'll learn how to make a t  

play00:14

shirt easily by using cloth simulation in Blender. We have such a rigged and animated character.We  

play00:20

gonna make a t shirt with cloth  simulation,and try it on the character. 

play00:25

If you wish,you can watch the lecture  about how to import animated character into  

play00:30

Blender.First of all,we should enable  the character to stay at the T pose  

play00:34

untill the cloth wrap the character completely. To do that,let's select the armature,and go to  

play00:41

pose mode.Go over the time line,press  G and drag the keyframes to frame 50.  

play00:52

Let's press Alt R,then Alt G to clear the pose. 

play00:56

Let's press I key, and add a location  rotation keyframe to frame 1.  

play01:01

Then,right click and duplicate the  keyframe.Drag the keyframe to frame 45. 

play01:11

Let's play the animation.As you can  see,the animation remains stable till frame  

play01:21

45.Now,let's go back to object mode  and get started to make t shirt.

play01:26

Let's press shift A and add a plane. 

play01:31

Let's press R key, then X key, and type  90 to rotate 90 degree on the X axis.Pres  

play01:37

G key,then Z key and move the plane on the Z axis. 

play01:43

Let's press numpad 3,then press G and Y  key,move the plane on the Y axis. 

play01:50

Let's press numpad 1 to go to front view. Press Alt Z and switch to X ray mode.

play01:58

Let's press S key, and scale up the plane.

play02:04

Press S and X key to scale up on the X axis. Press G,Z and move the plane down little bit.

play02:14

Let's press control A, and apply the  rotation and scale transformations.

play02:21

Let's press tab key and go to edit mode. 

play02:25

Let's press control R,and add  a loop cut in the middle.

play02:32

Let's select the left vertices,press delete key. 

play02:38

Let's go to modifier menu,and  add mirror modifier. 

play02:45

Let's enable the clipping option,so vertices  can not across the mirror plane.

play02:51

Let's press control R,then scroll up the mouse  wheel,and add horizontal loop cuts enough.  

play03:02

Let's add vertical loop cuts also in the same way. 

play03:10

Let's select these vertices and delete them.  

play03:24

Let's press A key and select all vertices.  

play03:27

Go to smooth tool,click on it,hold down  the yellow handle and drag it up. 

play03:34

Let's set the smooth factor to 1.  

play03:38

I don't want some vertices to be  smooth.So,I will grab these vertices.

play03:55

Let's enable the proportional editing  tool,and try to fit the shirt to body.

play04:21

Let's press A key and select all vertices.

play04:24

Press numpad 3 for side view.Let's  press E key and extrude the plane. 

play04:34

Let's press Alt Z and switch to solid view. 

play04:39

Let's switch to face selection mode.Let's  press C key and select these faces. 

play05:07

Press delete key and delete the selected faces.Let's  press C key again and select these faces. 

play05:21

Press delete key, and choose the only faces.

play05:25

In this case,the edges will remain.These edges  will be sewing in the cloth simulation.

play05:32

Now,it is time to add cloth physics.  

play05:35

Let's go to physics properties menu and  add cloth modifier.

play05:45

Firstly,let's choose what kind of cloth will  be used in the simulation. 

play05:49

To do that,we will use cloth presets.Go over  the cloth presets,and choose the cotton. 

play05:56

As you can see,the stiffness and damping values are  changed.We can also change these values manually. 

play06:06

Then,let's set the quality  of the smimulation to 20.  

play06:09

Higher values will give better results,but  it makes slower the simulation.

play06:15

Let's scroll down to cache section.I will set  the end frame of the simulation to frame 200. 

play06:23

Let's go to shape section, and  enable the sewing option.

play06:28

So,when we play the simulation,front and backface  of the shirt will pull together.  

play06:35

Let's set the maximum sewing force to 10. And set the shrinking factor to 0.01.

play06:44

Let's go to collisions section,and  set the collision quality to 10.  

play06:51

And set the collision distance to 0.01. Enable  the self collision,and set the distance to 0.01. 

play07:03

Also,we need to add collision to character.Let's  press tab key and go back to object mode.

play07:10

Select the character,and add a collision modifier.Set  the thickness outer to 0.001,and friction to 10.

play07:23

Now,let's play the simulation and see  what will happen.As you can see,

play07:34

there is a problem in the sleeve of the shirt.We  can increase the maximum sewing force.Let's  

play07:43

set the sewing force to 15,and  play the simulation again. 

play07:56

There we go.Let's right click  and make shade smooth.

play08:02

Let's play the simulation again.As you  can see,the simulation plays very  slow.

play08:08

Because,Blender calculates and  plays the simulation at the same time. 

play08:13

So,we need to bake the simulation  for smooth playback.

play08:22

Let's go to bake section and bake the simulation.

play08:47

Baking process has done.Let's  play the simulation again.

play08:52

We can play the simulation fastly and smoothly now.

play09:02

As you can see,the shirt can not bend smoothly.

play09:05

We need to add subdivision  surface modifier to the shirt. 

play09:09

Let's go to modifier menu and add  subdivision surface modifier.  

play09:16

Increase the number of subdivisions to 2.  

play09:28

We need also thickness of the shirt.Let's add  solidify modifier.Set the thickness value to 0.02. 

play09:40

The shirt looks better now.  

play09:46

Let's play the simulation again.

play09:55

Order of the modifiers is  very important.  

play10:00

If we move the solidify modifier above the subdivision  modifier,the result would be different.

play10:09

Also subdivision modifier must  be under the cloth modifier. 

play10:17

Mirror modifier must be at  the top of the modifier stack.

play10:23

Now,let's add material to the shirt for  viewport.Let's go back to first frame.

play10:29

Disable the solidify modifier for now.Switch  to front view.Go to edit mode.

play10:37

Let's go to material properties  menu.Add a new material slot. 

play10:42

Press new button,scroll down to  viewport display.Select the color.

play10:51

Let's select this face loop.

play10:57

Press Alt Z and switch to X ray mode.So,I  can select the back face of the shirt. 

play11:03

Let's press C key,and select these faces.Let's  scroll up,and add a new material slot.  

play11:20

new button and add a new  material for selected faces.

play11:25

Let's press assign button.Press Alt Z  and switch to solid view again. 

play11:32

Let's go back to object mode,and  play the simulation.

play11:37

Go to modifier menu and enable  the solidfy modifier again.

play11:55

You can apply the cloth modifier  at the frame you want.

play12:02

Note that you must apply the modifiers according to  order.

play12:06

Let's apply the mirror modifier firstly,then  apply the cloth modifier, 

play12:11

then subdivision modifier,and apply  the solidify modifier at last. 

play12:20

There we go.Thanks for watching.See  you in the next tutorial.

Rate This

5.0 / 5 (0 votes)

Related Tags
3DモデリングTシャツ作り衣類シミュレーションブレンダアニメーションキャラクターテクスチャ物理シミュレーションモディファイアマテリアル
Do you need a summary in English?