[Plugin] Smoothstep Animation
-
How do you set all scene delays to 0.0 seconds?
-
jcdb,
Go to Model Info, under window, and then Animation, scene delay.
-
Thanks for a great script.
Would it be possible to add an attribute to all the existing scenes in the model that they are "keyframes" and then add scenes for every frame in the animation with an attibute that they are "inbetweens" and add scene transition times according to your smoothstep script.
The script should then be able to delete all the "inbetweens" if you want to change the animation but leave the "keyframes" intact.
I believe this would make it work with external renderers.
What do you think, is it doable? -
-
@pixero said:
Thanks for a great script.
Would it be possible to add an attribute to all the existing scenes in the model that they are "keyframes" and then add scenes for every frame in the animation with an attibute that they are "inbetweens" and add scene transition times according to your smoothstep script.
The script should then be able to delete all the "inbetweens" if you want to change the animation but leave the "keyframes" intact.
I believe this would make it work with external renderers.
What do you think, is it doable?That's a cool idea and definitely doable! I'll do some experimenting.
-
Thanks again, Whaat!
-
@whaat said:
@pixero said:
Thanks for a great script.
Would it be possible to add an attribute to all the existing scenes in the model that they are "keyframes" and then add scenes for every frame in the animation with an attibute that they are "inbetweens" and add scene transition times according to your smoothstep script.
The script should then be able to delete all the "inbetweens" if you want to change the animation but leave the "keyframes" intact.
I believe this would make it work with external renderers.
What do you think, is it doable?That's a cool idea and definitely doable! I'll do some experimenting.
Unfortunately, there's currently no way to delete pages/scenes in ruby...
-
Here's what Todd said at the Google Group:
@unknownuser said:
Sketchup.active_model.entities.erase_entities(page) should work, but
it hangs SketchUp. It's a known and reported bug.To get around this bug, do this:
First, make the page you want to delete the active page. Then, issue
this from Ruby:Sketchup.send_action "pageDelete:"
That means it can be done even if its a work around.
If not we could save the model prior to using the script and then saving it after, under another name or with a "_anim" after.
Not the best way but it would still mean we could render a smooth animation. -
Thanks from me to Whaat, very much needed script !
greetings erikB -
Thank you Whaat!
I hope you get the 'to scene tabs' method working, so we can use external render software on the animation.Great job!
-
@pixero said:
Sketchup.send_action "pageDelete:"
A confirmation message box opens every attempt to delete a scene...
-
Well...lets hope Whaat finds a trick to fool SU to delete the scenes without SU knowing what happened...
Is
entities.clear!
not working either?
-
Hi Whaat,
Would it be a sh*tload of work for you to have this plugin make default scene tabs after smoothing the animation ? (needed for render engines)
The current method (cameralines.rb,F-Spline bezier,Flightpath (or SU-animate) is kind of tedious.
Your smoothstep animation ruby would be an easier 'out of the box solution' when it can create a scene tab animation.If it is a lot of work...maybe commercial?
-
@kwistenbiebel said:
Hi Whaat,
Would it be a sh*tload of work for you to have this plugin make default scene tabs after smoothing the animation ? (needed for render engines)
The current method (cameralines.rb,F-Spline bezier,Flightpath (or SU-animate) is kind of tedious.
Your smoothstep animation ruby would be an easier 'out of the box solution' when it can create a scene tab animation.If it is a lot of work...maybe commercial?
I am curious. Which render engines are able to automatically render all scene tabs? I assume you are not manually rendering each scene tab when you are creating these types of animations.
-
Vray and Fryrender can render a scene tab animation.
For instance, if you have 1 scene tab per animation frame, you set the SU transition time to 1 second.
In the Vray/Fry panel, you set 1 fps.
That way, Vray/Fry will render each scene tab automatically when hitting the render button.I thought Skindigo can do this as well? (confused)
-
yeah im with biebel on this one.. that would be great if you could make something like that
-
Thanks for yet another great plugin, Whaat!
Me too I did a very quick test and all seems to be ok.
I have to ask you a little change to the script, if possible: can you make it to number the exported bitmaps like "name00001.jpg", "name00002.jpg", instead of "name0.jpg", "name1.jpg", etc. to make the conversion to avi program to read them in the right order?Thanks again!
-
I second KB and Steeler's request, Whaat... you still thinking about this?
-
Thank you for sharing
-
@whaat said:
@kwistenbiebel said:
Hi Whaat,
Would it be a sh*tload of work for you to have this plugin make default scene tabs after smoothing the animation ? (needed for render engines)
The current method (cameralines.rb,F-Spline bezier,Flightpath (or SU-animate) is kind of tedious.
Your smoothstep animation ruby would be an easier 'out of the box solution' when it can create a scene tab animation.If it is a lot of work...maybe commercial?
I am curious. Which render engines are able to automatically render all scene tabs? I assume you are not manually rendering each scene tab when you are creating these types of animations.
I needed to add that in a lot of cases an animation spread over X scene tabs according to X animation frames (1 scene tab per animation frame) can be an advantage.
For instance, when you have 'face me' components. Both Vray and current Skindigo won't render the face me components correctly (they will not face the camera), unless the animation consists of as many scenes as there are animation frames.
I think if someone of the ruby masters would be able to make a decent and easy to use smooth animation plugin like that, we don't need to learn the dinosaurs apps to get some decent PR animations.
Currently I use the combo of rubies described above and it works , but it is too tedious to do in a daily workflow.
Advertisement