Article Visited: 83272 times
[ Notes: All tutorials are either written by our visitors or collected from Internet. Our pure intention is to provide good tutorials for CG enthusiasts and professionals alike. Full credits of the tutorial including authors's name, website and company name are given. It is a good way to let people know how professional your works are.
Of course, if in anyway, you do not like to host your tutorial with us, please leave a comment with the tutorial and provide the proof of your ownership to the tutorial. We are more than happy to remove it for you. ]
One more thing, this space is also for advertising. If you are interested in helping us running this website, please contact us on: ads[at]9jcg[dot]com.
This site is hosted with IXWebhosting:
- CG Cloth > [En]Falling leaves with nCloth and Paint Effects (Posted By: mayafishing)
:: Post Date: 2007-03-07 12:25:51 [Post Comment] [Post Articles]
Falling leaves with nCloth and Paint Effects
-Use latest simulation module nCloth and Paint Effects in Maya 8.5 to create falling leaves animation
Author: Duncan Brinsmead
sunsetLeafFall.avi sunsetLeaf.zip With nCloth, Maya users finally have a simple method for handling falling leaves. One can also easily attach leaves to branches and have the attachments broken by windforces by using nCloth constraints with glue strength. The basic workflow is very simple. Make a paint effects tree, convert it to poly, select the leaves and make nCloth. What follows is a more detailed tutorial.
1. Create a Paint Effects Tree
In general it helps to use a tree that will convert to poly well and which will not have too many segments per leaf. Here is a brush preset that should work OK. Put the following two files in your maya location "treesMesh" directory. (Do "Paint effects:Get Brush" and you will see the full pathname near the top left of the visor window) oakBigLeaf.mel oakBigLeaf.mel.icon You should now be able to select the preset "oakBigLeaf" in the visor and then create a tree by painting on the ground.
2. MENU "Modify: Convert: Paint Effects to Polygons"
3. Select the Leaves
4. MENU "nCloth: Create nCloth"
The leaves will now fall downward during playback. On the nucleus node turn on "Use Plane" to collide with the ground. The playback will be rather slow. To speed things up set the substeps and max collision iterations on the nucleus node to 1. Also turn off "Self Collide" on the nClothShape. (If you want to collide the leaves with each other you can enable this, but you will likely wish to make the selfCollideWidthScale 1.0 and lower the thickness a bit) The simulation should now playback quickly. Raise the friction on the nCloth and the planeFriction on the nucleus node so the leaves don't slide too much.
5. Increase the nCloth bend resistance
The preset in this tutorial has a little bend on the leaves so that they will curl as they fall, in typical leaf fashion. We need some bend stiffness for this to work. The Stretch/Compression/Bend resistance can all be set to 1.0 (if you have more segments on the leaves then you will need higher values)
6. Increase Lift and Drag on the nCloth
Setting both attributes to 0.3 works pretty well. In general if you make the lift higher than the drag it will be too energetic, but it provides a nice control over the character of motion. You can also make the tangential drag a little higher than zero so that there is some resistance to motion in the plane of the leaf. With tangentialDrag at 1 and lift at 0 we have simple uniform drag which looks boring and unnatural: sunsetLeafUniformDrag.avi If we lower the tangentialDrag to 0 but still have zero lift the effect is somewhat more interesting, but you still don't get the desired looping motion: sunsetLeafNoLift.avi When we add in the effect of lift the animation becomes much more natural: sunsetLeafFall.avi
7. Have some fun!
We can play with various cloth attributes during playback to see how it affects the simulation. Try editing the wind strength and direction on the nucleus node to blow the leaves around. You can pull all the leaves back onto the tree by raising "Input Mesh Attract". Note that if one animates the original pfx tree( with turbulence for example) then this attraction is to the animated leaf positions. One could have the tree blowing around using turbulence on the pfx brush node then animate the inputMeshAttract from 1 to zero to release the leaves. Raising deform Resistance will freeze the overall group of leaves as if they were in a block of ice. Lowering it will then "melt" the ice (not realistic, but still fun). The rest of this tutorial will cover how to attach the leaves to the tree and dynamically break the attachments(through wind or tree shaking) such that the leaves don't all fall at once.
8. Select the leaves and the tree
9. MENU: "nConstraint: Component to Component"
By default each cv on the leaf object is connected to the nearest cv on the tree object, and visa versa. Instead we only want connections where the leaves touch the tree. To do this set the constraint "Connection Method" to "Within Max Distance" Now when you playback some leaves will fall, because all their cvs are further the the default "0.1" Max Distance from the tree cvs. We can simply increase the Max Distance to about 0.3. Playback will now be slower because this creates many connections( some redundant ones ). The longer connections can help keep the leaves from twisting about the branch. A more accurate connection would involve connecting edges to edges and using the bendStrength on the constraint to keep the leaves from twisting, although this is much slower to compute. To do this lower the constraint max distance to about 0.08 and on the two nComponent nodes set "Component Type" to edge.
10. Set glue strength so bonds can break.
Set the constraint glue strength to about 0.2 and increase the wind speed on the nucleus node to blow leaves off the tree. Note that one may wish to type values greater than 1.0 into the wind speed. Alternately you could have turbulence animation on the oakBigLeaf brush to shake the leaves off. One could also key the brush Uniform Force attribute to bend the tree. Note that if you are using an edge to edge constraint with bend strength then you also need to set the constraint "Bend Break Angle".
In the following animation the brush Path Follow attribute was animated to bend the tree, following by an increase in Wind Speed on the nucleus node.
sunsetLeafBlow.avi The following project contains the scenes sunsetLeafFall.ma and sunsetLeafBlow.ma as well as source image files. sunsetLeaf.zip
Comments: (Currently there are 35 comments.)
- [Anonymous]vietnam tours ( 2015-05-06 23:39:15 ) [Post Comments]
|Resources like the one you mentioned here will be very useful to me! I will post a link to this page on my blog rental mobil . I am sure my visitors will find that very useful vietnam tours|
- [Anonymous]great5th ( 2015-04-30 16:27:51 ) [Post Comments]
|You are looking top Packers and Movers so Just Visit:|
Movers and Packers in Bangalore or http://www.great5th.in/packers-and-movers-bangalore/
Movers and Packers in Delhi or http://www.great5th.in/packers-and-movers-delhi/
Movers and Packers in Noida or http://www.great5th.in/packers-and-movers-noida/
Movers and Packers in Ghaziabad or http://www.great5th.in/packers-and-movers-ghaziabad/
Movers and Packers in Faridabad or http://www.great5th.in/packers-and-movers-faridabad/
- [Anonymous]great5th ( 2015-04-30 16:19:20 ) [Post Comments]
|You are looking top Packers and Movers so Just Visit:|
Movers and Packers in Pune or http://www.great5th.in/packers-and-movers-pune/
Movers and Packers in Mumbai or http://www.great5th.in/packers-and-movers-mumbai/
Movers and Packers in Navi Mumbai or http://www.great5th.in/packers-and-movers-navi-mumbai/
Movers and Packers in Thane or http://www.great5th.in/packers-and-movers-thane/
Movers and Packers in Gurgaon or http://www.great5th.in/packers-and-movers-gurgaon/
- [Anonymous]packers movers ( 2015-04-30 15:03:21 ) [Post Comments]
|we are providing the finest shifting service across nation|
Packers and Movers Faridabad @ http://3th.co.in/packers-and-movers-faridabad/
Packers and Movers Ghaziabad @ http://3th.co.in/packers-and-movers-ghaziabad/
Packers and Movers Noida @ http://3th.co.in/packers-and-movers-noida/
Packers and movers Guhawati @ http://3th.co.in/packers-and-movers-guwahati/
Packers and Movers Chandigarh @ http://3th.co.in/packers-and-movers-chandigarh/
- [Anonymous]Packers and Movers ( 2015-04-27 17:01:06 ) [Post Comments]
|Packers and Movers in Pune or |
Packers and Movers in Mumbai or
Packers and Movers in Hyderabad or
Packers and Movers in Bangalore or
Packers and Movers in Chennai or
Top 3 Packers and Movers in Delhi or
- [Anonymous]Packers and Movers ( 2015-04-27 16:55:53 ) [Post Comments]
|Packers and Movers in Gurgaon or |
Packers and Movers in Delhi or
Packers and Movers in Noida or
Packers and Movers in Faridabad or
Packers and Movers in Ghaziabad or
Packers and Movers in India or
- [Anonymous]great5th ( 2015-04-20 19:30:19 ) [Post Comments]
|Top 5 Packers and Movers Pune or http://www.great5th.in/packers-and-movers-pune/|
Top 5 Packers and Movers Bangalore or http://www.great5th.in/packers-and-movers-bangalore/
Top 5 Packers and Movers Gurgaon or http://www.great5th.in/packers-and-movers-gurgaon/
Top 5 Packers and Movers Mumbai or http://www.great5th.in/packers-and-movers-mumbai/
Top 5 Packers and Movers Delhi or http://www.great5th.in/packers-and-movers-delhi/
Top 5 Packers and Movers Noida or http://www.great5th.in/packers-and-movers-noida/
Top 5 Packers and Movers or http://www.great5th.in/
- [Anonymous]Packers and Movers G ( 2015-04-18 21:52:26 ) [Post Comments]
|Packers and Movers Gurgaon@http://packersservice.com/packers-and-movers-gurgaon/|
Packers and Movers Hyderabad@http://packersservice.com/packers-and-movers-hyderabad/
Packers and Movers Noida@http://packersservice.com/packers-and-movers-noida/
Packers and Movers Bangalore@http://packersservice.com/packers-and-movers-bangalore/
Packers and Movers Chennai@http://packersservice.com/packers-and-movers-chennai/
Packers and Movers Delhi@http://packersservice.com/packers-and-movers-delhi/
- [Anonymous]george ( 2015-04-16 18:53:45 ) [Post Comments]
|Oh, I am impressed. It is so interetsing.|
P.W. buy college papers at http://essaywritingstore.com at ny time.
- [Anonymous]robinmarvel ( 2015-04-13 18:04:54 ) [Post Comments]
- [Anonymous]anujkushawaha14 ( 2015-04-11 15:29:04 ) [Post Comments]
|This article is really fantastic and thanks for sharing the valuable post. |
- [Anonymous]anujkushawaha14 ( 2015-04-11 15:28:35 ) [Post Comments]
|Thanks for post this helpful post - Please visit for More information about -|
- [Anonymous]anujkushawaha14 ( 2015-04-11 15:28:09 ) [Post Comments]
|If you are looking Best Packers and Movers so Just Visit At:|
- [Anonymous]anujkushawaha14 ( 2015-04-11 15:27:02 ) [Post Comments]
|Thanks for all your information, Website is very nice and informative content.|
- [Anonymous]payday loans ( 2015-02-22 13:13:40 ) [Post Comments]
|I wanted to thank you for this excellent read I definitely loved every little bit of it. Your articles have inspires me a lot. I have new idea about the same topics in my blog. Now click payday loans and free to apply to loans. That¡¯s really amazing. Thanks for sharing¡|
- [Anonymous]How apple pay works ( 2015-02-16 12:23:42 ) [Post Comments]
|We are really grateful for your blog post.How apple pay works with passbook? I just want to let you know that I just check out your site and I find it very interesting and informative. Thanks for posting this info.|
- [Anonymous]http://supreme-essay ( 2014-10-16 15:14:14 ) [Post Comments]
- [Anonymous]lory lory ( 2014-10-16 15:12:20 ) [Post Comments]
|Hey there! I¡¯ve been reading your blog for some time now and finally got the courage to go ahead and give you a shout out from Atascocita Texas! Just wanted to mention keep up the good work!|
- praveen ( 2014-02-05 13:23:38 ) [Post Comments]
- [Anonymous]yograj ( 2011-08-05 20:26:09 ) [Post Comments]
|Thanks Very nice Creation Falling leaves and this tutorials|
- [Anonymous]Raja, India,TN ( 2011-02-05 15:29:52 ) [Post Comments]
|Very nice, but we need little more|
- [Anonymous]chandu ( 2009-12-30 20:10:10 ) [Post Comments]
- [Anonymous]Johney ( 2009-10-09 19:00:13 ) [Post Comments]
- [Anonymous]uzma airaj ( 2009-06-02 19:18:37 ) [Post Comments]
Your website is too helpful and tutorials are easily understandable.
- [Anonymous]sham ( 2008-10-17 16:37:47 ) [Post Comments]
|good to have tis 1.........|
- [Anonymous]Satya ( 2008-09-25 01:25:26 ) [Post Comments]
|Thanks Mate... Real gud one,Helped me a lot|
- [Anonymous]Djen ( 2008-08-24 19:40:16 ) [Post Comments]
|Cool buddy. this is gonna help me a lot|
- [Anonymous]sathiyaraj ( 2008-06-24 15:05:28 ) [Post Comments]
- [Anonymous] ( 2008-01-06 16:06:49 ) [Post Comments]
|this is a nice tutorials for beginners like me! thanks! just some ppl dunno how to appreciate...|
- [Anonymous] ( 2007-08-09 15:18:46 ) [Post Comments]
|good tutorial but increase lighting to the background|
- [Anonymous]Saheee74 ( 2007-05-14 16:57:37 ) [Post Comments]
|Keep up the goods, can we ask for more Ncloth tutors ?|
- [Anonymous] ( 2007-04-30 23:36:34 ) [Post Comments]
- [Anonymous] ( 2007-04-30 23:17:04 ) [Post Comments]
- [Anonymous]Isaac[pl] ( 2007-04-12 05:17:51 ) [Post Comments]
|No, you are idiot, this is not bad.|
- [Anonymous]no te importa ( 2007-04-09 05:27:18 ) [Post Comments]
|This tutorial is reality a shit|