7
$\begingroup$

I've been trying to create an animation where an object blinks on and off.

For example, I have a Cube and I set a keyframe on it's Restrict Visibility icon (the "eye" icon) with I, then I toggle off that "eye" so my cube doesn't show in the Viewport and again I press I to record that keyframe. Then, when I preview the animation in the Viewport, I see my cube appears and then disappears like I want, but when I render it, the cube does not disappear at all.

What am I doing wrong?

$\endgroup$
1
  • $\begingroup$ If one of these answers solved your problem, don't forget to click the "Solved" checkmark next to it to let everyone know the question has been solved. :) $\endgroup$ Apr 18, 2014 at 3:20

2 Answers 2

10
$\begingroup$

Restrict Rendering

The feature you need to animate is the Restrict Render icon: enter image description here, not the Restrict Visibility icon: enter image description here. Restrict Visibility only effects whether the object can be seen in the 3D Viewport -- it does not effect rendering at all.

enter image description here

How To Render & View Your Animation

  1. Before you render your animation, first you should specify where you want the rendered animation to be saved and also the file name. To do this:

    enter image description here

  2. Next, scroll down to the Encoding section and select an appropriate encoding format. Here, I'm selecting the MPEG4 format

    enter image description here

  3. Now go up and click on the Render Animation button:

    enter image description here

  4. Now on your computer, go to the place where you saved your file and view it with a video file player:

    enter image description here

If you want to play your rendered animation directly in Blender, you can use:
Info -> Render -> Play Rendered Animation (CTRLF11)

NOTE: The "Play" buttons shown under the Render Result window will NOT play your rendered animation -- they are only for previewing your animation before rendering it:

enter image description here

You can read more about the different features of the Outliner window here and more about the Rendering Process here in the Blender Manual.

$\endgroup$
15
  • $\begingroup$ Thanks for answer, you were correct now when I press render it renders perfectly but I have one more problem. When I try to export this and import in Unity 3d animation doesnt work cube is shown but doesnt disappear ? $\endgroup$
    – ivan
    Apr 17, 2014 at 22:52
  • $\begingroup$ You should ask this in a new question. And I'm sorry, but I've never used Unity before, but lots of people around here have. Good luck! $\endgroup$ Apr 17, 2014 at 22:58
  • $\begingroup$ thanks for replay. One more thing when I run animation in Blender then Render Resault screen appears, when I press play button animation doesnt work cube is always shown. In process during this rendering it was clearly that cube wasnt rendered at specific keyframe. $\endgroup$
    – ivan
    Apr 17, 2014 at 23:01
  • $\begingroup$ I up voted you answer, because you beat me to it by about 20 seconds. Yes I knew about the code styling, but have not used it in a <kbd> element yet. $\endgroup$
    – David
    Apr 17, 2014 at 23:02
  • 1
    $\begingroup$ I propose to cut out the part about "How To Render & View Your Animation" into a new question/answer and then merge my q/a blender.stackexchange.com/questions/16009/… into here. That would make this q/a complete and less noisy as well :) $\endgroup$
    – Gaia Clary
    Sep 20, 2014 at 10:06
3
$\begingroup$

Simple problem, you are animating only the Viewport Visibility.
In the Outliner, Keyframe the "Render Visibility" (camera icon).

outliner showing the buttons
That image shows an object in the outliner. The three buttons on the right edge are, in order from left to right, Viewport Visibility, Viewport Selection and Render Visibility.

$\endgroup$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.