Keyframed visibility

Hello,

I wonder if there is any way to key frame the visibility of objects (props figures etc.). Unfortunately the visible property makes an object invisible for all frames.

I am using DAZ studio for comic creataion and there always things in the scene wich are needed in one frame but not in another one. Scaling or moving it outside of the visible area is a really bad option esp. if the objects are parented. Any idea?

Comments

  • Until now I had hoped, that I just missed that feature...Now I am afraid, that I did not.

    Anyone to second, that there is no chance to toggle the visibility of elements on a frame to frame basis?

  • kaotkblisskaotkbliss Posts: 2,918

    You might be able to keyframe the opacity of an item to make it invisible

  • zaz777zaz777 Posts: 115

    The simplest method to do this is to use the rt-invisible and rt-visible aniblocks.  I think they come with animate2, but may be part of one of the "Essentials" installers.  I don't recall how I got them, but they've been in my runtime for as long as I can recall.

    Optionally, you can force the "Visible" and/or "Visible in Render" properties to be animatable with a simple script.

    <span style="background-color:#FFFF00">node = Scene.getSelectedNode (0);</span><span style="background-color:#FFFF00">prop = node.findPropertyByLabel (&quot;Visible&quot;);</span><span style="background-color:#FFFF00">prop.setCanAnimate (true);</span><span style="background-color:#FFFF00">prop = node.findPropertyByLabel (&quot;Visible in Render&quot;);</span><span style="background-color:#FFFF00">prop.setCanAnimate (true);</span>

    The lines above can be saved in a script and run on an object in your scene.  Keyframes should be created for the object on the frame when you toggle the property.  You can find the properties in the OBJECT->Display section on the Parameters pane when you have the object selected.

  • Many thanks, I will give it a try yes

  • 3WC3WC Posts: 1,154

    Sorry to resurrect this 10 year dead thread, but has anything changed as far as key framing visibility? Seems like a huge oversight to not have that native functionality.

  • WendyLuvsCatzWendyLuvsCatz Posts: 40,925
    edited April 29

    yes, a few versions now

    was a whole thread on it I cannot find it's been available over a year!

    been a while since I actually used it though but it only shows in render 

    no plugins or scripts needed but check the timeline display option for it (other)

     

    Capture.PNG
    486 x 823 - 29K
    Capture.PNG
    1193 x 784 - 102K
    Post edited by WendyLuvsCatz on
  • 3WC3WC Posts: 1,154

    Found it, needed to check the "Other" type in the keyframe types. The following video by WP Guru had the answer:

  • 3WC3WC Posts: 1,154

    https://www.daz3d.com/forums/discussion/comment/4973031/#Comment_4973031

    And this script actually works great for keyframing visibility within the scene, not just rendering.

Sign In or Register to comment.