Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Setting up the Reactor cloth elements

From: Getting Started with Reactor in 3ds Max

Video: Setting up the Reactor cloth elements

Let's get our project started by setting up our cloth simulation. We're going to be using a file named Cloth Curtains. All the geometry needed for our scene has been modeled and ready to go, which will give us an opportunity to concentrate on setting up the actual dynamic simulation. Now, although a deforming cloth type object would seem a logical candidate for a soft body simulation, Reactor offers a special collection and modifier type for cloth-type sims. Let's start by taking our front view full screen, then zooming in specifically on our right-hand side curtain.

Setting up the Reactor cloth elements

Let's get our project started by setting up our cloth simulation. We're going to be using a file named Cloth Curtains. All the geometry needed for our scene has been modeled and ready to go, which will give us an opportunity to concentrate on setting up the actual dynamic simulation. Now, although a deforming cloth type object would seem a logical candidate for a soft body simulation, Reactor offers a special collection and modifier type for cloth-type sims. Let's start by taking our front view full screen, then zooming in specifically on our right-hand side curtain.

We'll make the viewport changeover using the Alt+W keyboard shortcut. Okay, let's talk about geometry real quick. In simulating cloth, Reactor can use any 2D surface: polygons, patches, NURBS-- it makes no difference. What does make a difference is that that geometry needs to be two-dimensional. So whatever you use, it's got to be flat. Another thing that's important is the amount and the layout of the lines, as both influence how well the cloth will fold and stretch. Because of the way that our curtains are going to fold and be pulled to the side, in our situation here we'll be able to get away with using a wireframe design that's very evenly laid out.

By that, I mean that all of our mesh edges run straight acrossed, both up and down, and left or right. Most of the time though, when simulating a cloth surface, you'll find that your mesh will fold and stretch more realistically if your wire design isn't too contiguous, meaning that having your edges traveling in a bunch of various directions will actually make for a better-deforming cloth object. The reason for that is that cloth has a tendency to fold along the pattern of its edges. So for something like a shirt or bed sheet, evenly spaced and squared-off edges just don't typically make for as realistic-looking cloth deformation.

Our curtains though, will fold just fine with a more standard wire layout. Now behind the curtain and in front of the orange curtain rod, you'll see a series of what look like yellow circles. They're actually cylinders that are going to serve as the clips that'll end up pulling each of our curtains to the side. The clips, which will be identified as rigid body objects in our sim, will need to somehow be secured to their respective curtain. We're going to do that using a constraining mechanism on the cloth modifier that we'll be assigning to each curtain.

Once the individual curtains are assigned to the appropriate clips, we'll then be able to animate the position of the clips, which will in turn pull the curtains back to the side, having them bunch up or gather together as they do. After the clip attachments have been made, we can then get our curtains into a collection--that collection being the ticket to being able to run our sim. So let's set things up. We'll select the curtain on the right, assigning a Cloth Modifier from the Reactor toolbar. The Cloth Modifier, located a little further down in the toolbar, will look like a t-shirt with a small M to its side.

Now, I'd like to run this through a preview. That's going to require us though, to put this guy into a collection. What type? That's right. Cloth surfaces go into Cloth Collections. With the curtain still selected, back in the toolbar on the left, we'll go to the top. Once we are there, we'll find the Cloth Collection. It will be the second one down, the icon looking like a shirt with a C on it. Once you find that, you can go ahead and click. Okay, let's run a quick preview here and see what happens. To get to the Preview window, we'll simply use the Shift+Alt+Right-click shortcut.

Now, because the curtain is resting a little bit low in the Preview window, I'll use the left and middle mouse buttons to better position my object. Now, I'll demo that. Once I have it in better position, I'll go ahead and press P for playback. Well, that's not going to cut it. The curtain, not having anything to hold on to, simply drops like a rock. This is where the curtain rod clips will come in to play.

Each clip will be assigned to a series of individual vertices on the curtain's surface, the verts chosen being the ones that are encloses proximity to each clip, and that'll be what it'll hold each curtain in place: certain vertices on the curtain being constrained to certain clips hanging in front of the rod. Now in order to be able to make our vertex identifications on the curtain, we're going to need to be in Vertex mode on our Cloth modifier. Let's go ahead and get there. We'll select the curtain. Then head over to the right-hand side of the screen.

In the Modifier stack, the top entry, reading Reactor Cloth, has a Plus sign to its left-hand side. Go ahead and click on that. When you do so, you'll see the Vertex subobject level. You'll then want to select that. Okay, now we can drop little further down to the Constraints area on the modifier. The Cloth modifier gives you four different ways to constrain a cloth surface to something else in your scene. Being that our curtain clips are going to be seen as rigid body objects in our simulation, we'll click on the button that says Attach To Rigid Body.

That will open up a box directly below with that new RigidBody entry showing in the list. Because we're going to be having several of these attachments on each curtain, let's go ahead and rename our entry. To do that, you'll simply single-click on it a couple of times until you get into the naming mode. Once we're there, let's go ahead and name this RT, then a space, then the number One. You can then press Enter to lock in the new name. We'll then want to go back and click on that new name as a way of telling Reactor that it's the newly created attachment that we are wanting to work on.

When you select it, it'll highlight with the blue background. Now back in the viewport, we'll want to select at least a couple of vertices around the specific curtain clip that will bind back to that area on the curtain. Now, we're working on the curtain clip on the far right side. In Vertex mode, let's now window-select the six vertices that surround that clip. After doing so, the vertices should turn red. Okay, a little higher up in the modifier in a section called Attach To Rigid Body, click on the None button, then in the scene click on the clip that's right underneath that vertex selection.

If you've made a good connection, you should now see the name Clip RT 1 under where it says Rigid Body. So that's how the attachment is made. We can now do the same thing for the other two clips on the right-hand curtain. I'll drop back down to the Constraints category, clicking again on Attach To Rigid Body. That'll create a second attachment. Now let's rename this. We'll call it Right Two. We'll then go back and select the attachment, then drop back into our scene. Now for the second middle yellow clip, we'll again select the six vertices that surround it.

For that last row, you can either go to the left like I've done or to the right; it shouldn't make much difference. To now identify that second clip, we'll go back up to where it says Attach To Rigid Body, click on the None button, then back in the scene, clicking on that second middle yellow clip. Now once you've done so, go back to the right and verify, under Rigid Body, it reads Clip Right Two. Let's now go ahead at our third attachment. For this one, I'll name it Right Three.

We'll reselect it, then go in for our vertices. Now for the clip on the left, why don't we grab let's say the eight vertices that surround it. We'll start on the upper left-hand corner, pulling down to the second row, then over four. Very good! Now we'll go back up in the Modifier column, making that identification back to our clip. We'll click on None, then we'll click on the clip itself. Now after doing so, again, for verification purposes, we'll go back to the right-hand side and verify under Rigid Clip it reads, Clip RT 3.

Okay, let's now run another preview and see what happens. I'll right-click using the Shift+ Alt combo to get to my preview. As the warning message is telling us, we need to get our curtain clips into our rigid body collection of their own being that they are going to be a needed part to our simulation. So we'll close the message box, hitting H to go to select by name. From the list, we can then drop halfway down, selecting Clip RT 1, RT 2, and RT 3. Once we've done that, we'll click OK, down in the bottom-right corner.

Now that will give us our selection. Now, we're going to have to create that rigid body collection. In the Reactor toolbar over in the left, there it is, way at the top. We'll verify the name of the icon, then click. Okay, let's see what happens this time going through a preview. Even in the preview goes a little bit slow due to the calculations taking place, now I am playing things back, you see the curtain definitely has a little more stretch to it than we probably want. We'll be able to adjust that, but the good part about the Preview is the cloth is staying attached to the clips.

Let's now do the same thing for our left-hand curtain. Adding a modifier, making the attachment assignments and adding it to the Cloth Collection. We'll close the window, then go back into our scene. Once I have better situated the left- hand curtain, I'll go ahead and make the selection and add the Cloth Modifier. This time around, I'll use my Quad menu with the Shift+Alt+Right-click selection. Okay, back to the Modifier column. Let's get into Vertex mode. Working in the Constraints category down below, we can now click on Attach To Rigid Body.

Okay, same thing here. We'll rename the attachment Left One. We'll then, working again in Vertex mode, select the six vertices that surround that right-hand clip. Let's go to a little closer in, so we can better make our selection. Once we've got those vertices and our crosshairs, we can then go back and make the attachment back to that right-hand-side clip. Let's do the same thing for the middle clip. Down to Attach To Rigid Body.

This one we'll name Left Two. We'll then reselect the attachment entry, going back to make a Vertex selection. Again, why don't we select the six verts that surround the middle clip? We can then go back up on the right and identify the middle clip as what we want these vertices to attach to. Again, before going on, make sure to return to a right-hand side, verifying that the Rigid Body reads, in this case, Clip Left 2.

Very important, you don't want to be dropping that vertex selection somewhere along the road. Let's now slide over and work on the clip on the left. Once in position, we'll return to Attach To Rigid Body, naming our third attachment Left 3. We'll then go identify in this case the eight vertices that'll be attached to the selection. And as a final step, we'll then identify the clip on the left. Okay, once we've finished up with our attachments, we'll get out of Vertex mode, then head back to our scene to select the Cloth Collection.

With the Collection selected, back on the right using the Pick button, we'll now click on that left-handed side curtain. Before running another preview, we're going to want take these three clips, getting those also into our Rigid Body Collection. Using H, I'll select the RBCollection, then over on the right click on the Add button. From the list, we'll simple go about halfway down, identifying the three clips. Okay, let's run another preview and see how things turn out.

On play, you'll see the things are turning out looking pretty good. Now, with that second curtain coming into action, we're getting a little bit now even slower version of our playback. So let's do this. As a setup, because we really don't even want to work on one curtain at time, let's go back to our Rigid Body Collection, this time deleting--at least temporarily--the right-hand curtain. I'll need to go back and then select the Cloth Collection, then on the right click on the name Curtain Right.

Once I've got that highlighted, I'll go down below on the right-hand side clicking on Delete. Okay, that'll, at least for the time being, take that right-handed side curtain out of the simulation. So I am liking the way things are turning out. Both curtains now seem to be holding together fairly well. Now, the next thing to do is going to be to animate the clips pulling back the curtains. We'll do that keyframing in our next video. Let's save our scene up as Cloth Curtains01, so we can take the file with us.

Show transcript

This video is part of

Image for Getting Started with Reactor in 3ds Max
Getting Started with Reactor in 3ds Max

39 video lessons · 4140 viewers

Steve Nelle
Author

 
Expand all | Collapse all
  1. 4m 57s
    1. Welcome
      1m 24s
    2. How to use this course
      1m 7s
    3. Using the exercise files
      2m 26s
  2. 56m 21s
    1. Understanding how Reactor works
      7m 33s
    2. Accessing the Reactor commands and controls
      4m 1s
    3. Working with Reactor's collection types
      7m 51s
    4. Working with Soft Body Modifier types
      5m 56s
    5. Using constraints to limit object movement
      7m 46s
    6. Assigning physical properties using the Property Editor
      7m 45s
    7. Previewing a simulation
      3m 56s
    8. Creating keyframes for a simulation
      4m 58s
    9. Controlling the accuracy of your simulations
      4m 30s
    10. Choosing a physics engine to run your simulations
      2m 5s
  3. 51m 46s
    1. Project overview
      56s
    2. Modeling the broken glass
      13m 17s
    3. Adding the simulation's physical properties
      1m 53s
    4. Animating the breaking object
      5m 4s
    5. Creating the Rigid Body Collection
      1m 32s
    6. Previewing the simulation
      5m 20s
    7. Adding a fracture helper to improve realism
      4m 38s
    8. Building the scene's materials
      5m 36s
    9. Creating the keyframed animation
      4m 41s
    10. Setting up the visibility track for the glass
      8m 49s
  4. 26m 53s
    1. Project overview
      1m 21s
    2. Setting up the scene's rigid bodies
      4m 3s
    3. Adding the soft bodies into the simulation
      9m 18s
    4. Working with the Soft Body Modifier settings
      8m 3s
    5. Making the final adjustments and creating the keyframes
      4m 8s
  5. 27m 39s
    1. Project overview
      1m 17s
    2. Setting up the Reactor cloth elements
      12m 34s
    3. Animating the rigid body curtain clips
      5m 41s
    4. Making adjustments to the curtain cloth modifiers
      6m 5s
    5. Creating keyframes in preparation for rendering
      2m 2s
  6. 20m 18s
    1. Adding the physical properties and collection
      3m 7s
    2. Creating the water helper
      3m 19s
    3. Adjusting the water parameters and creating the keys
      7m 43s
    4. Building a believable water material
      4m 15s
    5. Wrapping things up
      1m 54s
  7. 41s
    1. Goodbye
      41s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Getting Started with Reactor in 3ds Max.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.