Jump to content

Invert atributes and values


Korhon

Recommended Posts

Hi!

Im having troubles inverting atributes and values in houdini: Wondering what the general workflow for this is? Im guessing there is tons of ways doing this.

Lets say i have and particle scale atribute that i want to invert, (smal particles get big and bigones smal) How can i do this?

Thanks! :)

Link to comment
Share on other sites

Hi!

Im having troubles inverting atributes and values in houdini: Wondering what the general workflow for this is? Im guessing there is tons of ways doing this.

Lets say i have and particle scale atribute that i want to invert, (smal particles get big and bigones smal) How can i do this?

Thanks! :)

You would need the smallest and largest scale and then you can use the fit() expression. For example, if you want to use take the compliment of Pscale which has a min value of 2 and max value of 8 then it would look something like this.

fit($PSCALE, 2, 8, 8, 2)

Edited by SpencerL
  • Thanks 1
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...