渲染动画

渲染静止图像允许您在渲染缓冲区完成时查看并保存图像,动画是一系列图像或帧,并在渲染后自动直接保存到驱动器中。

渲染帧后,您可能需要编辑剪辑,或者首先使用合成器对图像执行绿屏遮罩,消光,颜色校正,DOF等。然后将该结果送入定序器,在那里切割和混合剪辑并进行最终的覆盖。

最后,您可以从序列器中渲染出来并将帧压缩为可播放的影片剪辑。

工作流程

通常,您在动画中执行大量不同帧的中间渲染,以检查时间,光照,放置,材质等。在某些时候,您已准备好对要发布的完整动画进行最终渲染。

制作带有或不带声音的电影或动画时,可以使用两种方法。您应该使用的方法取决于渲染影片所需的CPU时间量。您可以以所需的分辨率渲染 "典型" 帧,然后乘以最终将进入影片的帧数,以达到总渲染时间。

如果总渲染时间是一个小时或更长时间,则需要使用 "帧序列" 方法。例如,如果要为胶片渲染一分钟的视频片段,则会有(每分钟60秒)X(每秒24帧)或每分钟1440帧。如果每帧渲染需要30秒,那么您将能够每分钟渲染两帧,或者需要720分钟(12小时)的渲染时间。

渲染占用所有可用的CPU时间; 你应该在一夜之间渲染,当不需要计算机时,或者在渲染时将Blender设置为低优先级,并处理其他事情(小心RAM空间!)。

直接方法

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. You can then use Blender's VSE to add an audio track to the animation and render out to an MPEG format to complete your movie.

帧序列

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), and 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. You can then use Blender's Compositor to perform any frame manipulation (post-processing). You can then use Blender's VSE 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.

以下是一些可帮助您选择方法的指南。

直接方法

  • 总渲染时间小于一小时的短片段。

  • 稳定的电源。

  • 其他用途不需要电脑。

帧序列方法

  • 总渲染时间超过一小时。

  • 后期制作工作所需:

    • 颜色/照明调整

    • 绿屏/哑光更换

    • 分层/合成

    • 最终产品的多种格式和分辨率

  • 压缩/编解码器所需的中间帧/调整。

  • 部件中需要精确的定时(例如,唇音同步到音轨)。

  • 可能需要中断渲染才能使用计算机,并且希望能够从中断处继续渲染。

帧序列工作流程

  1. 首先准备你的动画。

  2. In the Dimensions 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. 在 "输出" 面板中,将动画设置为图像,通常使用不会影响任何质量的格式。

  4. 例如,也可以在 "输出" 面板中选择输出路径和文件类型 //render/my-anim-.

  5. 确认动画范围(帧开始和结束)。

  6. 保存您的混合文件。

  7. 动画 按钮,动画完成后,使用文档管理器导航到输出文档夹(本例中为 "渲染" )。您将看到许多附加了序列号的图像。这些是单个帧。

  8. In Blender, open the Video Sequence editor.

    Note

    The VSE 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. 从添加菜单中选择 添加图像 。从输出文档夹中选择要包含在动画中的所有帧。它们将作为剪辑添加到序列编辑器中。

  10. 现在,您可以编辑剪辑并添加效果或保持原样。您可以添加其他剪辑,如音频条。

  11. 浏览动画以检查是否已包含所有帧。

  12. 在 "输出面板" 中,选择所需的容器和编解码器(例如 MPEG H.264 )并对其进行配置。视频编解码器在 输出选项 中进行了描述。

  13. 单击 动画 渲染按钮,Blender会将序列编辑器输出渲染到电影中。

提示

您的电脑在渲染电影的过程中意外关闭!

除非您的动画在几分钟内渲染,否则最好将动画渲染为单独的图像文件。而不是直接渲染到压缩的电影文件,使用无损格式 (e.g. PNG).

如果出现问题,您可以轻松恢复,并且必须重新启动渲染,因为您已渲染的帧仍将位于输出目录中。

只需禁用 " 覆盖"选项即可开始渲染中断的位置。

然后,您可以使用Blender的序列编辑器从单独的帧中制作电影,或使用第三方编码软件。

动画预览

渲染动画序列的子集可能很有​​用,因为只有部分动画可能有错误。

使用图像格式进行输出,您可以使用 " 帧步长"选项渲染每个第N帧。然后禁用 " 覆盖"并将 " 帧步长"设置为1 重新渲染。