Animator: Parametric Animation plugin - Discussion
-
Hi Fredo,
Ohh, now I understand what you are saying about multiple instances of a super-component. Yes, this describes what I have been seeing. The components I was animating are indeed nested within a super-component, and there are multiple instances of that super-component. Thus, when applying an animation action to a sub-component, it automatically replicates to all corresponding sub-components in other super-components.
Here is a sample SketchUp file with two instances of a microswitch super-component. I applied three animation actions to different segments of the switch's lever-extension to simulate the metal lever being bent when the microswitch is triggered. In Animator's GUI I applied the actions to one instance of the lever-extension pieces, but naturally it affects both instances (because the actions occur within a super-component).
Microswitch Lever-Extension Component Animation
Sorry for my confusion!- Tom
-
Tom,
I am afraid you have to make the super-component "Rotation Switch Lever" unique, so that you can animate them independently. Indeed, there is nothing Animator can do, as this is the fundamentals of Sketchup hierarchical component model.
Note that Animator can do the reverse: that is, force independent component instances to follow the same movement (this is done via Kinematic constraints).
Fredo
-
Hi @Fredo6, I think your tool is really powerful, but I'm having a problem getting my model animated. I have a complex ring structure that rotates, but the rotation is wobbly. Seems fine at first, but then after a few modifications of rotation speed, the rotation is no longer smooth. It seems to suddenly be rotating around something other than the center. I tried both Z and z. Any idea what I may be doing wrong? Do I need to post the model? (I'm currently using SU Make 2015, as I haven't had a chance to upgrade to 2017, yet.
Also, I'm a bit confused about the duration. I understand the difference between clip duration and movement duration, as a clip can contain multiple movements. But for a single movement, there is a setting for duration in the main movement dialog, but when I edit the movement's element properties there is another to set the duration, and the two are not necessarily the same. Can you explain the difference? (I can post images of the dialogs, if that's helpful.)
thanks!
-
For Rotation, be careful to select the pivot reference object (indicated in orange). It can be another object, or the top model. If the pivot reference object does move too, then you have an orbiting.
For Duration, a Sequencehas a nominal duration. However, when you place a sequence in the timeline, it becomes a Clip Element. You can change the duration of the clip element. This is somehow analog to Sketchup component / instances concept: think of a Sequence as a Component Definition which you can instantiate in the model, each Instances being scaled or transformed.
It might help that you post the model or PM it to me, so that I can check your problem.
Fredo
-
I have just completed a detailed video animation (nearly 18 minutes long) that uses Fredo's Animator extension extensively. The video describes the design and operation of some real spacecraft hardware - the Surface Sampler Acquisition Assembly or "scoop" from NASA's Viking '75 Mars lander. The scoop was used to pick up small samples of Mars soil and deposit it into lander science instruments for analysis. The video also uses Anton Synystia's MSPhysics extension in two places.
Thank you Fredo and Anton for making such great extensions to SketchUp.
-
Tom (TDahl),
That is a vey cool project and wonderful work done here on your video. Bravo. -
Hi Fredo, your Animator in Sketchup is very powerful. I have two questions.
-
Is it possible to export an animation sequence of sketchup models to an animated file format. My end format is gltf. I have been unable to find anything that works. Exporting and importing sketchup models in blended for animation has top many problems with missing parts. Animator is hugely powerful within sketchup and creating videos but I am just wanting to animate and export some simple models.
-
I wish to use endless rotation / animation. However when I select this option in your dialogue it doesn't seem to do anything. All I want to do is animate rotating blades. With a rotation of 360 and 180 speed over 2 seconds and infinite spinning or rotation it still stops after the resulting two minutes.
Your advice would be most welcome.
Regards
David
-
-
@dawrightau said:
- Is it possible to export an animation sequence of sketchup models to an animated file format. My end format is gltf. I have been unable to find anything that works.
Frankly, never heard of this format 'gltf'. What is it exactly?
@dawrightau said:
- I wish to use endless rotation / animation. However when I select this option in your dialogue it doesn't seem to do anything. All I want to do is animate rotating blades. With a rotation of 360 and 180 speed over 2 seconds and infinite spinning or rotation it still stops after the resulting two minutes.
In Animator, there is nothing that can be infinite. You have two ways to make your rotations last for a given period, say 2 minutes = 120s).
a) You create a sequence of duration 120 second, and you compute the angle rotated during this 120 seconds. In your case, with 360 degrees every 2 seconds, the angle should be 360 * 60 = 21,600 degree.
b) You create a sequence with a given duration, and you 'pursue' or 'repeat' it in the timeline. The trick is to place a dummy element (a view) at 120 seconds to make the clip finish at 120 second, and use the option repeat forever, or pursue forever to force repetition / pursuing till the end of the clip.
I need to think of a more general option which would repeat the movie for a given duration.
Fredo
-
Hi Fredo thanks for your prompt reply and explanation regarding repeating a rotation / spinning blades rather than stopping at ths end of 2 seconds. My use of infinity was in reference to your infinity symbol.
Regarding the gltf, this is 3d model format which is being pushed as a standard for interchange between different 3d software platforms http://www.khronos.org/gltf/
I should have added is it possible to export the animated model to a range of animated 3d file formats such as collada / dae, OBJ and others. Most formats can then be converted to gltf.
As animation in many software programs is not straight forward and your sketchup plugin is so powerful, the ability to export the animation from sketchup to a 3d animated model format rather than just saving as a video / gif would be highly desirable.
If I have not done enough reading or watching your videos and it is possible to export an animated 3d model from sketchup using your plugin can you please point me to those tutorials / help files?
Thanks again.
Regards David
-
David,
I had a quick look at the glTF format on the Kronos site.
Frankly, I am not sure it applies well to Sketchup and animator, as most of the format is geared encode mesh deformation for subsequent rendering. The Animation part is only one small element of the standard. So writing an exporter from Sketchup to glTF is much more a task for Trimble or Kronos contributors or some motivated third party.
There are already some exporters from SKP to OBJ. I don't know if this includes or not possibilities for embedding animation information. Anyway, all these format are utterly complex to understand, and most of it is about encoding the model (with vertices, triangles, textures, etc...), and animation information is not encoded at object level but at vertex level.
So today, and probably tomorrow, Animator exports animation as sequence of images or videos.
Fredo
-
Dear Fredo
Thank you for your follow up comments which I appreciate.
So some final comments for you.
I have used sketchup for more than 12 years. I have used a number of approaches for animation within a model. Yours by far is the most powerful. It's really very clever and beyond my ability to learn and use fully.
However whilst it has always been helpful to animate within sketchup, having built a 3d model using one the most powerful and easiest 3d modelling tools, invariabley the model is to be exported for use in some other application. Sharing / presenting a video or animated gif is helpful but nothing compared to beimg able to export an animated model.
So Kronos have already built a plugin to export gltfs for Sketchup. What is missing is the ability to export a model that is animated to a standard that can be used across different platforms. It seams there is a disconnect -
You have a really powerful animation tool but don't see yourself writing a method add this to export options for gltf or other formats any time soon. Kronos have built an exporter for gltf but are unlikely to build a tool like yours for doing sophisticated animations.
Being able to add your animation procedures to the gltf exporter would empower sketchup users to be able to export animated 3d models using a software interchange format that is endeavouring to provide a standard way of exchanging static and animated models.
Even if you don't think this is worth your while maybe you could clarify upfront in your explanation for your plug in that you don't support any form of export of your animations. This clarity would have saved hours of wasted effort and frustration and this correspondence with you.
In my case I searched the internet widely for options to animate 3d models from sketchup. Blender seemed the best option. However I then had such problems in blender with importing 3d models created in sketchup because of the interchange issues. With parts of models missing, poor structure etc it was a struggle to even get to the point of using Blenders powerful animation functionality.
This journey and roadblock led me to investigate whether there were any new animated plug-ins that allow export of the animation in any of sketchup export formats. I found Animator. It looked great. I spent hours looking at videos and blogs and building test models and training myself how to use Animator but I now know was looking for something that wasn't there. Ie no you can't export the animation to anything other than a video or animated gif.
So could I encourage you to clarify this upfront with your plugin description. Even better could I encourage you to look at extending your plugin for this purpose. Alternatively liaise with Kronos Group to achieve this functionality which would be of benefit to so many.
Good luck.
David
NB for any other frustrated sketchup users wanting to export models from Sketchup tp blender for any reason try the 3ds export. It has worked best for me.
-
Sorry if you are disappointed or frustrated. It would have been difficult for me to mention the absence of a feature that I had no clue it existed. So if it was that important to you, you should have tried first to ask or find out whether there was an exporting to glTF.
Additionally, this is just a plugin for Sketchup, not a commercial software build by tens of professional developers, not an open-source software with tens of contributors and expert.
Your point is relevant, but I am afraid I can't do anything about it, as I don't even understand the first word of the glTF technical formatting for the animation part (which seems to me based on moving vertices not objects in the meaning of Sketchup, i.e. groups and components).
I note that Trimble does not even export its scene animation to glTF.
All the best in your search for an alternative.
Fredo
-
Thanks Fredo
I absolutely understand thank you. Any frustration relates to a lack of solution out there. Absolutely no criticism or frustration with Animator (it's amazing). Given how good it is my comentary was more about a wish for the feature exporting 3d models with animation. Something that doesn't seem to exist for sketchup and you seem to be nearly there.
Anyway thanks again for your prompt feedback and comments which I appreciate.
Cheers
David
-
@dawrightau said:
NB for any other frustrated sketchup users wanting to export models from Sketchup tp blender for any reason try the 3ds export. It has worked best for me.
You should try this combo:
- Export to glTF from SketchUp with SketchUp glTF Exporter extension.
Plus, if you want to export PBR materials from SketchUp: Get my plugin on this sketchUcation thread. - Import glTF into Blender with glTF Blender Importer add-on.
- Export to glTF from SketchUp with SketchUp glTF Exporter extension.
-
Can you point me to a thread if it exists of how to slow down a camera move (view to view ) I can implement it fine with the movement of objects but cant seem to figure out the camera part. It also seems to work for the beginning view but not for the end view?
Thanks as always. -
@whiterabbit said:
Can you point me to a thread if it exists of how to slow down a camera move (view to view ) I can implement it fine with the movement of objects but cant seem to figure out the camera part. It also seems to work for the beginning view but not for the end view?
I guess you refer to the fade out property of camera elements (i.e. transition to next camera), which can be parameterized with Easing.
The best is to refer to the Tutorial thread, for instance, this one, video 4.Fredo
-
I think I figured it out. I thought you had to assign a curve to the beginning view and then a curve to the end view. Seems that an "s" curve only on the front view accelerates and then decelerates from one view to the other.
-
Hi Fredo,
Hope this thread is still somewhat active. I made a post over in Extensions looking for help.
Let me know what you think!
https://sketchucation.com/forums/viewtopic.php?f=80&t=70288&e=0 -
@gameofboxes said:
Hi Fredo,
Hope this thread is still somewhat active. I made a post over in Extensions looking for help.
Let me know what you think!
https://sketchucation.com/forums/viewtopic.php?f=80&t=70288&e=0This is difficult to do with Animator, and more something to construct with MSPhysics(by Anton S), as you just need to define some hinge constraints between the 3 objects.
In some particular cases, like yours, you can simulate it with Animator, as illustrated with the video below
-
Thanks for your amazing work, Fredo. I'm just trying to learn how to use Animator.
I'm confused about why the clip sequencer will reposition clips after I've placed them. It seems to have some built-in logic that wants to move a clip from one track to another and I can't figure out how to override it so that I can lay them out the way I want.
In the picture I've attached, I had all the movements in one track and the scaling in another. When I saved, Animator shuffled the Scaling and Movements.
Is there a switch I can flip, or can you explain the logic behind the automatic rearranging?
Advertisement