Jump to content

L-system bug?


mentor

Recommended Posts

I'm studying l-systems in Houdini and trying to make realistic plants :)

post-1429-1207800186_thumb.jpg

and animated branch - movie, 300 kb

hip - lsys_branch_01.rar

So, lets go back to L-systems bug. When i'm trying to stamp any parameter from f.e. leaf J node to nested L-system - Houdini (9.1.179) crashing...

So, 1-st L-system:

->A

->A=~(10)F/(137)[++FJ(1)]~(10)A

2-nd L-system connected to J-input:

->A

->A :t<=b=~(10)F~(10)A

This is very simple example:

post-1429-1207800700_thumb.jpg

But when i'm trying to set number of generations in 2-nd L-system through stamping - Houdini crashes.

1-st L-sys:

->A(0)

->A(i)=~(10)F/(137)[++FJ(1,0,i)]~(10)A(i+1)

2-nd L-sys the same as before, but i stamped "i" value to generations parameter - stamp("../lsystem1", "lsys", 0)

->A

->A :t<=b=~(10)F~(10)A

Stamping work well with the sphere, but doesn't work with nested L-systems... :(

post-1429-1207801113_thumb.jpg

This is hip file - lsystems_05.rar

Edited by mentor
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...