chaitanyakapu Posted June 21, 2010 Share Posted June 21, 2010 Hai , I am working on procedural generation of roads. The technique I am following is iterated subdivisions. At present I have a 10 * 10 grid with 2 rows and 2 columns. I resampled the edges such that I have 50 points on each edge.I need to select a random point on a random edge and then draw a line such that it bisects any other random point on the grid forming 2 polygons.Could any one please help me on how to achieve this in houdini....Thanks in advance.... iteratedSubdivisionsTest.hipnc Quote Link to comment Share on other sites More sharing options...
edward Posted June 22, 2010 Share Posted June 22, 2010 Add SOP will create a line segment between any two points you give it in its "Group" tab. Quote Link to comment Share on other sites More sharing options...
Fabiano Berlim Posted June 22, 2010 Share Posted June 22, 2010 A very simple example without expressions. Cheers randLine.hipnc Quote Link to comment Share on other sites More sharing options...
Fabiano Berlim Posted June 22, 2010 Share Posted June 22, 2010 Another example: Now you can find two points in the same geometry. 1 Quote Link to comment Share on other sites More sharing options...
Fabiano Berlim Posted June 22, 2010 Share Posted June 22, 2010 Another example: Now you can find two points in the same geometry. The file... sorry. randLine2.hipnc 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.