Working with nCloth and nParticles

Feb 17, 2011



I’m super excited to bring you this nCloth and nParticle tutorial. I remember when I first started working with dynamics. The very first tutorial I did was simulating a flag, and have been in love with Dynamics ever since. Make sure you check out the example video below, and let’s get started.


Example




9 Responses to “Working with nCloth and nParticles”

line divider
  • Alex

    Feb 18, 2011

    Very impressive – you make it look easy!

    Can you use slightly transparent letters – instead of shapes – with particles or waves, etc inside? And is it feasible to imbed the finished product into a website, like other graphics?

    That software is out of this world. Technology sure doesn’t slow down. PS – Got the job offer yesterday! Good times ahead – Later

  • line divider
  • Kris

    Feb 18, 2011

    Hey Alex,

    Great question! Yeah you can create the same effect with letters, you just need to make sure each letter is quads or triangles. I recommend using the lowest poly count you can when creating the letters, so if you have to add edges it won’t take as long, and you can smooth after you get the geometry correct.

    After you render out your image sequence and composite together the passes, render them out as a jpg or png sequence so you can import them into Flash with a small file size, and export it as a swf. Then embed the swf into your site, or you can render the sequence in a video format and embed the video into the site.

    Congratulations on the job offer I wish you the best of luck!

    Talk to you soon,

    Kris

  • line divider
  • Holly

    Feb 19, 2011

    Excellent tutorials Kris! I am currently working on a quick simulation using ncloth and I’m running into trouble. I need to create a silky cloth that flows easily in the air (exactly like this http://www.youtube.com/watch?v=chUhZQuB2Hw&feature=player_detailpage#t=15s ) But I’m having trouble finding the right dynamic and collision properties. Is there any tips or advice you can give me to help create this look. Thank you Kris. The tutorials are great. -Holly

  • line divider
  • Kris

    Feb 20, 2011

    Hey Holly,

    Great question! It’s hard to give you advice without seeing what your sim looks like. The main reason why there are so many folds and wrinkles in the Youtube video you sent is because it’s draped over the head, and it looks like they have simulated the effect a few times to get the initial state the way they want. Then it looks to me like they keyed the air field on for a few frames and turned it off.

    If your sim isn’t bending and folding enough try adding small amounts of the silk preset until you get the desired softness. Or if your sim is already to soft try stiffening it up by adding small amounts of heavy denim, or thick leather. The higher the resolution of the geometry the more folds and creases you will get. If you are getting penetration between nCloth objects remember to increase your solver attributes in the nucleus node. On the nClothShape node make sure to check that your collision thickness is set to a low amount. Sometimes if that’s set to high you will get a gap between objects. Also you can look in the Maya help files by pushing ‘F1′ where the nCloth node is described in better detail. Let me know if there is anything else I can do to help.

  • line divider
  • Chelsea

    Mar 17, 2011

    Hey! I was just working through this and thought of a question… How would you go about turning those nparticles into another shape? Like I dunno… popcorn or something?

    I’ve tinkered with the Instancer (Replacement) a bit but I’m not sure that’s really how to do it… I was never able to get anything really working.

    Thanks :)
    -Chelsea

  • line divider
  • admin

    Mar 17, 2011

    Hey Chelsea,

    Great question! One tip I have is if you are using a lot of particles, make sure whatever your replacing isn’t a high mesh. It can severely slow your sim down. If you were going to create popcorn just make sure you create it at the grids origin (0,0,0). Example – Let’s say if you model your popcorn 5 units in the Y direction, then when you instance the popcorn it will play 5 units in the Y direction from your emitter. Select the geometry you want to replace, then select the particles and hit instancer replacement. If you go into the replacement option box make sure your popcorn is above your nParticle in the instanced objects window. Make sure if you are using nParticles to stay in the nDynamics tab, don’t use the regular Dynamics tab to do your replacement. Let me know how it goes.

    Kris

  • line divider
  • palazzi

    Apr 14, 2011

    This is awesome. Thank you for this tutorial. You are real talented. keep up the good work.
    Palzzi

  • line divider
  • admin

    Apr 15, 2011

    Thanks Palazzi, that means a lot!

  • line divider
  • zahid

    Dec 23, 2011

    awesome very nice impressive..keep going kris

  • line divider

Your thoughts