Jump to content

Recommended Posts

So I have a few curves (in attached GIF) and they all start at the same time and grow using the carve SOP.

I'd like them all to start at different times but from their original positions, (no randomness) just a simple offset.

I don't want to do it for each curve manually, is there an expression I can use?

 

 

wire growth gif.gif

Share this post


Link to post
Share on other sites

Thanks for this!

It doesn't quite do what I want though as they all start at the same time, I want them to start at different times

Cheers

Share this post


Link to post
Share on other sites

You can use the carve and time offset inside a for each and use the metadata to offset each prim. Here is an example. 

 

2018-03-02_08-12-11.gif

CarveOffset.hipnc

Share this post


Link to post
Share on other sites

Brilliant, just what I was looking for! Cheers!

Just a quick question, in my carve SOP, I have the expression: @Time/7 - detail(-1, "iteration", 0)/18.5

This generates a nice growth but I want it to have bezier like smooth interpolation between the start and end points, how would I add this to the expression?

Edited by JAMES2503
wrong expression, oops

Share this post


Link to post
Share on other sites

Hi , Jim!

Actually , there is a function in houdini's include files.   it's called adjustPrimLength.

so, what you need to do is , in a primtive wrangle, call the function ,like below:

 

the nice thing is , each curve can has a different f@dist attribute , so they can grow differently.  Code like this : adjustPrimLength(0, @primnum, @perimeter, @perimeter*@dist);

 

712917-20161026174313875-1134569247.png

Share this post


Link to post
Share on other sites

Thank Pangzi, appreciate the input.

Got another question (yes I'm newish to Houdini) 

I need a solution to push intersecting wires away from each other. I have both the curves and polywire setup, I thought of a solution in VOPs but it didn't quite work.

See below, cheers guys

 

Untitled-1.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×