Jump to content

How to read copy stamp data flow


Recommended Posts

Hi,

Beginner question.

I understand how to do copy stamping, however I am not sure how data flows inside the network, for example (see attached image):

"copy" node needs both "platonic1" and "sphere1" to work, so they should be evaluated first, i.e. before "copy", HOWEVER, "platonic1" references the stamps defined in "copy" node, which means "copy" must be evaluated first!?  My question: which one is evaluated first, or how this network works? 

Thanks,

copy_stamp.png

Link to comment
Share on other sites

Stamping can be a little weird to understand when you are first introduced to it. It seems like you are going "up-stream" to achieve the goal. But what is really going on is the Copy node is evaluating both it's inputs. Left input is the object to instance and right input is where to instance the object from the left input. Both platonic and sphere have to exist before Copy can evaluate them.

 

I am guessing at the code flow here but I assume that Copy generates a list of points from the right input then looks up the left input network tree and evaluates any expressions found. The expressions return values which are only valid for that copy instance. Copy then generates an instance at the point location with those values. It repeats that process for every point on the right side input. If there is no right side input then the point list is generated from the parameters in the Copy panel.

 

You may want to check out the example file at this link which compares Copy vs. Instancing and the speed difference.

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...