Lukich Posted November 17, 2003 Share Posted November 17, 2003 Hi. I'm trying to create a lightning using L-system. However, the lightning presets are too fast, so I'm trying to find a way to slow them down. My question is - is there a way to set an if - else logic in L-systems? Or, to put it another way, if I say Premise FA, Rule1 A:t%10 = ~(45)FA. - what rules does the l-system use when this expression is false? Thanks a lot. Quote Link to comment Share on other sites More sharing options...
FrankFirsching Posted November 17, 2003 Share Posted November 17, 2003 Hi! If there is no rule, where the expression evaluates to true, Houdini doesn't replace the considered symbol. This means, that the growth will stop. If you want the shape of the lightning change slower, you can change the expression in the random-seed parameter (Geometry-tab) from $F to $F/10 for example. Since this is an integer-parameter this value won't change for 10 frames and the shape of the lightning will stay just as long. Quote Link to comment Share on other sites More sharing options...
Lukich Posted November 17, 2003 Author Share Posted November 17, 2003 Great! Thanks a lot, Frank! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.