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
   
 
Lag with Spline Deformer & Xpresso
Posted: 11 January 2019 01:23 AM   [ Ignore ]  
Avatar
Total Posts:  80
Joined  2012-05-01

Hello,

I am distributing cubes along a high-res spline using Xpresso. I am using a lower-res spline and a Spline Deformer to deform the high-res spline.

There is a significant lag between the Xpresso and Spline Deformer. The cubes do not distribute to the deformed spline until the button is pressed again. I have tried using a Cloner (rather than Xpresso) to distribute the cubes, but this does not fix the issue. I have also tried changing the Expression priorities, Object Manager order, and using the Shift Priority tag, but these did not work.

I have attached my scene file if anyone can offer any help. You can see the lag when using the Timeline’s ‘Go to Next Frame’ or ‘Go to Next Key’ buttons. I have also attached an image of what is happening. Thank you!

File Attachments
Lag between Spline Deformer and Xpresso.zip  (File Size: 68KB - Downloads: 34)
Profile
 
 
Posted: 11 January 2019 01:45 AM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi, blastframe,

Please have a look at the file below
Scene File:
https://www.amazon.com/clouddrive/share/UYDpKgM7ZxdhvEzyngNcuBSfMgvHWOzqtC51flSVRUI

The processing works from top to bottom. I have sorted the parts in the needed direction and it works fine.

If you take the file that you have shared, please do the following:
Forward one frame, then press the A key. Surprise? Now do the same with the file I have sorted out for you, all fine, right.

I hope that will work for you.

BTW, the same is true for XPResso>X-Manager, top to bottom.

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: 11 January 2019 01:58 AM   [ Ignore ]   [ # 2 ]  
Avatar
Total Posts:  80
Joined  2012-05-01

Hi Dr. Sassi,
Thank you very much! I am not able to get the same results with the Xpresso Distribution as the Cloner (file attached).

Do you have any suggestions for the Xpresso implementation? Thank you.

File Attachments
Lag between Spline Deformer and Xpresso II.zip  (File Size: 67KB - Downloads: 38)
Profile
 
 
Posted: 11 January 2019 02:09 AM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

You’re very welcome, blastframe!

Here is the Xpresso version of your file.
Scene file
https://www.amazon.com/clouddrive/share/r0C3cNaE1fYcdtxNsGENs2n0sPx7BZsXsyPCWPoU7B0


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: 11 January 2019 02:13 AM   [ Ignore ]   [ # 4 ]  
Avatar
Total Posts:  80
Joined  2012-05-01

Hi Dr. Sassi,
I think you attached the wrong file. Thank you for your help with this!

Profile
 
 
Posted: 11 January 2019 02:15 AM   [ Ignore ]   [ # 5 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Sorry about this, blastframe.

Please try again.

Cheers

 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: 11 January 2019 02:21 AM   [ Ignore ]   [ # 6 ]  
Avatar
Total Posts:  80
Joined  2012-05-01

That’s incredible, Dr. Sassi. THANK YOU SO MUCH!!!!

Profile
 
 
Posted: 11 January 2019 02:37 AM   [ Ignore ]   [ # 7 ]  
Avatar
Total Posts:  80
Joined  2012-05-01

This post was accidental, so I thought I’d use it for an animation.

Profile
 
 
Posted: 11 January 2019 02:42 AM   [ Ignore ]   [ # 8 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Blastframe, you’re welcome.

Regarding post #7, what do I miss?

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: 11 January 2019 03:07 AM   [ Ignore ]   [ # 9 ]  
Avatar
Total Posts:  80
Joined  2012-05-01

Hi Dr. Sassi,
My apologies, the post was an accident.

I do have a follow up question if I may.

I am now trying to fix the priorities of a Skin Object. I have it at the top of the Object Manager with its Priority set to Generators -1, but it still lags when I step through with ‘Go to Next Frame.’ (file attached)

Can you explain how a Skin’s priority is fixed?

Thank you.

File Attachments
lag3.zip  (File Size: 67KB - Downloads: 38)
Profile
 
 
Posted: 11 January 2019 03:49 AM   [ Ignore ]   [ # 10 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Blastframe,

Low priorities means it is processed early, and can be overwritten.

If something is in the upper area of the Object Manager, it will be processed early and can be overwritten.

The same is true for Xpresso>Xpresso Manager [list!] Check your file, again.

Anyway, I can’t help myself, but what is the reason to have a Spline that is supposed to modify another spline, only to look the same (what do I miss?) as the modifying spline?

One more questions, why not use Spline-IK instead of the long set up? Spline into Spline IK, Skin Object, done. No lag.

Scene file
https://www.amazon.com/clouddrive/share/uoGdZDEJIYrnfRUaJxobaUGKqd1Nv6xII0w8pH7KdnD

Why not use the SplineWrap and Polygon Object to begin with.
Scene file
https://www.amazon.com/clouddrive/share/RwI6sWaC0KkNy3hGI8T3HkvgRUfpsfPlOkTgI78TLBr

Or use the set up that you already have with the Spline Deformer, but directly on the Polygon Object.
Scene file
https://www.amazon.com/clouddrive/share/iPPDH8kcyiW59JhJPPO4pJ25QAaHkgZ5y4b3KdlH1BG

It feels otherwise like a lot of detour, but you might give me some input and we find what is working then.

Cheers

 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: 11 January 2019 04:30 AM   [ Ignore ]   [ # 11 ]  
Avatar
Total Posts:  80
Joined  2012-05-01

Dr. Sassi,
You are a genius. These solutions are very eye-opening for rigging in Cinema 4D and extremely useful for my project.

Tausend Dank. Sehr aufmerksam.

Profile
 
 
Posted: 11 January 2019 05:05 AM   [ Ignore ]   [ # 12 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Nice that this helps a little bit, blastframe.

Enjoy your weekend

Greetings from L.A.!

 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