Jump to content

Archived

This topic is now archived and is closed to further replies.

onehugeeye

Affecting Groups Of Clones

Recommended Posts

  • Topic Author
  • any chance I can borrow your file?

    I'm having trouble reproducing your xpresso

    Share this post


    Link to post

    pm sent ;)

    Cheers

    Share this post


    Link to post

    I think your problem on recreating the xpresso from Hrvoje is due to that he made his cloner setup editable

    in order to get to the names of the clones. Which helps to solve the problem but gives up flexibility in process.

    Here's a setup which is slightly complicated in concept but procedural all the way:

    - Set your Cloner to "Sort" instead of Random, now you only will see the first clone in the viewport,

    press F2 in order to go to the top view so you can see the changes of weight we will do in the next step,

    go to transform tab and set Display to Weight.

    - Create a Shader Effector, go to Shading Tab, create a Noise Shader, set contrast 75%, then put the

    Noise Shader inside a Posterizer with 3 Levels and Filter Width to 0%. Go to Paramater Tab, set Weight

    Transform and Modify Clone to 100%. Now you should see all three objects again and also see that we

    have now 3 different weights applied to the Clones which we will utilize inside xpresso to write into a

    MoGraph Selection Tag. So create a Mograph Selection Tag and a Xpresso Tag and create the following

    setup seen in the attached image.

    - Now you should have one of the objects written as a Selection into the Mograph Selection Tag

    and you can use it in another effector.

    See attached scenefile for reference.

    SelectByWeight01.c4d

    post-50487-0-88782800-1338587588_thumb.p

    Share this post


    Link to post

    Cloner is not editable - I am just iterating through cloner hierarchy ;)

    Cheers

    Share this post


    Link to post

    Hrvoje, would you mind showing your scene,

    because I don't understand your setup. Right

    now it seems as if your are iterating through

    an hierarchy with only 3 objects which doesn't make

    sense to me.

    Share this post


    Link to post

    The file is on my home machine - I can send it on Monday since I don't have Cinema installed on notebook :signthankspin:

    Setup is quite simple - I use cloner as starting point for iteration through hierarchy and I compare the names with static string. That way he can create "exclusion" based on the string name for any object under the cloner and get output value for enable/disable, hiding for object node that is being feed with hierarchy.

    Setup can be expanded into "quasi" type effector which would work with clones based on name, color or other property or, similar to your setup where one would feed MoSelection.

    Cheers

    Share this post


    Link to post
  • Topic Author
  • Derya, that's very clever.

    When I saw that you used a Mograph selection I thought that this was not what I was after, until I modified the noise seed on the shader and realised that the selection tag was being updated automatically.

    The magic is in the Xpresso.

    Thank you so much! (To all of you)

    Share this post


    Link to post
  • Topic Author
  • Derya, what should I modify if I want to select the other weights?

    Is it the value in the compare node?

    Share this post


    Link to post

    Exactly, you just change the value in the compare node, also try out other compare modes to get to the result your after.

    If you want to adopt to 7 cloned objects for example, just change the Posterizer Levels to 7.

    Share this post


    Link to post
  • Topic Author
  • Genius! I just spotted that, I duplicated the xpresso setup with a new compare for values below 0.25 and modified the green... trying to work out how to get to the blue ones... is compare, the right node to detect a range (between 0.25 and 0.75) ?

    I'm guessing I either need another node or to combine the compare it with another one

    Share this post


    Link to post
    Guest
    This topic is now closed to further replies.

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×
    ×
    • Create New...