Jump to content

Merging Two Geometry Streams Via Modulus?


Atom

Recommended Posts

Hi All,

 

I just watched Manuel's tutorial on the FOR/EACH sop.

 

This tutorial copies boxes. In the end you end up with two possible outcomes. One result is boxes with materials cycling through 3 possible materials. The other result is each box with a random color applied.

 

What I would like to do is mix these two resulting streams using some form of modulus to determine how many of each stream get mixed in to a final single stream of geometry.

 

Example: The first 4 copies come from the 1st stream, the second 4 copies come from the 2nd stream then back to the first stream and so on...

 

How can I do this? I realize I need some groups and way to select alternately from each group. Are there specific nodes I should be using?

 

In the screen shot I have the current result of each stream, one in each object but I would like a single object for the final result.

post-12295-0-52485600-1428850004_thumb.p

ap_for_each_example.hipnc

Edited by Atom
Link to comment
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.

×
×
  • Create New...