Exemples¶
Pour démarrer avec les tissus, la première chose dont vous avez besoin est du tissu. Aussi, supprimons le Cube par défaut et ajoutons un plan. Pour obtenir un tissu bien souple et flexible, vous aurez besoin de le subdiviser plusieurs fois, huit semble être un bon nombre. Aussi Tab
en Mode Édition, et pressez W
, et mettez-le à 8.
Maintenant nous allons fabriquer ce tissu en allant à l’onglet Physics. jusqu’à ce que vous voyez le panneau Cloth, et pressez le bouton Cloth. Maintenant un grand nombre de réglages apparaissent, pour le moment nous laisserons de côté la plupart d’entre eux.
C’est tout ce dont vous avez besoin de faire pour votre tissu pour l’animation., mais si vous pressez Alt-A
, votre joli tissu . C’est pourquoi nous allons couvrir dans les deux sections suivantes l’épinglage et les collisions.
Using Simulation to Shape/Sculpt a Mesh¶
You can Apply the Cloth Modifier at any point to freeze the mesh in position at that frame. You can then re-enable the cloth, setting the start and end frames from which to run the simulation forward.
Another example of aging is a flag. Define the flag as a simple grid shape and pin the edge against the flagpole. Simulate for 50 frames or so, and the flag will drop to its “rest” position. Apply the Cloth Modifier. If you want the flag to flap or otherwise move in the scene, re-enable it for the frame range when it is in camera view.
Lissage de Cloth¶
Maintenant, si vous avez suivi cela depuis la section précédente, votre tissu a une apparence probablement un peu monolithique. Pour le rendre plus joli et lisse comme sur l’image, vous avez besoin d’appliquer un modificateur Smooth et/ou Subdivision Surface dans l’onglet Modifiers. Puis, dans le même éditeur, Trouvez le panneau Links and Materials (le même que celui pour les groupes de sommets) et pressez sur Set Smooth.
Maintenant, si vous pressez Alt-A
, les choses commencent à paraître plutôt jolies, ne pensez-vous pas ?
Tissu sur armature¶
Les tissus déformés par une armature et un objet de collision supplémentaire : Regression blend-file.
Cloth with animated vertex groups¶
Cloth with animated pinned vertices: Regression blend-file. UNSUPPORTED: Starting with a goal of 0 and increasing it, but still having the vertex not pinned will not work (e.g. from goal = 0 to goal = 0.5).
Cloth with Dynamic Paint¶
Cloth with Dynamic Paint using animated vertex groups: Regression blend-file. UNSUPPORTED: Starting with a goal of 0 and increasing it, but still having the vertex not pinned will not work (e.g. from goal = 0 to goal = 0.5) because the necessary “goal springs” cannot be generated on the fly.
Tissu pour Softbodies¶
Cloth peut aussi être utilisé pour simuler des softbodies. C’est certainement pas son objectif principal mais il fonctionne néanmoins. l’image exemple utilise un matériau Rubber, sans réglages fantaisistes, simplemet pressez Alt-A
.
Fichier blend pour l’image exemple : Using Cloth for softbodies.
Tissu dans le vent¶
Regression blend-file for Cloth with wind and self collisions (also the blend for the image above): Cloth flag with wind and selfcollisions.