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
   
 
Slader that control Slider
Posted: 24 October 2019 08:38 AM   [ Ignore ]  
Total Posts:  20
Joined  2019-07-18

Hello Everybody,
someone can help me or suggest me a way to get this:
1 controller (slider 0%-100%) that control 4 controller (slider different unit mm and degrees).
If you give a look at the attached file you can see that there are 4 objects, every single object is commanded by a slider:
Controller for Object A do 0° to 80°
Controller for Object B do 0 to 800mm
Controller for Object C do 0 to 1000mm
Controller for Object D do 0° to 225°

The master control is 0% to 100%.
I need that happen the following instructions when i move the master slider (important is that happen in the right timing)
from 0 to 25% (<—-of the master) Controller A do 0° to 80°
from 26% to 40% (<—-of the master) Controller B do 0 to 800mm
from 41% to 70% (<—-of the master) Controller C do 0 to 100mm
from 71% to 100% (<—-of the master) Controller D do 0° to 225%

I need this in order to easily have a full animation of 15 components (setting only one command, and so one keyframe)  inside another bigger animation.

What do you think? is the right way?  Have you a better one?

I would like to ask you, too, whether there is an EASY way to read data from an external file (like EXECL).

Thank you so much.

The link with the file: https://drive.google.com/drive/folders/17Qahfl2Uli6emEYblVCsDXRwKmbMR54I?usp=sharing

Profile
 
 
Posted: 24 October 2019 03:38 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi NBE_K19,

Here is your file back, with some Range-Mappers to create the Master-Slider:
https://www.amazon.com/clouddrive/share/E5ssdGw2sK3qgbTSm8m98maKDzzbiZyeYExXu9jrIWT

To get external data into Cinema 4D, you can use ASCI

https://help.maxon.net/us/#5874?anchor=PLUGIN_CMD_13018

or here

https://help.maxon.net/us/#5689?anchor=PLUGIN_CMD_1015840

More advanced data import is possible with Python, but that would be a question in the developer Cafè
https://plugincafe.maxon.net

Michael Auerswald had discussed this over at FXPHD in his c4d208 course
https://www.fxphd.com/details/339/
I have no idea how current this course 10 is by now, he uses XML.

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: 24 October 2019 08:13 PM   [ Ignore ]   [ # 2 ]  
Total Posts:  20
Joined  2019-07-18

Thank you for your reply!

Dr. Sassi - 24 October 2019 03:38 PM

Hi NBE_K19,

Here is your file back, with some Range-Mappers to create the Master-Slider:
https://www.amazon.com/clouddrive/share/E5ssdGw2sK3qgbTSm8m98maKDzzbiZyeYExXu9jrIWT

I had achieved the same result with the range mapper but the main problem is that I have to set the range value two times, once in the range mapper and once in the slider (a,b,c, or d).

I wonder if there is the possibility to set for every slider the value from 0% to 100% like the attached image, in order to do this:
-when the master slider go from 0 to 25% controller A do 0—>100% (= 0°—>80°)
-when the master slider go from 26 to 40% controller B do 0—>100% (= 0mm—>800mm)
-when the master slider go from 41 to 70% controller C do 0—>100% (= 0mm—>1000mm)
-when the master slider go from 71 to 100% controller D do 0—>100% (= 0°—>225°)

If is possible to assign this 0-100% value at each slider I will have to set only one time the values! Am I wrong?

Is it possible in your opinion? Is there an easier way?

This will help my job because I can control a full movement of 1 assembly with the setting of only 2 keyframes!? and image to have 20/30 assembly to manage (in a different time..no instance allowed)!!
Do you understand?

Dr. Sassi - 24 October 2019 03:38 PM

To get external data into Cinema 4D, you can use ASCI

https://help.maxon.net/us/#5874?anchor=PLUGIN_CMD_13018

or here

https://help.maxon.net/us/#5689?anchor=PLUGIN_CMD_1015840

More advanced data import is possible with Python, but that would be a question in the developer Cafè
https://plugincafe.maxon.net

Michael Auerswald had discussed this over at FXPHD in his c4d208 course
https://www.fxphd.com/details/339/
I have no idea how current this course 10 is by now, he uses XML.

All the best

Thank you also for this, i will have a look tomorrow.
Nicolò

Profile
 
 
Posted: 24 October 2019 09:40 PM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi NBE_K19,

It would have been nice if you had mentioned that you got already a working solution, but that you need something shorter.
Your request was for these sliders. Anyway, I got that you look for something smaller. So, let’s try this:

Why use sliders for each object then? You can set up the Range Mapper directly for the output format that you need, and connect the objects directly. I can’t think of anything more simple.
Here is the version without the sub-slider
https://www.amazon.com/clouddrive/share/S6qofaGDq6OnfAchhtOhc2156aTFKWX2epPeT3WXcmm

Let me know if there is anything else, I’m happy to look into it.

As a side note: I’m not certain what an “Imag[in]e to have 20/30 assembly” is, perhaps you can share a project file that shows this? eventually that gives me some other ideas.

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: 25 October 2019 07:34 AM   [ Ignore ]   [ # 4 ]  
Total Posts:  20
Joined  2019-07-18
Dr. Sassi - 24 October 2019 09:40 PM

Hi NBE_K19,

It would have been nice if you had mentioned that you got already a working solution, but that you need something shorter.
Your request was for these sliders.

I should have….sorry!

Dr. Sassi - 24 October 2019 09:40 PM

Why use sliders for each object then? You can set up the Range Mapper directly for the output format that you need, and connect the objects directly. I can’t think of anything more simple.
Here is the version without the sub-slider
https://www.amazon.com/clouddrive/share/S6qofaGDq6OnfAchhtOhc2156aTFKWX2epPeT3WXcmm

Let me know if there is anything else, I’m happy to look into it.

As a side note: I’m not certain what an “Imag[in]e to have 20/30 assembly” is, perhaps you can share a project file that shows this? eventually that gives me some other ideas.

https://drive.google.com/drive/folders/17Qahfl2Uli6emEYblVCsDXRwKmbMR54I  “Master SLider_02.c4d”

If you take a look at the new file (unfortunately I can’t share the original project but this represent the real one quite well) you can see that my model is composed by 22 “machines” each one have 4 legs that I need to close in different times, in order to move all the single machine in the next position. (start the animation to understand).
If you look at the Dope sheet you see a lot of keyframes for the mooving of only 1 machine….with the hypothetical “master slider” I could handle the machine with less keyframes!!
I prefer to have less keyframes in the dopesheet because this it’s not the real final model…the final one has 6 more complex machine inside with a lot of movimentations—->a lot of keyframes..

I need a sub-slider because sometimes the sequence of animation is different and I have thought that disabling the xpresso master slider I could have set the single sliders.

Is a sort of Xref, I’ve tried to use this solution but the model is too complex and the saving/loading time is very slow!

What’s your feeling with this system?
Thanks!

Profile
 
 
Posted: 25 October 2019 03:42 PM   [ Ignore ]   [ # 5 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Nicolò,

Thank you very much for the file. This was nice to work with.

You asked about my feeling about this system. I would turn it into a Baked version, then perhaps use the Clip Animation System, in conjunction with MoGraph.

I have set up one with just baked Keyframes (01) and one based on this with an Animation Clip (11).
Scene files and screenshot:
https://www.amazon.com/clouddrive/share/Tm5zvKCR0NL4sPzxy8cHn0G1DIMzJqakzIoA3TePzom

The animation Clip version allows having a spline interface to adjust the progress of the animation. (Which is similar to the master slider.) In other words, you just animate with keyframes and go from there. Any adjustment is faster than to go with Xpresso, as far as I can tell.

MoGraph allows you to have one object animated and with the Cloner and Step Effector to produce what you see when you press the play button.

If you want to stay with the Master Slider instead, perhaps you create an Xpresso set up for each element in the scene that needs movement and drag then the Object with the master slider into a User Data Link. With another User Data you can specify the start and endpoint of that connection. No idea if that is faster, but it feels more organized.

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: 29 October 2019 03:29 PM   [ Ignore ]   [ # 6 ]  
Total Posts:  20
Joined  2019-07-18

Hi Mr Sassi,
thanks for your support.
I’ve tried to understend how do you group with the motion system tag all the keyframes without great results..could you suggest me some tutorial about this tag?!

Dr. Sassi - 25 October 2019 03:42 PM

If you want to stay with the Master Slider instead, perhaps you create an Xpresso set up for each element in the scene that needs movement and drag then the Object with the master slider into a User Data Link. With another User Data you can specify the start and endpoint of that connection. No idea if that is faster, but it feels more organized.

Also for the master slider I have no idea how to reach this result. Could you be more specific?

I’m sorry but I’m new in C4D, thanks for your patience!

Profile
 
 
Posted: 29 October 2019 04:21 PM   [ Ignore ]   [ # 7 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Nicolò,

A while ago, I had set up a series to cover the Animation Clip:
https://www.cineversity.com/vidplaytut/animation_techniques_for_teams_part_01_course

Or have a look here
https://www.cineversity.com/vidplaylist/new_in_release_11/nla_basics
https://www.cineversity.com/vidplaylist/new_in_release_11/nla_intermediate_layers
https://www.cineversity.com/vidplaylist/new_in_release_11/nla_intermediate_motion

Manual:
https://help.maxon.net/us/#33015


The idea of an Xpresso Tag per object allows for a clear organization in the Object Manager. In other words, you can faster click through it.
Screen Capture, project file
https://www.amazon.com/clouddrive/share/64B2eWjYEJ3VmeL2Se0zQj4dTxAjPhQ4JwZ9ZHIxFhD

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