Jump to content
Info News:
  • C4D Cafe 2.0 COMING SOON!

Sign in to follow this  
Evgeny Bazhenov

MoGraph clones with Xpresso

Recommended Posts

Hello! I have a task with MoGraph and Xpresso. I have a group with 3 different objects, all of them connected within Xpresso. I get random height value for them. But when I put it in MoGraph cloner it look same. I need have different random seed for each clones via Xpresso. I think I need to get clone id or index in Xpresso. How can I get it as result? P.S. It works after convert Cloner with "C" key. All clones become separate groupsand each of them has different random parameters. But I need decide this task without convert Cloner. 
 

 

XpressoMoGraph.c4d.zip

Share this post


Link to post
Share on other sites

Hi and :welcome: to the Cafe

 

Maybe I misunderstood you, but why go through all that process manually through Xpresso? Is this what you are after?

 

 

Scale_random.c4d


Free C4D trainings from MAXON professional on our youtube channel

 

https://www.youtube.com/c4dcafe

Share this post


Link to post
Share on other sites
  • Topic Author
  • Thanks! I know this way ))) But I need randomise Y-scale each objects it that group. I'll be more precisely I need realise stock candles. Do you understand me? Each candle has 3 random data. 

    ninjatrader8-price-line-indicator-05.jpg

    candle.c4d

    Share this post


    Link to post
    Share on other sites
  • Topic Author
  • No way. I need to do it with random. I want to know how can I get id of clone. I know all ways with effectors but it isn't this way.

    Share this post


    Link to post
    Share on other sites

    Hm, but this is random, you just have pool o 4 states to make it easier? anyway, you can access id of clone in MoGraph data node


    Free C4D trainings from MAXON professional on our youtube channel

     

    https://www.youtube.com/c4dcafe

    Share this post


    Link to post
    Share on other sites
  • Topic Author
  • I know it is easy. Finally I converted clones as separate groups with Xpresso and random seed as unique group position. But i want powerful of interaction MoGraph and Xpresso. 

    Share this post


    Link to post
    Share on other sites
  • Topic Author
  • Each clone has Index in MoGraph. I just want to get it! How???   )

    Share this post


    Link to post
    Share on other sites

    There are lots of ways to use and see a clones Index Number. Don't forget under a Cloner's Transform tab is Display - Index. Two good ways to use the Index Number are the Formula Effector and also in Xpresso using the Dynamics Body Tag. See the 3 examples.

     

    Formula Effector floor rnd Syntax 2.c4d.zip

    Formula Effector id 2.c4d.zip

    Select List Of Clones.c4d.zip

     

    Share this post


    Link to post
    Share on other sites
  • Topic Author
  • 13 hours ago, teknow said:

    There are lots of ways to use and see a clones Index Number. Don't forget under a Cloner's Transform tab is Display - Index. Two good ways to use the Index Number are the Formula Effector and also in Xpresso using the Dynamics Body Tag. See the 3 examples.

     

    Formula Effector floor rnd Syntax 2.c4d.zip 68.04 kB · 2 downloads

    Formula Effector id 2.c4d.zip 40.59 kB · 2 downloads

    Select List Of Clones.c4d.zip 73.03 kB · 2 downloads

     

    Thank you bro!!!!  Dynamics body state it is it!!! I'll post result when I'll finish.

    Share this post


    Link to post
    Share on other sites

    Glad I could help! Looking forward to seeing the final result. No one seems to know about Dynamic Body State node.

    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.

    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.

    Sign in to follow this  

    ×
    ×
    • Create New...