Neowuf Posted December 4, 2018 Share Posted December 4, 2018 Hi ! I'm trying to rotate clumps using vex, I'm new into Houdini closest I could get is using this vex code from konstantin magnus on "how to rotate faces along Normal?" topic, but the clump rotates on the wrong axis =( I want achieve the results in this video at 17:32 (Hair FX in Houdini - GDC 2017 Talk) where Saber Jlassi does some really great twists on the clumps. https://vimeo.com/sabervfx/hairfx#t=1054s Here is the file scene ! ClumpStudies.hipnc Quote Link to comment Share on other sites More sharing options...
lobao Posted March 16, 2020 Share Posted March 16, 2020 I am also looking for this solution. Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted March 16, 2020 Share Posted March 16, 2020 Hi José, you can twist curves around other curves by rotating lots of copied cone lines using noise on a rotate VOP. Then transfer those twisted curves to the position and orientation along other curves based on transformation matrices from the orient along curves-node. float u = 1.0 - vector(relbbox(0, v@P)).z; int copy = prim(0, 'copynum', i@primnum); matrix trans = primuv(1, 'transform', copy, u); v@P.z = 0.0; v@P *= trans; twist_around_curves.hipnc 3 3 Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted March 16, 2020 Share Posted March 16, 2020 I dialed in the numbers so it resembles hair a little more. twist_around_curves_HAIR.hipnc 2 1 Quote Link to comment Share on other sites More sharing options...
kkk1469 Posted June 3, 2022 Share Posted June 3, 2022 SOOOO GOOD~ THANKS A LOT 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.