Jump to content

Offset Carve SOP Growth


JAMES2503

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

Link to comment
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
Link to comment
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

Link to comment
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

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