by Whaat » Mon Oct 06, 2008 7:18 pm
Sorry for the delay in releasing this plugin. I've been on holidays and working on other projects. This plugin allows you to smooth out the jerky scene transitions in a SketchUp scene-tab animation. It is not intended for object animation, only native SkechUp scene animation. It cannot be used as-is to export to a rendering engine.
Usage: 1) Copy 'smoothStepAnim.rb' to 'Plugins' folder as usual. 2) Notice two new self-explanatory items under 'Plugins' menu 3) Plugin can export single frames only. The images must be joined into a movie format using other software (eg. VirtualDub)
Issues: - All scene delays must be set to 0.0 seconds - likely more lurking...I have not tested very thoroughly. Please post bugs.
Enjoy!
Dale
-
Whaat
- PluginStore Author

-
- Posts: 1077
- Joined: Wed Nov 14, 2007 9:51 pm
- Location: Saskatchewan, Canada
- Name: Whaat
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by remus » Mon Oct 06, 2008 7:23 pm
Cheers,another interesting plugin form the great ideas factory (better known as you  )
-
remus
-
- Posts: 8044
- Joined: Fri Nov 30, 2007 8:48 am
- Location: UK
- Name: remus
-
by spence » Mon Oct 06, 2008 7:36 pm
Nice! I did a really quick test and it seems to work pretty good. I used Quicktime to create the image sequence.
Spence
-

spence
- Premium Member

-
- Posts: 257
- Joined: Sun Nov 18, 2007 5:55 pm
- Location: Utah, USA
- Name: spence
- Operating system: Windows
- SketchUp version: 2022
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by princedragoncok » Tue Oct 07, 2008 12:16 am
Been looking forward to this  Will give it a test tomorrow. Thank you Whaat 
-
princedragoncok
-
- Posts: 200
- Joined: Thu May 08, 2008 1:06 am
- Location: Ireland & N. Ireland
- Name: princedragoncok
by bianhai » Tue Oct 07, 2008 1:05 am
very good! thank you , Whaat. 
-
bianhai
- Banned
-
- Posts: 191
- Joined: Fri Nov 30, 2007 3:05 pm
- Location: Shanghai China
- Name: Brian
by solo » Tue Oct 07, 2008 1:08 am
Whaat,
Thanks mate, that works great, I may now try GSU animation again, as I stopped using it for the exact reason you felt the need to create this great plugin.
If you see a toilet in your dreams do not use it.
-

solo
- Global Moderator
-
- Posts: 12357
- Joined: Mon Nov 12, 2007 1:46 pm
- Location: The Colony, Texas
- Name: solo
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Intermediate
by MALAISE » Tue Oct 07, 2008 9:10 am
Thanks a lot, Whaat. I've just made simple test, pretty well smooth transitions. MALAISE
La Connaissance n'a de valeur que partagée
-

MALAISE
-
- Posts: 653
- Joined: Sun Apr 20, 2008 1:23 pm
- Location: Carrières/Seine FRANCE
- Name: MALAISE
- Operating system: Windows
- SketchUp version: 2015
- License type: Pro
- SketchUp use: engineering and mechanical design
- Level of SketchUp: Advanced
by matt77 » Tue Oct 07, 2008 9:49 am
thank you so much!!
this has been much needed in SU.
Many,Many Thanks
Matt
-
matt77
-
- Posts: 32
- Joined: Wed Nov 21, 2007 3:04 pm
by pilou » Tue Oct 07, 2008 10:48 am
What is the file format of images exported?
-

pilou
- Top SketchUcator
-
- Posts: 22906
- Joined: Wed Jan 23, 2008 10:33 pm
- Name: Pilou
- Operating system: Windows
- SketchUp version: 2017
- License type: Free/Make
- SketchUp use: hobby
- Level of SketchUp: Advanced
-
by matt77 » Tue Oct 07, 2008 11:26 am
Either Jpeg or PNG..
-
matt77
-
- Posts: 32
- Joined: Wed Nov 21, 2007 3:04 pm
by Ben Ritter » Tue Oct 07, 2008 1:55 pm
Whaat,
Thank you so very much,
Ben
-
Ben Ritter
-
- Posts: 468
- Joined: Wed Nov 14, 2007 4:55 pm
- Name: Ben Ritter
- Operating system: Windows
- SketchUp version: pre-2013
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by jcdb » Tue Oct 07, 2008 3:29 pm
How do you set all scene delays to 0.0 seconds? 
-

jcdb
- Premium Member

-
- Posts: 63
- Joined: Tue May 13, 2008 1:36 am
- Location: Austin, Texas
- Name: Eddy Jauregui
- Operating system: Windows
- SketchUp version: pre-2013
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
-
by spence » Tue Oct 07, 2008 4:51 pm
jcdb,
Go to Model Info, under window, and then Animation, scene delay.
Spence
-

spence
- Premium Member

-
- Posts: 257
- Joined: Sun Nov 18, 2007 5:55 pm
- Location: Utah, USA
- Name: spence
- Operating system: Windows
- SketchUp version: 2022
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by Pixero » Tue Oct 07, 2008 6:05 pm
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
-
- Posts: 2595
- Joined: Thu May 24, 2018 12:49 pm
- Location: Halmstad, Sweden
- Name: Pixero
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by jcdb » Tue Oct 07, 2008 7:12 pm
spence wrote:jcdb,
Go to Model Info, under window, and then Animation, scene delay.
Thanks spence 
-

jcdb
- Premium Member

-
- Posts: 63
- Joined: Tue May 13, 2008 1:36 am
- Location: Austin, Texas
- Name: Eddy Jauregui
- Operating system: Windows
- SketchUp version: pre-2013
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
-
by Whaat » Tue Oct 07, 2008 7:24 pm
Pixero wrote: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.
-
Whaat
- PluginStore Author

-
- Posts: 1077
- Joined: Wed Nov 14, 2007 9:51 pm
- Location: Saskatchewan, Canada
- Name: Whaat
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by Jon » Tue Oct 07, 2008 9:13 pm
Thanks again, Whaat! 
-
Jon
-
- Posts: 269
- Joined: Fri Nov 16, 2007 12:56 pm
- Location: Ontario, Canada
-
by RickW » Tue Oct 07, 2008 10:30 pm
Whaat wrote:Pixero wrote: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... 
-
RickW
-
- Posts: 771
- Joined: Fri Nov 16, 2007 6:38 am
- Location: Wichita, KS
- Name: RickW
-
by Pixero » Wed Oct 08, 2008 8:17 am
Here's what Todd said at the Google Group: 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.
-

Pixero
-
- Posts: 2595
- Joined: Thu May 24, 2018 12:49 pm
- Location: Halmstad, Sweden
- Name: Pixero
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by erikB » Wed Oct 08, 2008 8:47 am
Thanks from me to Whaat, very much needed script ! greetings erikB
-

erikB
-
- Posts: 117
- Joined: Mon Dec 03, 2007 5:22 pm
- Location: Belgium
- Name: Erik Bosquet
- Operating system: Windows
- SketchUp version: 2016
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by kwistenbiebel » Wed Oct 08, 2008 9:34 am
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! 
-
kwistenbiebel
-
- Posts: 2726
- Joined: Thu Nov 22, 2007 6:13 pm
by Matt666 » Wed Oct 08, 2008 12:44 pm
Pixero wrote:Sketchup.send_action "pageDelete:"
A confirmation message box opens every attempt to delete a scene...
-
Matt666
-
- Posts: 830
- Joined: Wed Dec 05, 2007 8:38 am
- Location: 48.1184, -1.675
- Name: Matt
-
by Pixero » Wed Oct 08, 2008 12:54 pm
Well...lets hope Whaat finds a trick to fool SU to delete the scenes without SU knowing what happened...  Is - Code: Select all
entities.clear!
not working either?
-

Pixero
-
- Posts: 2595
- Joined: Thu May 24, 2018 12:49 pm
- Location: Halmstad, Sweden
- Name: Pixero
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by kwistenbiebel » Sun Feb 08, 2009 5:04 am
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
-
- Posts: 2726
- Joined: Thu Nov 22, 2007 6:13 pm
by Whaat » Sun Feb 08, 2009 5:07 am
kwistenbiebel wrote: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.
-
Whaat
- PluginStore Author

-
- Posts: 1077
- Joined: Wed Nov 14, 2007 9:51 pm
- Location: Saskatchewan, Canada
- Name: Whaat
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by kwistenbiebel » Sun Feb 08, 2009 5:10 am
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)
-
kwistenbiebel
-
- Posts: 2726
- Joined: Thu Nov 22, 2007 6:13 pm
by steelers05 » Mon Feb 09, 2009 8:05 pm
yeah im with biebel on this one.. that would be great if you could make something like that
-
steelers05
-
- Posts: 388
- Joined: Wed Jun 04, 2008 4:23 pm
by Dan » Mon Feb 09, 2009 8:16 pm
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!
-
Dan
-
- Posts: 33
- Joined: Mon Nov 19, 2007 7:54 pm
by Fletch » Wed Feb 11, 2009 12:15 am
I second KB and Steeler's request, Whaat... you still thinking about this?
-
Fletch
- Twilight Render
-
- Posts: 736
- Joined: Wed Nov 14, 2007 1:02 am
- Location: Milwaukee, WI USA / Rovinj, Croatia
- Name: Fletch
- Operating system: Windows
- SketchUp version: 2022
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by zeal » Wed Feb 11, 2009 12:24 am
Thank you for sharing 
-
zeal
-
- Posts: 4
- Joined: Tue Jan 06, 2009 1:04 pm
by Ad Machine » 5 minutes ago
-
Ad Machine
- Robot
-
- Posts: 2012
-
Return to Plugins
|