1

enter image description here

For example, I want to make object appear from keyframe number 100 to keyframe number 200. And I don't want to see that object on 3D viewport and in render too. I already know the way clicking 'disable object in render' in Outliner menu. But that doesn't work on 3D viewport, so I want to know other way.

watch
  • 31
  • 4

2 Answers2

1

Keyframes can be added for the visibility settings. Select the object and open the Object tab. In the Visibility panel you can adjust the settings and insert a keyframe either through the context menu or by pressing I.

For your specific problem, you could insert a keyframe at frame 0 with Show in Viewports and Show in Render disabled, then a keyframe at frame 100 with Show in Viewports and Show in Render enabled, followed by a keyframe at 201 with both disabled again.

Visibility settinsg

Robert Gützkow
  • 25,622
  • 3
  • 47
  • 78
0

There are many ways to achieve this, and I'm not sure if there are any "best practices" or generally recognized ideal ways of doing so. Here are two simple ones, though:

Approach 1: Scale 0 to Finite Scale in 1 Frame

Keyframe the object's X, Y, and Z scales as 0 when you don't want the object to appear:

enter image description here

And at some desired finite, positive scale when you do want it to appear:

enter image description here

Be careful to ensure that the transition from 0-scale to finite-scale happens within a single frame if you really want it to look like the object appearing/disappearing instantaneously.

That's it. Click play/render your animation.

Approach 2: Keyframing Alpha Channels in Nodes

I'll assume use of the Eevee Renderer for this example, but you can do something similar (with a few modifications) in Cycles. Suppose we want a simple blue sphere to appear on frame 50. One way to do this is to add this material to our sphere, key-framing (see yellow highlights) its mix shader to be fully transparent on frame 49:

enter image description here

And to be fully blue diffuse on frame 50:

enter image description here

Note that this only works as expected in Eevee when the material has its blend type set to a mode that will hide portions of the object which are transparent. (see red circle in images, where Alpha Clip is chosen, although Alpha Hashed and Alpha Blend will also work in this simple example)

NeverConvex
  • 1,257
  • 6
  • 16