Jump to content

L_system_stamping


Recommended Posts

 

Hello all.  

I am doing some studies on L systems.  At this point I am trying to distribute a tree built from an l system across some scattered points generated from a grid.  I am using a copy sop for the distribution.  The issue is I want each l system "tree" to be a different seed of the l system and I can't figure out how to do this.     I can generate randomized trees within the confines of the copy sop itself---- I simply  use a stamp function, link this to the seed value in the l system, and each copy I make has a different seed.  Unfortunately this doesn't work when I am using the second input for the copy sop, and copying to preexisting locations.  I realize that this has less to do with L_systems than the nature of copy stamping in Houdini, but I am fairly new to the Houdini, so any advice about this specific situation and the rules of stamping would be helpful.  I have attached an example file.  Thank you.  

 

L_system_stamping.hipnc

Link to comment
Share on other sites

Thank you both.   Seems to me (at least via my understanding) that Atom's idea accomplishes in the script what you suggested.    It did not occur to me to stamp via a randomized point attribute I myself created though---really cool and straightforward----   Ill keep that concept in the tool box I am slowly trying to build.  

And about the copy sop--my apologies--a dumb mistake on my part that occured while I was trying to transfer the info into a cleaner file for your perusal.  

 

Cheers!---continuing on.  

 

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