Josh Eason Posted July 9, 2011 Share Posted July 9, 2011 Hello, I was wondering if anyone knew if it was possible (or not) to instance geometry on a step forward (the F variable) using L-systems in the same way that leaves or flowers can be instanced for the variables J, K, L, and M. Anyone have any ideas? Thanks! Quote Link to comment Share on other sites More sharing options...
Matt_K Posted July 10, 2011 Share Posted July 10, 2011 (edited) Hey Josh, Just a rough idea - not able to test it right now, but what about grouping any points in the F, and then instance/copy stamp onto those points? From the houdini help: Create groups within L-systemsThe g command puts all geometry currently being built into a group. The group name is composed of a prefix set on the Funcs tab and a number. Default prefix is lsys, producing group names like “lsys1”. You can specify the number as an argument to the g command. For example, g[F] puts geometry from the F into a group (named using ). Otherwise, the default index is incremented appropriately. The current group is associated with the branch, so you can do things like gF [ gFF ] F to put the first and last F into group 0, and the middle (branched) FF into group 1. To exclude a branch from its parent’s group, use g(-1). Hope that helps, Matt. Edited July 10, 2011 by Matt_K Quote Link to comment Share on other sites More sharing options...
Josh Eason Posted July 15, 2011 Author Share Posted July 15, 2011 Hey Josh, Just a rough idea - not able to test it right now, but what about grouping any points in the F, and then instance/copy stamp onto those points? From the houdini help: Hope that helps, Matt. Hey thanks, I'll give it a try and will let you know. Quote Link to comment Share on other sites More sharing options...
eetu Posted July 19, 2011 Share Posted July 19, 2011 I was wondering if anyone knew if it was possible (or not) to instance geometry on a step forward (the F variable) using L-systems in the same way that leaves or flowers can be instanced for the variables J, K, L, and M. Why not just embed a J into the rule, in front of (or after) the F you want to instance to? It doesn't move the turtle or interfere with the system in any way. J/K/L/M do not have to be at the extremities of the system. 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.