randomzie/control index (not weight) of cloner or matrix?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

 
Thread Tools Display Modes
  01 January 2018
randomzie/control index (not weight) of cloner or matrix?

Is it possible to randomize and/or control the index sorting order of a cloner or matrix in the same way you can with the Voronoi object? I've tried all sorts of combos of settings on the cloners, matrix, and effectors and the index just stays linear.

Not talking about weight here - but the index numbering.

Mike
 
  01 January 2018
I did some research, and concocted this monstrosity.
Use the effector in any MoGraph Cloner. Change the Seed in the "Random index" tab of the effector for different randomness.
Please tell me if it helps.

https://www.dropbox.com/s/1xpteeem5...001A.c4d?d l=0
__________________
Follow me on Twitter@nosemangr - Watch me on Noseman's Youtube Channel
 
  01 January 2018
Creating a Sorting function, or distance based sorting is a bit harder.
I'm sure some egghead will find a way to do it :-)
__________________
Follow me on Twitter@nosemangr - Watch me on Noseman's Youtube Channel
 
  01 January 2018
with help from Donovan Keith, I updated the Effector to use the Alternative indexing of the MoGraph cloner.
This will randomize the IDs seen by the Step Effector but NOT by the Formula Effector. So the IDs you see in the Viewport are the default ones, but the Step effector reads the alternative ones... (or something like that).
Added a button in the "Random index" tab to revert the ids to the original.

https://www.dropbox.com/s/7y0oihnwe..._2_0.c4 d?dl=0
__________________
Follow me on Twitter@nosemangr - Watch me on Noseman's Youtube Channel

Last edited by noseman : 01 January 2018 at 08:44 PM.
 
  01 January 2018
Thanks so much for your effort on this - thought it was just something I was missing, not an actual missing in-built capability requiring code to remedy.

Mike
 
  01 January 2018
Weirdly enough this just came up:http://forums.cgsociety.org/showthr...?f=47&t=1485518 - uses a voronoi as an intermediate to get extra sorting options.
__________________
Fat Free Media | Twitter
 
  01 January 2018
Originally Posted by danielHinton: Weirdly enough this just came up:http://forums.cgsociety.org/showthr...?f=47&t=1485518 - uses a voronoi as an intermediate to get extra sorting options.
This is the current out-of-the-box way you can do it, with the added benefit of sorting the clones as well... BUT, it doesn't work with Render instances, therefore making the setup comparatively slow.
I want to see if I (or another kind should) can add distance based sorting to the effector as well.
__________________
Follow me on Twitter@nosemangr - Watch me on Noseman's Youtube Channel
 
  01 January 2018
I see - thanks for taking the time to explain!
__________________
Fat Free Media | Twitter
 
reply share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 12:14 AM.


Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.