How to remove animation from scene?
barbult
Posts: 24,243
I somehow accidentally set a 10 second animation in the DAZ Timeline in a scene I was creating. I only wanted a static scene, not animation. Now the view I want is on frame 299, not frame 0. I've been able to render a single frame, selecting frame 299, but how can I get rid of the animation and save my scene with only the single frame 299? I don't know much about the Timeline at all, so it you can help, I'd need some pretty step by step instructions. Thanks.
Comments
Go to frame 299, select everything, right-click on the Parameters pane's tab and from the menu select clear animation data.
Thanks for helping. I haven't gotten this to work yet. When I select everything in the Scene tab and right click on the Parameters tab, my menu looks like the attached image. I don't see "clear animation data". I tried a couple of the available selections, but they moved everything around in my scene and made a mess of it. What am I missing?
EDIT: added image showing clear animation fly out submenu.
Clear Selected items should work - it should then keep the current frame's settings.
Clear Selected Items seems to change the origin of all my actors and props to 0. In the attached "after" picture, you can see that the default camera has moved to the origin, I believe. If I zoom out with the camera, I can see that all my actors and props are on top of each other in the center.
Hmm, I don't think it should be doing that - but it certainly is. OK, there are two other options - which is easier will depend on how many frmaes are set and how many items need animation clearing.
1) Select all, as above. Now in the Timeline go to the frame you want to keep, click the Previous key frame, then the delete keyframe button, then previous keyframe, delete keyframe and so on until you hit frame zero. Go back to the frame you want to keep and do the same, click Next keyframe, delete keyframe.
2) for each item, save a Pose preset at the frame you want to keep, making it a single frame preset. Then clear animation data from everything and reapply the saved poses at frame 0.
Well, I've been struggling with this for many hours, and I just can't get there.
Using technique 1, I looked at my file and saw only one key frame (if that is the frame with the little black triangle beneath it). That one key frame was at key 0. I deleted it. The keys buttons to go forward and back one key frame jump from beginning to end, so there are none in between. If I play all frames, it still animates and things still move around. I moved on to technique 2.
Using technique 2, I got my figures and cameras posed correctly on frame 0, but changes to lighting settings did not get reproduced to frame 0 by a pose preset for the light. Things like color and shadow softness were not restored by the pose preset or by copy and paste settings from the parameter tab menu. I no longer have figure motion, but when I render, the light isn't right and I haven't been able to manually find the differences in settings.
More Questions:
1) Is there any way to delete a group of frames in the middle of an animation sequence on the timeline?
2) Is there any way to copy EVERYTHING in a frame and create a duplicate frame? What if I wanted to loop an animation and make it go back to the starting state at the end of the animation. Like having a starting state at frame 0, having a terminal state key frame in frame 100 and pasting a new key frame to match frame 0 at frame 200.
3) Is there any way to copy EVERY setting of an item in the scene tab and paste all those settings? (So that I could copy all the attributes of my lights and paste them back into the light in the earlier frame, not just the pose or location of the light.)
4) Am I hampered in this effort by the fact that my DS 4.5 says it is standard and not Pro? We've already identified the missing Progressive Render check box. Maybe other capabilities are missing in my installation.
If those capabilities don't exist, I think I'll have to change my focus from fixing this one scene, to preventing this from ever happening again. I need to understand what causes a scene to have animation frames in the first place. Is it caused by just having the Timeline tab open? Can it happen even if the Timeline tab is closed? Is there some preference to set that I haven't found that controls the default state of animation (on/off) or the number of frames?
Thanks for helping me try to understand how this all works.
It sounds as if, when using technique 1, you didn't have everything selected - keyframes belong to the thing that changes, so if the forearm moves you need the forearm selected to see the keyframe. In this case everything means every single node, it isn't enough to select a figure and not its bones.
Saving a light preset, rather than a pose preset, should store every aspect of the light - and copy and paste should transfer everything. If it isn't then that's worth a bug report.
1) only by going to the keyframe(s) and deleting them, as far as I know.
2) not that I know of - to do the loop the usual method would be to set up the starting point with no other keyframes preset, then go to the end point, select everything and create a keyframe. Once the ends were pinned it would be possible to set up the intermediate keyframes.
3) As I said, for a single node item copy and paste should work fro everything in the Parameters pane - surfaces need to be copied separately. For a figure you can copy the whole figure from the Edit menu, then paste to another figure.
4) I'm not sure. AniMate Lite might have more features in Pro, but otherwise I don't believe anything we've discussed is not in Standard.
When I tried to copy and paste to selected for a distant light, it didn't copy the color or shadow softness. I'll try again.
I got it fixed! Technique 1 still didn't work for me, even after expanding everything and selecting everything. Maybe I'm still missing some nuance of how to do it. Technique 2 is what finally worked for me:
I went to frame 299 and saved a light preset with all lights and a camera preset with all cameras. I deleted all animation (everything jumped to the center again). I went to frame 1 and applied all the individual actor pose presets that I created the other day. I applied the new camera and light presets. At this point I had only one visible problem left - a linear point light that had been parented to a torch flame did not get reparented. I parented it manually without preserving the position and it jumped to the right place. In the timeline I set the number of frames to 1 and range 0 to 0. I saved the DUF file. My scene is back to just what I want, animation is gone, and I learned a lot.
THANK YOU RICHARD!
By the way, I tried again to copy and paste my distant light parameters, but the light color and shadow softness still did not get pasted in. This may be a bug, but I cannot report it. I'm unable to get a Mantis account set up. I tried, but never got the email to confirm. I'm pretty sure I didn't enter my email incorrectly. I cannot set it up again - it says that username is in use.
Glad you have your scene sorted.
I'll make a report on the light issue shortly.
Technique 2 seems to work but is long winded and time consuming. Surely there is an option somewhere for just removing animation data, in other words, copying frame 0 to all other frames in the scene without making any of them key-frames, thereby removing any animation completely. Surely this must be a one click job.
For barbult's example I would go to frame 299, select all, click on the + in the timeline to create a keyframe for everything,
then go to frame 0, click the - in the timeline to remove all keyframes, then click + to create a keyframe at frame 0. Done!
There is. I've had to do this a number of times, when I was building animations that begin at the end of the previous sequence; due to time and resource constraints, I only generate 20-second (or so) clips, and piece them together in a video-editing application. Here's my sequence:
1. Advance the timeline to the frame you want;
2. Go to the Scene tab, and select everything in the scene (click the first item, then shift-click the last one; that will select all objects in the scene.)
3. Right-click in the Scene tab's tree-view; from the fly-out menu, select 'Select', and from that menu, select 'Select Children'. This will select absolutely everything in the scene, including child objects and parameter values;
4. From the Edit menu, select 'Object->Memorize->Memorize Selected Item(s)';
5. On the Timeline pane, change the Total Frames value to 1; this will clear the animation;
6. Back to the Edit menu, select 'Object->Restore->Restore Selected Item(s)
You will end up with a single frame containing everything that was in the original frame you copied. Make sure you save it under a different name!
This worked like a charm, Ken. Thanks. You saved me a couple of hours!!!
THANK YOU KEN!!
Thank you too! Awesome!
Group everything
save it all as a hierarchical pose preset single frame at the point you have what you want
apply that pose at the beginning
Kens solution works fine, as long as no dForce item is involved. Unfortunately, the dForce simulation results are not memorized/restored and get lost that way.
When I do a dForce simulation using the timeline, I'm normally interested in the resulting frame only, not the animation, that created it. Which brings us back to the beginning: Is there a way to save the last frame of an animation including the dForce simulation results without saving the animation itself?
2020 and the Daz Studio default timeline still has no feature to move or delete frames with just one gesture
There is a really simple trick you can do in Daz Studio.
BANG! all keyframes gone. Repose character ( s ) if needed by going to:
Edit > Figure > Zero > Zero Figure Pose
And you good to go again!
Good luck!
"5. On the Timeline pane, change the Total Frames value to 1; this will clear the animation;"
I know this is an old thread, but changing the total Frames to 1 doesn't clear the animation, it just doesn't display anything except the first frame. If you were to change the number of frames back to what it was, all that animation is still there.
I know it's been a few years since you posted this Ken OBanion, but you are a savior. Thanks for this!!!
Oh, the TRIBULATIONS you just saved me Ken... THANK YOU!
EDIT: There is a side effect to this that seems to be simply based on how DS stores values when you memorize the trans & rotation values for an object, as well as morph sliders. All of the parameter default values (which in most cases are usually zero) get over-written with the current values from the scene you memorized. I find this annoying, because I rely on the color change of values from gray to white when it's off the default - gives me a quick way to see what's going on... which is the point of the color change in the first place. I would prefer that Daz create a separate set of variables to store the parameter values when you Memorize the item(s) and then recall later. Or at least have a function to "re-zero" the normal defaults afterward, which would probably take less coding.
KEN - THANK YOU!
You saved my *life*! Okay, that's a bit of an exaggeration, but thanks!
Thanks!