crispr_boi Posted March 25, 2022 Share Posted March 25, 2022 How can we control the shape of a chramp (created in a point wrangle) with a spectrum chop and therefore animate the shape? I already posted a question related to this, but maybe it was worded confusingly or seemed difficult..as no one answered. So I am asking generally, alternative solutions are welcome. Quote Link to comment Share on other sites More sharing options...
Librarian Posted March 25, 2022 Share Posted March 25, 2022 (edited) @crispr_boi here you have 3 ex ..for one of them you must have HMT..Have fun and post your final result. RampattributsChop.hiplc and you get some answer elsewhere with spare parm import random node = hou.node("../pointwrangle1") # has a ramp spare parameter called "r" on it geo = node.geometry() random.seed(hou.frame() + 123) a = random.uniform(0, 1) # get your chop value here somehow r0 = node.parmTuple("r1value") r0.set([a]) random.seed(hou.frame() + 456) b = random.uniform(0, 1) r1 = node.parmTuple("r2value") r1.set([b]) Edited March 25, 2022 by Librarian Quote Link to comment Share on other sites More sharing options...
crispr_boi Posted March 27, 2022 Author Share Posted March 27, 2022 Thank you! I wlil take a look at it! Quote Link to comment Share on other sites More sharing options...
crispr_boi Posted March 28, 2022 Author Share Posted March 28, 2022 (edited) So, I installed the HMT toolset, it seems like I can create the HMT nodes without issues. But when opening your file, everything on the left in "do operation with standard point attributes" does not cook, because of errors. So the example on the left doesn't work for me. And the examples on the right seem to work well, but I am not good enough to understand it and combine it my setup, I'm afraid. I appreciate your help Tesan, but your setup is too advanced or confusing for me to combine with my setup, sorry. One day.. Is this VEX code in your post somewhere in the file? I couldn't find it.. Would you tell me where it is, or where you find it and what it does? Edited March 28, 2022 by crispr_boi forgot something Quote Link to comment Share on other sites More sharing options...
crispr_boi Posted March 28, 2022 Author Share Posted March 28, 2022 I would like to know, how to animate the chramp's shape (in the linked post), with the spectrum chop. Like how do I get the spectrum chop's value there? Quote Link to comment Share on other sites More sharing options...
crispr_boi Posted March 28, 2022 Author Share Posted March 28, 2022 Quote Link to comment Share on other sites More sharing options...
Librarian Posted March 28, 2022 Share Posted March 28, 2022 @crispr_boi this its your question or LINK its python Quote Link to comment Share on other sites More sharing options...
crispr_boi Posted March 28, 2022 Author Share Posted March 28, 2022 Oh! I didn't see that yet. That was my post indeed. Thank you! Quote Link to comment Share on other sites More sharing options...
crispr_boi Posted April 1, 2022 Author Share Posted April 1, 2022 @Librarian I am not good enough to use their advice in my setup. I don't know how to modify the Python code to use it in my setup. I tried it, but failed. I also don't understand how to feed the chopnet data into the setup. Quote Link to comment Share on other sites More sharing options...
crispr_boi Posted April 3, 2022 Author Share Posted April 3, 2022 @Librarian someone posted a solution to my original post on OdForce, if you want to have a look. 1 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.