Jump to content

blastframe

Lag with Spline Deformer & Xpresso

Recommended Posts

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. In the image below, you can see the lag when using the Timeline's 'Go to Next Frame' or 'Go to Next Key' buttons. 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. Thank you!

 

Lag.thumb.gif.aa95ff2a590e9a00b8aba72d378f2834.gif

Lag between Spline Deformer and Xpresso.c4d

Share this post


Link to post
Share on other sites

Setting the XP tag to generators 0 seems to work

 

generators.png.6a919a80e5db1b09dda34b226d18b782.png

 

  • Like 1

Share this post


Link to post
Share on other sites

You can simplfy your XP with a bit of iteration. Just point hierarchy at the cube's parent, D = down 1 level, N = next same level. Object index gets the cube index in the list.

 

lag2.c4d

 

 

  • Like 1

Share this post


Link to post
Share on other sites
  • Topic Author
  • Thank you again.

     

    Will this improve performance at all or is it just a simpler set up?

    Share this post


    Link to post
    Share on other sites

    Just easier - less chance of errors if you had 100 cubes ::):

    Share this post


    Link to post
    Share on other sites
  • Topic Author
  • Thank you, sir. ::): You've helped me a lot!

    Share this post


    Link to post
    Share on other sites
  • Topic Author
  • Hi jed,

    I hope it's okay to ask another question. I'm now experiencing the same lag with the Skin object. Changing its priority to Generators 0 or -1 (or changing its order in the Object Manager) does not fix it.

     

    Could you please shed light on what's happening with this?

    lag3.c4d

    Share this post


    Link to post
    Share on other sites

    Not too sure on that scenario - one of the more experienced animators could probably advise here.

    • Like 1

    Share this post


    Link to post
    Share on other sites

    I am sorry to tell you that ,C4D can't do it! !
      Skin's priority won't work, he's not valid

    Share this post


    Link to post
    Share on other sites

    This is a limitation. Your priorities are right, but you can't execute an expression between deformers.

    Share this post


    Link to post
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


    • Recently Browsing   0 members

      No registered users viewing this page.

    YOUTUBE CHANNEL:

    ABOUT US:

    C4D Cafe is the largest CINEMA 4D community. We provide facilities for discussion, showcasing and learning our favorite software :)
    ×
    ×
    • Create New...