Jump to content

Little help for lsystem....


jingaa

Recommended Posts

Hello guys, i was working on a kind of procedural tree but i couldnt figured it out something.... If you guys check the picture i wanna control the angle with slider. ın rule1 there is an angle which is (137.5) so i wanna add a slider and control that angle with a slider. Is anybody has an idea about what i can do for that?

 

Thanx

post-12199-0-93807500-1426077683_thumb.j

Link to comment
Share on other sites

L-systems uses it's own rules so can't use regular Houdini expressions as is.

 

You can add additional single character variables in the Values tab. Give it a unique variable name (can't conflict with existing variables) and you then have a value slider to work with. Just use that string variable name in your rules and it will be substituted with your value as the rules expand.

 

It will behave like any other l-system variable as well.

 

Hope that helps.

Link to comment
Share on other sites

that didnt work actually.... i have tried that. i tried same method like `chs("different_paramater")` 

 

Did you check if the value of chs() is expanding correctly by pressing the middle mouse button ("Expand String Value")?

 

I believe the rule is incorrect not your channel reference.

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