Getting Started
 
 
 

Set up the scene:

Get acquainted with container tools:

  1. Each scene component has a named selection set. From the Named Selection Sets drop-down list on the main toolbar, choose the dinner setting item.

    This selects all the objects in the dinnerware set.

  2. Right-click in the active viewport, choose Hide Unselected, and then click (Zoom Extents All).

    The dinnerware set is maximized in all viewports.

    3ds Max provides various ways of accessing container-related commands, but one of the handiest is the Containers toolbar.

  3. Right-click an empty area on the main toolbar and, from the context menu that opens, choose Containers. Then right-click the Containers toolbar title bar, and choose Dock Right.

    The toolbar docks on the right side of the interface, next to the command panel.

  4. On the toolbar, click (Create Container From Selection).

    This command adds a new container to the scene and then places the selected objects in the container. The container appears in the viewports as a wireframe box with the lid flaps open. The box’s position is calculated from the average of the selected objects’ locations.

    Alternatively, you could create a new container and then add objects to it, but if you already know which objects you want in the container, using Create Container From Selection is the easiest method.

    NoteThe container is a helper object, and as such does not render.

    Because the container starts out in an open state, you can manipulate it and its contents freely.

  5. Move the container and note that its contents move along with it. Then move some of the contained items and note that their movement doesn’t affect other objects.

    In effect, the objects in the container are children of the container. But there’s much more to the Container feature than a simple hierarchical relationship.

  6. Undo any movements from the previous step, and then select the container.
  7. Go to the Modify panel and on the Manage Container rollout, click the Close button.

    A file dialog titled Container Definition File opens, with the default file name container_start_Container001, based on the scene-file name and the container name. The file name extension .maxc is added when you save the file.

    Note.maxc stands for “Max container,” and is actually a standard 3ds Max scene file with a special file name extension. If you ever have problems opening a container file, you can load it as a regular scene by changing the extension to .max.
  8. Navigate to the \scenes\modeling\container folder and click Save to store a copy on disk using the default name.

    After you close the container, its appearance in the viewport changes to indicate that it’s now closed.

  9. Move the container and then try to select an object within it.

    Moving the container works as before, but you can no longer select the contents. This behavior mimics the real world; if you put stuff in a box or other container and then close it, the contents are no longer directly accessible.

  10. On the Manage Container rollout, click Open.

    The box returns to its previous status, with one difference: On the Local Content rollout, the Saved Local Definition field contains the name of the saved container. When a container has a local definition, that effectively means you’re the container’s owner, although it doesn’t necessarily mean you have full control of its contents; this will become clearer later in the tutorial.

    TipThe entire path and file name probably don’t fit in the Saved Local Definition field, but you can see them, along with a tooltip, by positioning the mouse cursor over the field. In fact, most controls on the container rollouts offer helpful tooltips.

Share the container with yourself:

Henceforth this tutorial will refer to Session 1 and Session 2 of 3ds Max. The best way to learn how the Container feature works without getting mixed up is by working in two different sessions of the program. In effect, you’re simulating two users: one who originates a container in Session 1, and another who inherits it in Session 2. When you inherit a container, you can still use it, but only within the limits set by the originator.

One way to work in two different sessions of 3ds Max is by saving your work, resetting the program, and then reloading your work from the other session. As you can imagine, however, going back and forth this way is slow and cumbersome. Much better is to run 3ds Max twice, thus having two different sessions running concurrently on the same machine. We recommend this method if your machine has at least 2GB of system memory and 512MB or more of graphics memory. If you’re not sure whether you have enough memory, the best way to tell is just to try it.

Or, if you have two networked machines, run 3ds Max on both and switch back and forth. This latter method is closer to a typical studio setup with multiple users on the same team sharing data, but the single-machine approach works fine as well.

  1. Save Session 1 as my_container1.max.
  2. In Session 2, add the Containers toolbar as before, if necessary, and then click (Inherit Container). Using the Inherit Container file dialog, navigate to the folder in which you saved the container file (container_start_Container001) in the previous section, and then open the file.

    The container and its contents appear in the viewports, in the same location from which you saved them. The container is closed and selected.

    Click (Zoom Extents All).
  3. Move the container and then try to open it.

    You can move the container, but you cannot open it because the Open button on the Manage Container rollout is unavailable. Also note that the Edit In Place button is unavailable. To see one reason for this, return to Session 1.

  4. In Session 1, take a look at the Rules rollout.

    The When Inherited, Allow option is set to No Access (Closed), which means that the inheritor can work with the container, but not its contents. This capability is useful for a team in which one member creates the content and another simply arranges that content to set up a scene, such as a game level.

Next

Using Rules