Nov 21, 2011 3Dean: Loopable Flag tutorial using Cloth in 3ds Max

More : Autodesk · Tutorials · · · · · 2 Comments

3Dean: Loopable Flag tutorial using Cloth in 3ds Max

Recently I had a job that required me to create a looping animation of a flag. I was very fortunate to find such a tutorial on THE AREA.com located here:

http://vitsly.wordpress.com/2009/01/23/loopable-flag/

The internet is awesome.

The tutorial was invaluable and allowed me to achieve the effect. As I went thru the tutorial I found tools and techniques I wasn’t aware of and thought it would be helpful to put some more details about the process into writing.

Scale is always an important factor when computing any kind of simulation. Make sure your units match the image:


—–

Create a plane in the front viewport using the settings in the image:


—–

In the original tutorial he creates seams running the length of the flag, in this one I’m creating them around the border. I added an edit poly, selected the edges that define the border and chamfered them:


—–

Select the plane and from the modifier panel add cloth. Click add objects and choose the Plane01 object. Match these settings w/the image by choosing satin from the presets menu. This sets the dynamics for the entire flag:


—–

I needed to pin the two corners of the flag. Open the sub-object group section under the cloth modifier. Then select the corners, apply some soft selection, then click “make group” and then preserve. This locks the corners of the flag and will prevent them from the dynamics calculation.
(In the original tutorial a selection set is made out of the vertices that make up the border and are applied the settings of burlap or rubber. This increases calculation times and I didn’t need it for my sim.):

—–

I ended up using two wind space warps linked to dummies. The dummies have noise controllers added to their rotational values for some randomness. I needed more “violent” motion in the flag and that’s why there are two:


—–

Next add the wind forces via the cloth forces button. I also lowered the gravity so the flag would appear larger. I then clicked the simulate button and waited 5 hours for 1000 frames to calculate. (I used a machine w/dual quads @ 2.33 ghz w/8 gigs of ram):


—–

After the sim is complete and looks good add the point cache on top of the cloth modifier. Click record and save the resulting cache file on your network in case you need render servers to see the file. You can then delete the cloth modifier. The size of the max file is much smaller after the cache
file is created and the cloth modifier is deleted:


—–

In the playback type area choose playback graph from the drop down. Go to the last frame of your animation turn on the animate button. Change the frame number to match the length of your animation. This is done so that you can move the animation in track view. Make a copy of the flag:


—–

First thing to do is isolate a section of time for the flag to loop, in this case mine is 200 frames towards the end of the sim. In order to get the flag animation to loop offset the flag copy animation by moving its’ key frames by the amount of animation or in this case 200 frames:


—–

As pointed out by Vitsly a simple morph will not work, he came up w/the brilliant idea to use a “wipe” style morph by using the vol select modifier. Using the settings in the image including the soft selection, turn on the animate button and in this case move the vol select gizmo to the left until there’s no soft selection effect on the vertices, (the vol select should be moving in the same direction as the wind) since we’re not on frame zero a key frame was automatically created @ frame zero, in track view move the key frame @ frame zero to the end of your animation in this case frame 800. This step is crucial because the key frame created on frame zero is the exact center of the gizmo on the object and thus will create an exact loop:


—–

Add the morpher modifier and use the settings in the image and that’s it! Again hats off to Vitsly for a very cleaver solution to a very complex problem!

Responses

  1. Guest says:

    December 8th, 2012at 6:05 am(#)

    Still unclear

  2. Guest 4 years later says:

    December 29th, 2016at 6:17 am(#)

    four years later still unclear

Leave a Response

Search Our Blog

New FumeFX Feature Film & Games Reel

The new FumeFX feature film and games reel is pretty amazing. It showcases the powerful particle generation toolset they have for creating smoke, fire, sparks and more. Check it out!

Read more →

Blackmagic URSA Mini 4.6k Camera Test & Color Grade

Check out this video where the youtube channel Tested, takes a look at the Blackmagic URSA Mini 4.6k camera and puts it to the test. Take a look for yourself.

Read more →

Motion Media’s March Madness Challenge is Back!

Motion Media’s March Madness Challenge – Do you have what it takes to pick them all? Join Motion Media and our customers in a challenge to pick the most correct games in the 2017 College Basketball playoffs and you could win a 5TB Lacie Rugged hard drive!

Read more →

Deadline 9 Now Available

Deadline 9

The latest version of our scalable high-volume compute management solution – Deadline 9.0 is now available. This new version introduces additional security features and UI improvements. For improved security of your render farm, all connections from Deadline to the Deadline database…

Read more →

Photorealism with Quixel Megascans & Redshift

Using Quixel Megascans and Redshift you can create stunning photorealistic renderings using the GPU. Check out these images and see if you can tell which one’s real and which one’s CG.

Read more →


News/Press Releases


Motion Media’s March Madness Challenge is Back!
Mar 13, 2017 | No Comments | Read more →

Motion Media’s March Madness Challenge – Do you have what it takes to pick them all? Join Motion Media and our customers in a challenge to pick the most correct games in the 2017 College Basketball playoffs and you could win a 5TB Lacie Rugged hard drive!

Maxon Announces Cinema 4D R18 – New Features
Jul 25, 2016 | No Comments | Read more →

Maxon announced the release of Cinema 4D R18 today at Siggraph in Anaheim. After watching some of the demos and reading a bit about it, the new features look pretty great. Take a look at the press release below from Maxon, and check out this Promo to find out how you can get a free copy of Cinema 4D R18.

iToo Software Call for Submissions!
Jun 9, 2016 | No Comments | Read more →

iToo software is looking for submissions for their showreel for 2016. If you have any Archviz, Animation, VFX or other shots you’d like included, get in touch with them today.

Autodesk Subscription Changes Coming Soon.
Dec 17, 2015 | No Comments | Read more →

Starting Feb 1, 2016, Autodesk will no longer allow for the late renewal of Maintenance Subscription contracts after expiration and all subscription agreements must be renewed on time. It is crucial that you do not miss your renewal date! Read on to get more information.

Atomos Shogun Studio
Jun 17, 2015 | No Comments | Read more →

Just Announced! The Atomos Shogun Studio is the word’s first all-in-one 4K/HD, 2ch, dual 7” 3RU rack recorder, monitor, and playback deck!

Events


Motion Media Does Art Walk
Apr 6, 2015 | No Comments | Read more →

Last Thursday the Seattle Motion Media Project space launched at the Seattle Pioneer Square Art Walk with a soft opening. The Motion Media Project space featured the work of visual artist, Robbie Schroeder.

Webinar: Network Attached Storage for Creative Workflows
Apr 1, 2015 | No Comments | Read more →

We want to teach you about Seagate NAS Solutions! Join Motion Media and Seagate to learn about how Seagate NAS solutions are ideal for all creative environments from Game Development, VFX and Animation to Post Production.

Motion Media Presents Robbie Schroeder!
Mar 23, 2015 | No Comments | Read more →

On April 2nd, Motion Media Project presents the work of Seattle artist, Robbie Schroeder. Join us at our Seattle, Pioneer Square gallery space for the April 2nd Pioneer Square Art Walk.

Motion Media’s Top 8 GDC Picks
Mar 13, 2015 | No Comments | Read more →

Motion Media attended the GDC 2015 last week. We went, we saw, we conquered. Now we are catching up on our sleep. Check out out top 8 picks for the most exciting attractions featured at the convention hall.

Join the Motion Media Madness Bracket Challenge!
Mar 12, 2015 | No Comments | Read more →

Register for the Motion Media Madness Bracket Challenge and you would win a Robox 3D Printer or other great prizes. Challenge the Motion Media team along with your peers to see who is the best at guessing who’s going to win!

Updates/Upgrades


Deadline 9 Now Available
Mar 9, 2017 | No Comments | Read more →

The latest version of our scalable high-volume compute management solution – Deadline 9.0 is now available. This new version introduces additional security features and UI improvements. For improved security of your render farm, all connections from Deadline to the Deadline database…

Realflow 10 from Next Limit Has Arrived!
Dec 7, 2016 | No Comments | Read more →

Realflow 10 is much improved and faster with a lot of new features. Realflow 10 also has a new lower price! Check out the new Dyverso Multiphysics solver, three new daemons and more.

Phoenix FD Maya Beta Now Available
Dec 7, 2016 | No Comments | Read more →

Phoenix FD for Maya Beta. Phoenix FD can simulate smoke, liquids, ocean waves, splashes, spray, mist, and more. It’s been refined to give users the power they need, with tools that are fast, intuitive and interactive. We’ve also added online licensing as an option.

Maxon Announces Cinema 4D R18 – New Features
Jul 25, 2016 | No Comments | Read more →

Maxon announced the release of Cinema 4D R18 today at Siggraph in Anaheim. After watching some of the demos and reading a bit about it, the new features look pretty great. Take a look at the press release below from Maxon, and check out this Promo to find out how you can get a free copy of Cinema 4D R18.

V-Ray Beta 3 for Revit Has Been Released
Jul 20, 2016 | No Comments | Read more →

V-Ray Beta 3 for Revit is now ready! Beta 3 runs noticeably faster — up to 30% faster. We’ve also refined the interface, improved interactive rendering and added support for Revit 2017.



Latest Tweets

  • How to choose the right #VR set for #architectualdesign and #visualization https://t.co/r5LMcE5iBB https://t.co/kLFIoSGlft
    about 6 days ago
  • This #EarthDay, discover ways companies are taking real action against climate change. https://t.co/3kcumRjlOv https://t.co/XhHZphsoDA
    about 6 days ago
  • Who wants to go for a ride? @AdskMaya https://t.co/mdjX4K3hG9
    about 6 days ago
  • When virtual assistants almost pass as human, they only seem more robotic via @TheAtlantic https://t.co/3MG55UXolJ https://t.co/pWrzlFBCEr
    about 6 days ago
  • Don't miss the Red Giant 25% off sale today only! https://t.co/eNnzBZAfR1 https://t.co/fpB7CRZq73
    about 2 weeks ago