Jump to content

Metaballs - scaling with age


crovfx

Recommended Posts

Hi everyone,

firstly I would like to say that I've seen some truly wonderful work on this forum and as a transferring Maya -> Houdini artist many times I was left in awe; Houdini truly is a way of thinking. For now I had more luck drawing on my shake node based experience than on years of actively using Maya :blink: Now I am presented with a problem of creating a dusty trail; I went through the fx tools heavy smoke setup but I still do have a question because I am not clear on this:

How to scale the metaballs radius based on particle's age. I have some ideas, but again, my knowledge of Houdini operators is still very limited so I'll better keep quiet :unsure: .

Also, what would be the recommended way of shading the metaballs once the motion is done, taking into account life opacity etc.

Thank you everyone and hopefully one day I'll be in the position to return the favour :)

Best regards.

- P.S. - All Maya fluids, FumeFX & Realflow questions are welcomed (willing to send you a setup if necessary).

post-3796-1210254921_thumb.jpg

Link to comment
Share on other sites

hey crovfx

welcome to odforce, glad u like the tool :)

regarding the scaling issue, the trick here is too use the $LIFE in the pscale variable.

and u can do this with the point sop.

so basically, place a point sop after ur particle sim and before ur copy sop, and make sure u have the pscale parameter set too $LIFE.

post-585-1210255902_thumb.png

post-585-1210255894_thumb.png

post-585-1210255844_thumb.png

an alternative would be using 1-$LIFE or any function that uses $LIFE as a lookup to modify the scale.

alternatively, take a look at the particle fluid surface SOP, thats great for surfacing fluids :)

hope this helps

brian

Link to comment
Share on other sites

Hi Illusionist,

thank you for your very fast reply; it worked like a charm and I am in debt. Really I mean it, anytime you have any questions in connection to any Maya stuff I will share my experience and do my best to try and return the favour :)

Kind Regards,

crovfx

Link to comment
Share on other sites

Hi Illusionist,

thank you for your very fast reply; it worked like a charm and I am in debt. Really I mean it, anytime you have any questions in connection to any Maya stuff I will share my experience and do my best to try and return the favour smile.gif

As an initial favour you could start by calling him aracid instead of illusionist, hahah ^_^

Keeping on with what aracid was hinting and taking into account his Houdini knowledge swiftly kicks my a$$ anytime, you would do a great favour to yourself if you work into the concepts of variables and attributes as solely those concept will make half of the way for you in your Maya-Houdini transition. Most SideFx tutorials use them as it

Edited by Netvudu
Link to comment
Share on other sites

He, he...Illusionist...unbeliavable how long has it been since I've actively participated on a forum; growing old I guess - can't differentiate between ranks and usernames :blink:

Thank you for the advice Netvudu; gotta swing by your tavern for an ale :P

All best

Link to comment
Share on other sites

regarding the scaling issue, the trick here is too use the $LIFE in the pscale variable.

You might also consider using chf("../lookup"($AGE*$FPS) instead of life.

I often find that during the course of a shot I have to

change the life span of my particles. This will

change the value of $LIFE as it will adjust to the new

lifespan. If I use $AGE*$FPS you won't have this problem.

chf() is an expression that looks into another channel at

a specified frame to retrieve a value. It's kind of

like set driven key in maya. type:

exhelp chf()

in a texport to get the details.

usually I'll just make a spare channel called "lookup" and

refer to that. Another advantage of doing it

this way is that you can control the "falloff" of

your pscale.

hope that helps

Link to comment
Share on other sites

  • 2 weeks later...

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...