Jump to content

Can chramp shape be animated / controlled by a audio (spectrum chop)


Recommended Posts

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.

 

 

 

Link to comment
Share on other sites

@crispr_boi here you have 3 ex ..for one of them you must have HMT..Have fun and post your final result.:rolleyes:

 

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 by Librarian
Link to comment
Share on other sites

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 by crispr_boi
forgot something
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...