Bitmap Shader 位图着色器Basic 基础Shader 着色器Animation 动画

Animation

动画

Cinema 4D also allows you to use movies as textures. You can load a video or picture sequence in the same way as you would a bitmap image (by clicking the three dots button etc. to load the file). The Animation settings control how the movie will be played back.

C4D也允许你使用电影作为纹理。你可以像加载位图图像一样加载视频或图片序列(通过点击三点按钮等来加载文件)。动画设置控制电影播放的方式。

Example 1: You want to play a video or frame sequence.

例1: 你想播放一段视频或者一个帧序列。

  1. Load the movie into the material channel. 将影片载入材质通道
  2. Click the movie’s name (Texture box) or preview picture. 单击电影名称(纹理框)或预览图片
  3. Click the 点击Animation 动画 tab. 标签
  4. Click 点击Calculate 计算.

Result: the movie is played back once and is second-synchronized.

结果: 电影回放一次,并且是二次同步的。

Example 2: You want to play a movie from frame 25 to frame 350 of your animation, forwards and backwards (ping-pong) twice.

例2: 你想要播放一部动画从25帧到350帧的电影,前后(乒乓)两次。

  1. Load the movie into the material channel. 将影片载入材质通道
  2. Click the movie’s name (Texture box) or preview picture. 单击电影名称(纹理框)或预览图片
  3. Click the 点击Animation 动画 tab. 标签
  4. Click 点击Calculate 计算.
  5. Set 预备Mode 模式 to Ping-Pong 乒乓球.
  6. Set 预备Timing 时机 to Range 范围.
  7. Set 预备Range Start 距离开始 to 25 and Range End 范围终端 to 350.
  8. Set 预备Loops 循环 to 1 so that the movie will be played twice. 这样电影就会播放两次

Result: the movie is played forwards and backwards, then backwards and forwards using frame 25 to frame 350 of your animation.

结果: 电影是前进和后退,然后来回使用帧25帧350你的动画。

Mode

模式

Mode sets the general playback mode: Simple will play the movie once from start to finish; Loop will play the movie from start to finish repeatedly; Ping-Pong will play the movie from start to finish to start repeatedly. With Loop, the texture remains on the last frame of the movie once it has finished playing.

模式设置一般播放模式: Simple 将从开始到结束播放一次电影; Loop 将从开始到结束反复播放电影; Ping-Pong 将从开始到结束反复播放电影。使用 Loop,一旦播放完毕,纹理将保留在电影的最后一帧上。

Timing
Range Start
Range End

时间范围起始范围结束

Use Timing to set the timing of the movie. Exact Frame will use one frame of the movie per frame of your animation. No frames will be dropped. If the movie and your animation use a different FPS (Frames Per Second) setting, the movie will play back at a faster or slower speed than the original speed. Exact Second matches each second of the movie against each second of your animation, thus ensuring that the movie will be played back at the original speed. If you choose Range, Cinema 4D will play the movie once over a specified frame range (Range Start and Range End) of your animation. Use this option if you do not want the texture to start playing immediately.

使用 Timing 设置电影的时间。精确的帧将使用一帧的电影每帧你的动画。不会丢弃任何帧。如果电影和你的动画使用了不同的 FPS (帧率)设置,那么电影将以比原始速度更快或更慢的速度回放。精确的秒匹配电影的每一秒和你的动画的每一秒,从而确保电影将以原来的速度播放。如果您选择范围,Cinema 4D 将播放一次在指定的帧范围(范围开始和范围结束)您的动画电影。如果您不希望纹理立即开始播放,请使用此选项。

Loops[0..1000]

循环[0. . 1000]

You can use Loops to repeat the movie a finite number of times. If you set Loops to 1, the movie will be repeated once.

可以使用循环重复播放有限次数的电影。如果您将循环设置为1,电影将重复播放一次。

Movie Start Frame[0..999999999]
Movie End Frame[0..999999999]
Movie Frame Rate[1..100]

电影开始帧[0.999999999]电影结束帧[0.999999999]电影帧速率[1.100]

Use these settings to define which part of a film texture should be used with which frame rate. Use Frame Start and Frame End to define when (which frame) a sequence should begin and when it should end. If the same value is entered into both fields, only that frame of the animation will be used as a texture.

使用这些设置来定义胶片纹理的哪个部分应该使用哪个帧速率。使用框架开始和框架结束来定义一个序列应该在什么时候开始和什么时候结束。如果在两个字段中输入相同的值,则只有动画的那一帧将用作纹理。

Calculate

计算

If you click on Calculate, Cinema 4D will automatically enter the film’s parameters into the corresponding fields. It is not necessary to find out in advance how long the film is and which frame rate it has. When rendering sequential images, this information will be ascertained based on the lowest and highest image number. A frame rate of 25fps will be assumed. Other rates have to be entered manually.

如果你点击 Calculate,Cinema 4D 将自动输入电影的参数到相应的字段。没有必要事先知道胶体积的长度和帧率。在绘制序列图像时,根据最小和最大的图像数确定这些信息。帧速率为25帧每秒将被假设。其他费率必须手动输入。

Example:

例子:

A video contains 600 frames (0 to 599) and has a frame rate of 15 fps. You can select the range that is played, e.g., from frame 70 to frame 119 (even backwards, if desired).

一个视频包含600帧(0到599) ,帧速率为15帧/秒。您可以选择播放的范围,例如,从第70帧到第119帧(如果需要,甚至可以向后播放)。