A new version of Cineversity has been launched. This legacy site and its tutorials will remain accessible for a limited transition period

Visit the New Cineversity
   
 
Effector user data animation time offset
Posted: 28 May 2017 03:01 PM   [ Ignore ]  
Total Posts:  108
Joined  2015-11-30

Hello again.

I’m messing about with animated clones.

I’ve noticed that using an effector to offset the clone’s animation doesn’t always work.

For example, say we have a cloner and an effector with Time Offset set to something > 0;
If the clone is a parametric cube, it’s animated size parameter is successfully offset by an effector.
However, if the clone is a null, or any other object, with, say, animated user data, the animation offset is not affected by the plain effector.

Is there a way to work around this problem? If there is no easier way, I guess I could make the cloner editable and loop through the children. But I haven’t thought about this method much yet, wanted to see if there’s a simpler way.

I’d like to figure out if there is a simple way to do time offset of clones with animated user data, before I tackle a slightly more complex idea:

Ideally, I would like to trigger the animation sequence for each clone using an effector, e.g. the plain effector;
So the time line for each clone is frozen at 0 until an effector passes over, which triggers the sequence.
I might be able to do this using the monoflop node in xpresso, trigger it above threshold of effector sampler and don’t use the timeline at all.

I noticed when using the particle emitter object with a cloner, the clones sequences behave exactly like this, their animation doesnt trigger until the particle spawns, so this made me think, maybe there’s a way to do it with just the cloner. Visibility mode doesn’t seem to affect the clone’s animation start point.

Profile
 
 
Posted: 28 May 2017 04:25 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi NNenov,

The first thing that can affect the clones is their own position-animation. If the Cloner Object>>Attribute manager>Object> “Fix Clone” is a checked, then any position animation is ignored. To use a Parent Null (zero position for XYZ) allows for the animation again, while it is checked on.

The Cloner Object’s main focus is on PSR of the Child Object, including deformers.

You can “bake” an object with Main Menu> Character> Manager> “Cappucino…”  for example.

As the manual states:
Tip:
When animating complex hierarchies (e.g., characters), make the complete hierarchy a Child object of a Null Object and make this object in turn a Child of the Cloner Object. Depending on the complexity of the rig (e.g., number of Expressions) it may also be necessary to bake the animation.

More complex, but way more adjustable is the Main Menu> Animation> Add Motion Clip.

With the Animation clip, you might ignore the Cloner Object and have more control about the whole set up.
Have a look at my series about:
https://www.cineversity.com/vidplaytut/animation_techniques_for_teams_part_01_course

To trigger Animation, perhaps use the Cloner Object> “Blend” with the Effector Setting Plain Effector. Modify Clone, where by the initial Cloner Set up produces only one clone and another (parent to all) creates the Animation.
Yes, that might not cover all animation cases, but you question is layered and general, if you have an example, I try to find something for it.

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 28 May 2017 05:25 PM   [ Ignore ]   [ # 2 ]  
Total Posts:  108
Joined  2015-11-30

I was thinking about baking and using blend mode, but my clone uses animated and procedural parameters, I will try and set up a simplified example when I next get time to play around with this.

Wow, I’ve never noticed or heard of the motion clip feature before.. This course looks excellent. I will definitely check it out!

Thanks again!

Profile
 
 
Posted: 28 May 2017 06:03 PM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

You’re welcome, NNenov.

On the end, pretty much anything model-wise end up being based on points. The Cappucino has PSR, PLA and Hierachy as target and can normally take all these influence into account.

The Animation clip evaluates Expressions.

But yes, there is always something else that might need some attention, hence the idea of a core-example.

My best wishes

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 28 May 2017 07:15 PM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

P.S.:

To set an absolute starting point of a child/clone animation might be best with a MoSelection and Plain or Step Effectors. If no animation should be seen, perhaps set the offset larger than the project time. I haven’t tried to change the Offset value via XPresso, as I really don’t know your target with that.

See the Spline Curve in A and C vs the absolute value of the B version. The Step Effector>Spline interface is mighty, but needs some attention.

Please have a look at the example file:

https://www.amazon.com/clouddrive/share/WHGdG3Mo4kdSUsDm2jefGa3XsTgATQLGUBGVxCDcyXG?ref_=cd_ph_share_link_copy

To set up a MoSelection and a Plain or Step Effector looks better to me than to have a lot of single animations to control.

ENJOY

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 29 May 2017 12:22 AM   [ Ignore ]   [ # 5 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

One more …

This might be off, but since I have on a rough idea what your need, how about XRefs?

If would have the advantage to avoid copies, which might be a complex task to change things quickly. With XRef you might have only one to work on.

The file below shows some features, of course more like a sketch.

Scene File:
https://www.amazon.com/clouddrive/share/zJ0dfSSaieY15HHScGAHy4PnhFRiUYUFA6oEiV0O51e?ref_=cd_ph_share_link_copy

Perhaps the Cloner nor the Formula are needed.

The critical point here is, especially with the idea of “Material” animation, that each XRef” is created one by one. It is tempting to load one and copy those, but this will result in one Material only, and the material animation is always in sync, not offset at all.
If that is not a problem or requirement, perhaps a copy might work.

If you select all the XRef parent objects, you can type in num*24 and the 24 will then multiplied for each, starting with zero, or type (num+1) * 24). When all are deselected, select the one that should follow the same sequence and set the Object> Animation> Offset to the value that works for you.

Here you can find also the connection to XPresso. XRef also allows for an animation “Scale”. BUT: it seems to be a read out only.
With Python: [c4d.ID_CA_XREF_OFFSET] or [c4d.ID_CA_XREF_SCALE], perhaps that could be a way…

I hope that gets you a little bit closer to your target.

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 30 May 2017 05:29 PM   [ Ignore ]   [ # 6 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Or this …

The Spline is run by the Pose Morph. The Spline is used as Falloff, in a Plain Effector that uses a full project duration Offset [time]

Scene File
https://www.amazon.com/clouddrive/share/DfoMuUEpkib49RCJPofyU6zGSbuhpDC4Kbq0JCX4Fbq?ref_=cd_ph_share_link_copy

The Cloner is set to Transform> Animation> Fixed.


Brainstorming:
Since you asked, perhaps increase the Weight for the clones in question over time to get the animations working. The Thinking Particles have for example a Channel option to provide for each particle a memory, this can be read out and transferred to weight for example. Perhaps utilize the XPool> System Presets> General Presets> “Memory List” to store the starting point of the clone’s animation. Then get the “delta” time for the animation as weight for example.

Edit: or just try this little set up:

Scene File
https://www.amazon.com/clouddrive/share/oIChIbK6vRXInxStXBZ5WUiackxNBGzThtYnwnav64O?ref_=cd_ph_share_link_copy

Select the “Falloff.Gui” and move it to the clones (press the play button first…)

The idea is to add to the Weight with each step, but only after the falloff (XPresso) has added something to it. If the Weight is zero, nothing will be added. Set the Plain Effector Offset to 118 for example to see the difference in animation length, etc.
?($1=0;0;($1+0.01))
Whereby the 0.01 used in the example]value stands for the speed.
I have tested it only from my perspective, please do so with your needs in mind of course. Let me know if something isn’t clear. From your website, I assume you get fast through the idea of a set up like this.

Here is an one minute clip about:
https://www.amazon.com/clouddrive/share/fF9ihieqKwgNp4Iu587k4oLI4180TCmrNPnu4OeXPDN?ref_=cd_ph_share_link_copy

/edit

Many years ago I received a similar question, but it turned out, that the animation was a looped animation and could be done easily with “Blend” and “Modify Clones” with one none animated child and one animated. I thought it was mentioning here, just incase.

ENJOY

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 31 May 2017 04:47 PM   [ Ignore ]   [ # 7 ]  
Total Posts:  108
Joined  2015-11-30

wow, so much insightful information.. I can’t wait to get stuck into all these ideas, the video in your latest post looks awesome.
Thanks again.

Profile
 
 
Posted: 31 May 2017 05:07 PM   [ Ignore ]   [ # 8 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Thanks a lot, NNenov, you’re welcome.

Yes, start with the latest one, and please ask if something isn’t clear, I’m happy to explain more in detail if needed. Since the whole set up would be a longer “speech” to go into detail with each part.

Enjoy!

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 31 May 2017 10:58 PM   [ Ignore ]   [ # 9 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Here is a file, that is simplified, but contains the main problems, as in not playing nicely with the Offset options in MoGraph.

To workaround this, one could just simply set the key poses (not animated) and use the Modify Clones/Blend option.

Scene File:

https://www.amazon.com/clouddrive/share/0feI6eiyoTnc9mXSqrPDv5d3cJwZbQoVgg6qoA5ruPN?ref_=cd_ph_share_link_copy

The amount of instances under the lower Cloner Object might be lower or higher, dependent on the key steps.

The Effector> Modify Clones parameter can be seen as a proportional slider in conjunction with the amount of instances under the Cloner Object. So move the slider and adjust the Key-“time” for this instance.

The top Cloner Object creates then the needed amount of clones. The lower Cloner Object produces only a single clone and holds the Effector for the “Modify Clones.

The file that was the reason for this thread is way more complex and any other way would have lead in a painstakingly work, as Animation Clip, Collada, Alembic and even XRef showed some flaws based on the very nature of the presented file. One instance of this file had 139 objects and many of them were equipped with tags. e.g., XPresso, etc.

Since I believe in Forums work and not so much in single private stuff, I was clear that I couldn’t share the original work, but I wanted to share this way of solving the problem. If it works all the time, I have no clue, since the options in C4D are pretty much endless, and no one has ever (!) put all possible options in a action.

Enjoy

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 02 June 2017 10:22 AM   [ Ignore ]   [ # 10 ]  
Total Posts:  108
Joined  2015-11-30

Hey!

This is all great, I made a mashup of your previous example which triggers the animation rather than using falloff to blend. It took me a while to figure out what’s happening in the xpresso (in CV2_r18_drs_17_MGsq_41), but I its starting to make sense, excellent technique, its giving me a lot of ideas on where to take this next.

Here’s the combination I made using your two examples:
https://www.dropbox.com/s/wx5tgb7u5hwhc9e/combineCV2_r18_drs_17_MGsq_41.zip?dl=0

Thanks for all the help!

Profile
 
 
Posted: 02 June 2017 03:03 PM   [ Ignore ]   [ # 11 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

You’re very welcome, NNenov.

Yes, exactly. Thanks for the file.


Just a little brainstorming:
The main idea is check the values of the weight. If zero then leave it that way. If the Falloff adds a little bit to it, then add each frame a certain amount to it.

An addition could be, to place MoGraph selections into the mix. In the moment the weight value is 100% [or one], the selection will be set to true for the clone.

This uses the Condition to check the same as before, but this time one is the zero. In other words, if a new falloff “triggers” the weight is subtracted then each frame until zero.

This is just brainstorming, but I guess that could be a needed extension.

Have a great weekend

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 02 June 2017 04:39 PM   [ Ignore ]   [ # 12 ]  
Total Posts:  108
Joined  2015-11-30

You mean, for example, to use a second effector to trigger the reverse sequence? Great idea.
The main principle of using weights has been really enlightening, opens up a whole range of opportunities for animation!

Profile
 
 
Posted: 02 June 2017 05:11 PM   [ Ignore ]   [ # 13 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Yes, NNenov. So far I understand your set up that you have had send me, there might be a need for an reverse animation.

With both both (Weight Tag and MoSelection Tag) one has the option to store quite some specific information. Those information can be used then in Effectors, to make them work or not, or just partially.

The options have increased tremendously with these two “storage” tags. If used as such, I guess there is much more to come.

This is why I like this forum so much, getting a question that might combine some previous explorations, and all of the sudden we have a great example of synergy. grin

ENJOY

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile