Animation Tutorials > Working with the Walkthrough Assistant >
Rendering Your Walkthrough Animation

There are some specific techniques to learn for rendering your animation into a movie file. You can render directly to a movie format such as AVI, or you can render a sequence of still image files to file formats such as TGA and then use the RAM Player to save them into a movie. The latter method is the recommended choice. It requires doing a few more steps than rendering directly to a movie format, but it gives you more control over the file size and quality of the output. In addition, if you have frames that have artifacts or other errors, you can repair or remove them.

This animation will take some time to render. Depending on the speed of your computer, the rendering can take a from a few minutes to several hours.

Set up the lesson:

- From the folder, open great_wall_render.max.
  TipIf the Units Mismatch dialog displays, choose Adopt The File's Unit Scale and then click OK.

  This file is similar to the one you created in the previous lesson. A bobbing motion has been added to the camera to simulate the up-and-down effect of someone jogging along the path. Two Omni lights have been added to create additional lighting, but to decrease rendering time, there is no Global Illumination.

Rendering an image sequence:

1. If the Camera viewport isn't active, right-click it to activate it.
2. From the Rendering menu, choose (Render Setup).

   Next, you'll define the animation range and output size.

3. On the Common tab of the Render Setup dialog, in the Time Output group, choose Active Time Segment. The range of frames is from 1 to 3000.
4. In the Output Size group, change the output resolution to 320x240.
5. In the Render Output group, click the Files button.

   3ds Max Design opens the Render Output File dialog.

6. Navigate to a directory where there is enough disk space to save the rendered files. You can use the Create New Folder button to establish a new location, if necessary.

   Next you'll define the type of still image file to render.

7. In the Save As Type field, click the drop-down arrow and choose JPEG File (*.jpg).
   NoteIn a production environment, probably you would want to use a high-quality, lossless format such as TGA or TIF. For the purposes of this tutorial, you will use the JPG format to keep the size of the output files small.
8. In the File name field, type my_jog.jpg, then click Save.

   After you click Save, a format-specific dialog asks you to specify attribute and information settings. Accept the default values, and then click OK.

   When you render a still-image sequence, as in this case, 3ds Max Design automatically appends a four-digit frame number to the first part of the file name. So the first frame will be my_jog0000.jpg, the second my_jog0001.jpg, and so on.

9. Make sure Save File is turned on in the Render Output group. Also, check that the Viewport field at the bottom of the Render Scene dialog is set to Walkthrough_Cam01 (not Top, Front, or Left), then click (Render Production).
   NoteA sky background is rendered. A dome object represents the sky.
10. The Rendering Progress dialog displays. Wait for a short while as the first frame is rendered. You will see the Last Frame Time, Elapsed Time, and Time Remaining values change after the first frame finishes.

    Allow at least four frames to render.

    At this point, you can work on something else while 3ds Max Design renders your animation.

    TipYou can also watch the rendering for errors or observe to see where you want to make changes. This is generally a good practice so that you can study the scene as it is rendered.

    After the rendering has completed, you will have 3,000 JPG files in the folder you specified.

Convert an image sequence into a movie:

The RAM Player loads still image sequences into memory and plays them so you can watch them as a movie. It actually lets you load two different sequences and then compare them visually, but you won’t use that functionality here. You'll simply use the RAM Player to save the files into an AVI file.

1. From the Rendering menu, choose RAM Player.
2. On the RAM Player toolbar, click Open Channel A.
3. In the Open File, Channel A dialog, navigate to the sequence of JPG image files. Highlight the name of the first file in the sequence and then ensure the Sequence option is turned on. Click Open.

   The RAM Player will now load the image files in sequential order starting with the first file you selected. The Image File List dialog appears. Here you can use the Every Nth and Multiplier fields if you need to speed up or slow down your animation. If your animation is too slow, change Every Nth to 2 or 3. If your animation is too fast, increase the Multiplier.

4. Click OK.

   The RAM Player Configuration dialog appears. Here you can observe and adjust your memory usage. There are also tools here to resize your animation, specify a range of frames to use, and split the alpha (transparency) information into a separate file.

   NoteIn order to use transparency, the image file specified has to be able to process an alpha channel. JPG files do not contain any transparency information the way TGA, TIF and PNG images often do.
5. Increase the Memory Usage to its maximum for your system, and then click OK

   The RAM Player loads the rendered files into memory. In the Loading dialog, observe how much memory is being used and remains available.

   If it looks like you are about to run out memory, click Stop Loading. If you have a low-memory system, reduce the number of frames to load and try again.

6. On the RAM Player toolbar, click (Playback Forward) and watch the movie play.
7. On the RAM Player toolbar, click (Save Channel A).

   A Save File, Channel A dialog appears.

8. Choose AVI as the file type, and name the animation my_jog.avi. Click Save.

   The AVI File Compression Setup dialog appears. Here you can choose a codec (compression/decompression type) and adjust the quality of the file. Choose the default Cinepak Codec. To reduce file size, lower the quality to 75%.

9. Click OK to continue.

Save your work:

- Save the scene as my_walkthrough_renderable.max.

  You can find a finished rendering of the animation as walkthrough_asst_great_wall.avi in the project folder \sceneassets\renderassets.

Summary

You have learned how to render your animation to a sequence of still image files. This allows you better control for later correction of your animation. You also learned how to assemble a still image sequence into a movie file, such as AVI or QuickTime using the RAM Player.