Sunday, 6 February 2022

Creating Trash bags using cloth simulation in 3ds max

image

Creating trash is sometime looks complicated but if understand the cloth simulation it will more like fun.

Download PDF here





image

Result.gif

                 

  • Trash bag can be used as story telling element in Game environment.
  • Trash bag can lit up the scene when mostly used in bunch together with trash cans.
  • I used 3ds max for modelling and simulation.
  • Textures were created inside Substance Painter.
  • And previewed inside Unreal Engine 4.

1. First take a cube and make the bunch of copies now,

2. With help of Transform randomizer script, we can scramble them, This will be our inside debris.

 3. FFD to add more randomness and disturbance.

4. Now we need to animate it, which will act as inside pressure to form the initial shape of the bag.

5. Here is the result with simple FFD and scale. (GIF)

 6.Now create a cylinder and delete the top and using scale and FFD form it around our debris. Also  subdivide it for better result when simulating.

7. Select the edge loop and make a shape out of it.

8. Sweep modifier with Cylinder Pre-set

9. Now animate with scaling. This will act as our closing ring. (GIF)

10.Apply cloth modifier to cylinder. Set it as cloth and also add our debris box as a collision object. Make sure to enable self-collision.

11. Now select the vertices which are inside our ring. Make a group out of it and assign the node to the ring.

12. Click on Simulate.

13.Simulation result(Video)

14.Removed edge loops using dot loop to create lowpoly.

15.Quick texturing inside Substance painter. UV’s are just flatten mapped. Make sure Projection is set to Triplanar to UV.

16.Created variation with help FFD modifier.

17.In Game footage (UE4) :

0 comments:

Post a Comment