addeleijon Posted March 18, 2015 Share Posted March 18, 2015 Hello! does anyone know if it is possible (its houdini, ofcourse it is) to connect the root of an L-system to an object/point and the tips to another object/point? sort of like a lighting bolt between to different objects. I cannot seem to find any way of doing this, any help would be greatly appriceated! Quote Link to comment Share on other sites More sharing options...
michael Posted March 18, 2015 Share Posted March 18, 2015 you can copy an l-system to a point just as you would any other geometry - just make sure of your normals etc as for attaching the tips, no, I don't think so - you can however grow an l-system TOWARD a point in space see the docs -> Turtle Command Reference $(x,y,z): Rotates the turtle so the up vector is (0,1,0). Points the turtle in the direction of the point (x,y,z). Default behavior is only to orient and not to change the direction. you can use ch() expressions to set the x,y,z Quote Link to comment Share on other sites More sharing options...
kleer001 Posted March 18, 2015 Share Posted March 18, 2015 Maybe consider creating a line between those points, using that as the animated goal of a lattice with the base lattice being the line between the base and tip of your L-system. Basically bending and transforming it to where you want it. That's the Points tab of the Lattice SOP. First input is your lsystem, second is your base line, and third is your goal line between your objects. Quote Link to comment Share on other sites More sharing options...
pclaes Posted March 18, 2015 Share Posted March 18, 2015 Not quite point to point connections ( if you want that, you will have to build your own venation system -- look up some examples on vimeo or here), but something that is cool to do with lsystems is to creep them onto/over other surfaces. This works quite well - just make sure to resample the lsystem enough beforehand if you are planning on 'bending' it. 1 Quote Link to comment Share on other sites More sharing options...
addeleijon Posted March 19, 2015 Author Share Posted March 19, 2015 thanks for all the answers! I will try to get my head around the L-system today, if that doesnt work i think the easiest method would be to use curves that are branching from one main curve and then somehow make them grow along their on path Quote Link to comment Share on other sites More sharing options...
acey195 Posted March 20, 2015 Share Posted March 20, 2015 you can of course still use L-systems, if you allow it to stretch, you can just rotate/scale the result to fit between the start and end points. Otherwise you might consider the FindShortestPath SOP 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.