Jump to content

l-system modeling problem


AlexP

Recommended Posts

Hello

I'm trying to find a solution to one problem with l=system.

I'm trying to make cuts in the tree.

For example, I have a tree height of 20, I need to make 20 cuts in it, to get 20 individual pieces. I do not know how to write it an L-Systems and is it possible at all. Of course I could just model tree and make cuts, but it not a good way. thank you and sorry for my english.

post-5169-131974187157_thumb.jpg

Link to comment
Share on other sites

Hey,

Can you attach your scene file?

Hello

I'm trying to find a solution to one problem with l=system.

I'm trying to make cuts in the tree.

For example, I have a tree height of 20, I need to make 20 cuts in it, to get 20 individual pieces. I do not know how to write it an L-Systems and is it possible at all. Of course I could just model tree and make cuts, but it not a good way. thank you and sorry for my english.

Link to comment
Share on other sites

Two ways I can think of:

As you grow the tree, you can put each section of the trunk in to a different group or assign an attribute and increment it per piece you wish to isoate. After the l-system, it is trivial to isolate each section either by attribute or group and then using a Divide SOP, extract the edges to get your cross-section profiles.

See the help on the l-system SOP to get the rule to create groups and attributes:

http://www.sidefx.com/docs/houdini11.1/nodes/sop/lsystem

Edited by old school
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...