strages Posted August 17, 2012 Share Posted August 17, 2012 Dear community, Having imported an illustrator .ai file ( say for example a spiderweb ), I want to let it grow from the center. However the spiderweb is imported (this can't be changed) now i have a lot of lines, points primitives vectors etc. How can I grow them like with the carve tool but really from the center. right now i made a construction with various carve sops, however for each web, every line begins at the same time, wherever it starts. Also i want all lines to grow in the same direction as they are randomly growing in direction ( i know i can change this by reversing u and v with a prim node, however i haven found a procedural way to select only those going in the wrong direction) help is appreciated! thank you! Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted August 17, 2012 Share Posted August 17, 2012 Can you post the AI file? I'd like to give a crack at it. Quote Link to comment Share on other sites More sharing options...
zarti Posted August 18, 2012 Share Posted August 18, 2012 .. .. . How can I grow them like with the carve tool but really from the center. .. hi , i believe you somehow you have to rebuild the web in houdini so the Carve SOP can do what you want . with rebuild i mean clean prims but keep points with some attribs maybe to later reconnect those and bring back original design . at least that is wat i did lately in a similar situation .. carve seems to respect vertices . .cheers Quote Link to comment Share on other sites More sharing options...
strages Posted August 20, 2012 Author Share Posted August 20, 2012 (edited) Can you post the AI file? I'd like to give a crack at it. Hey thanks for your time, however I can't post the ai file as it is not mine to share ( part of the project at the company i work at ) Edited August 20, 2012 by strages Quote Link to comment Share on other sites More sharing options...
strages Posted August 20, 2012 Author Share Posted August 20, 2012 hi , i believe you somehow you have to rebuild the web in houdini so the Carve SOP can do what you want . with rebuild i mean clean prims but keep points with some attribs maybe to later reconnect those and bring back original design . at least that is wat i did lately in a similar situation .. carve seems to respect vertices . .cheers cheers indeed I got a clean import of the data out of illustrator. However rebuilding is hard, because if i delete all primitives and only have points and so left. Houdini doesn't know which points to connect. got an idea maybe: to sort primitives on some sort of proximity to the middle. ( as in a board to shoot arrows in to at archery ) and then use the carve tool setup i made.. will try! Quote Link to comment Share on other sites More sharing options...
zarti Posted August 20, 2012 Share Posted August 20, 2012 cheers indeed I got a clean import of the data out of illustrator. However rebuilding is hard, because if i delete all primitives and only have points and so left. Houdini doesn't know which points to connect. got an idea maybe: to sort primitives on some sort of proximity to the middle. ( as in a board to shoot arrows in to at archery ) and then use the carve tool setup i made.. will try! here i did something .. - in my file 'imported_web' node assumes that it is the imported vector file in the network . - before playing with carve_Final , try the carve_test node - the re-building procedure appears more simple than i thought ( black netbox ) -- -- zpiderWebCarvedFromCenter.hipnc ( H11 file ) -- hope this works for you too .. .cheers 1 Quote Link to comment Share on other sites More sharing options...
Ole Posted August 21, 2012 Share Posted August 21, 2012 cheers indeed I got a clean import of the data out of illustrator. However rebuilding is hard, because if i delete all primitives and only have points and so left. Houdini doesn't know which points to connect. To circumvent this, perhaps you could group your primitives using partition (or assemble sop) and run the sort and rebuild within a for-each sop based on groups. Quote Link to comment Share on other sites More sharing options...
stabby Posted August 23, 2012 Share Posted August 23, 2012 (edited) This should work with arbitrary geo. The nodes you might have to tweak are in yellow. Pick you start points with ROOTS, adjust the max number on GET_DISTANCE so the mesh has no yellow, and use the Distance channel on ANIMATE to carve away the mesh. There are three carve nodes because sometimes just using one doesn't totally cut all the poly edges into separate prims - three usually does the job. The network relies on every prim having only two vertices. Also, there are occasions when an edge should be carved away from both ends, this network doesn't deal with that. Instead, the edge will be carved from one end only, but too quickly... carve.hip ps. to make it grow, not shrink, change the expressions in delete1 to $CUT == 0, and delete2 to $MAPU > $CUT Edited August 23, 2012 by stabby 1 Quote Link to comment Share on other sites More sharing options...
petz Posted August 23, 2012 Share Posted August 23, 2012 This should work with arbitrary geo. The nodes you might have to tweak are in yellow. Pick you start points with ROOTS, adjust the max number on GET_DISTANCE so the mesh has no yellow, and use the Distance channel on ANIMATE to carve away the mesh. There are three carve nodes because sometimes just using one doesn't totally cut all the poly edges into separate prims - three usually does the job. The network relies on every prim having only two vertices. Also, there are occasions when an edge should be carved away from both ends, this network doesn't deal with that. Instead, the edge will be carved from one end only, but too quickly... carve.hip ps. to make it grow, not shrink, change the expressions in delete1 to $CUT == 0, and delete2 to $MAPU > $CUT nice one! here is another try. petz carve1.hip 4 Quote Link to comment Share on other sites More sharing options...
Joker386 Posted August 28, 2012 Share Posted August 28, 2012 You can use point Clouds ! Resample your Web's curve to make too many point near together. put center point in group for example Group1. use point clouds and dop network to put neighbor points in the group1 in each frame. delete points except group's points. for learn to use point cloud see cmiVFX tips and tricks 4 tutorial . 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.