Рендеринг Анімацій – Rendering Animations

While rendering stills will allow you to view and save the image from the render buffer when it is complete, animations are a series of images, or frames, and are typically saved directly to disk as they are rendered.

By default, Blender automatically saves animation frames using the settings defined in the Output panel, while still renders must be saved manually from the render buffer or by using a Compositor File Output node.

This behavior depends on the Output option in the Output properties. When enabled (default), animation renders are written automatically. When disabled, Blender will not save render output from the Output panel and instead relies on alternative output methods such as Compositor File Output nodes. If no valid output method is available, rendering operations will report errors.

After rendering the frames, you may need to edit the clips, or first use the Compositor to do green-screen masking, matting, color correction, DOF, and so on to the images. That result is then fed to the Sequencer where the strips are cut and mixed and a final overlay is done.

Finally you can render out from the Sequencer and compress the frames into a video file.

Workflow – Робпотік

Generally, you do a lot of intermediate renders of different frames in your animation to check for timing, lighting, placement, materials, and so on. At some point, you are ready to make a final render of the complete animation for publication.

There are two approaches you can use when making a movie, or animation, with or without sound. The approach you should use depends on the amount of CPU time you will need to render the movie. You can render a «typical» frame at the desired resolution, and then multiply by the number of frames that will ultimately go into the movie, to arrive at a total render time.

If the total render time is an hour or more, you want to use the «Frame Sequence» approach. For example, if you are rendering a one-minute video clip for film, there will be (60 seconds per minute) X (24 frames per second) or 1440 frames per minute. If each frame takes 30 seconds to render, then you will be able to render two frames per minute, or need 720 minutes (12 hours) of render time.

Рендеринг займає увесь час роботи та повністю навантажує CPU; ви повинні рендерити усю ніч, коли комп’ютер не потрібен для інших завдань, або установити низький пріоритет Blender’а при рендерингу, щоб водночас робити іншу роботу (будьте обережні з обсягом оперативної пам’яті RAM!).

Прямий Підхід – Direct Approach

The Direct Approach, which is highly not recommended and not a standard practice, is where you set your output format to an AVI or MOV format, and click Animation to render your scene directly out to a movie file. Blender creates one file that holds all the frames of your animation. This method relies on automatic output saving being enabled. If Save Output is disabled, the render will fail unless an alternative output method is provided.

You can then use Blender’s Video Sequencer to add an audio track to the animation and render out to an MPEG format to complete your movie.

Послідовність Кадрів – Frame Sequence

The Frame Sequence is a much more stable approach, where you set your output format to a still format (such as JPG, PNG or a multi-layer format). Click Animation to render your scene out to a set of images, where each image is a frame in the sequence.

Blender creates a file for each frame of the animation when Save Output is enabled. If it is disabled, frames will only be written if a Compositor File Output node is configured.

You can then use Blender’s Compositor to perform any frame manipulation (post-processing). You can then use Blender’s Video Sequencer to load that final image sequence, add an audio track to the animation, and render out to an MPEG format to complete your movie. The Frame Sequence approach is a little more complicated and takes more drive space, but gives you more flexibility.

Ось кілька порад, які допоможуть вам обрати підхід для рендерингу анімацій.

Прямий Підхід – Direct Approach

  • Short segments with total render time under one hour.

  • Стабільне електроживлення комп’ютера.

  • Комп’ютер не знадобиться для інших потреб.

Підхід Послідовність Кадрів – Frame Sequence

  • Total render time over one hour.

  • Post-production work needed:

    • Color/lighting adjustment

    • Green screen/matte replacement

    • Layering/compositing

    • Multiple formats and resolutions of the final product

  • Потреба проміжних кадрів/коригувань для стиснення/кодека.

  • Необхідність точного часування у певних частинах продукту (наприклад, синхронізація губ з аудіо доріжкою).

  • Можлива потреба переривати рендеринг для використання з іншою метою комп’ютера і бажана змога відновити рендеринг з місця його переривання.

Робпотік при використанні Послідовності Кадрів

  1. Спершу підготуйте вашу анімацію.

  2. In the Format panel, choose the render size, Pixel Aspect Ratio, and the Range of Frames to use, as well as the frame rate, which should already be set.

  3. In the Output panel, configure the output path and file type.

  4. Ensure Save Output is enabled if you want Blender to automatically write the rendered frames. If disabled, make sure a Compositor File Output node is set up.

  5. Підтвердьте діапазон вашої анімації (Start та End).

  6. Збережіть ваш blend-файл.

  7. Press the Animation button and once the animation is finished, use your file manager to navigate to the output folder. You will see the rendered frames if output saving was configured correctly.

  8. In Blender, open the Video Sequencer.

    Примітка

    The Video Sequencer does not support multi-layer EXR files. To render to a video format you will have to skip the next three steps and instead use an Image Input node in the Compositor.

  9. Choose Add Image from the add menu. Select all the frames from your output folder that you want to include in your animation. They will be added as a strip in the Sequence editor.

  10. Now you can edit the strip and add effects or leave it like it is. You can add other strips, like an audio strip.

  11. Scrub through the animation to check if you have included all the frames.

  12. In the Output panel, choose the container and codec you want (e.g. MPEG H.264) and configure them. The video codecs are described in Output Options.

  13. Click the Animation render button and Blender will render out the Sequence editor output into a movie.

Hints – Поради

Ваш комп’ютер випадково вимкнувся посередині рендерингу вашого фільму!

Unless your animation renders in a few minutes, it is best to render the animation as separate image files. Instead of rendering directly to a compressed movie file, use a lossless format (e.g. PNG).

Це дозволяє вам легко відновити рендеринг, якщо сталася проблема і ви повинні повторно його запустити, оскільки кадри, що вже були рендерені, вже збережені у каталогу виводу.

Просто вимкніть опцію Overwrite для запуску рендерингу з місця його переривання.

Ви можете далі зробити фільм з окремих кадрів за допомогою Редактора Послідовностей Blender’а або скористатися для цього програмним забезпеченням від сторонніх розробників.

Передогляд анімації

Може бути корисним рендерити частину анімованої послідовності, оскільки лише частина анімації може мати помилку.

Using an image format for output, you can use the Frame Step option to render every N’th frame. Then disable Overwrite and re-render with Frame Step set to 1.