Jump to content
pasto

merging several curves into one ?

Recommended Posts

Hello,

 

Is there a way to merge several curves into one, I mean consider several segments as one, without physically connecting them (like the join sop is doing).

I am quite stuck on this.

Many thanx

Share this post


Link to post
Share on other sites

I'm not sure I understand what you're looking for?

You want them as one, without connecting them ?

Share this post


Link to post
Share on other sites

Yes, I just need to use a carve SOP on all them at once, not segment by segment. Thanx a lot.

Share this post


Link to post
Share on other sites

Thx, I just don't need them to connect, just being considered as one multi segment curve with coherent point number.

Let's say you just merge two curves together (each one with 10 points) , the result is 2 primitives with one general point numbering from 0 to 19, which is nice, but the carve SOP is dealing with the 2 primitives and cutting them as two separated objects. I would like the carve to act like it was dealing with one curve with gaps, jumping from one segment to another.

Sorry if I am not clear, thanx a lot for your answers.

Share this post


Link to post
Share on other sites

Wow, thx for the wiki paper, very interesting.

Thanx a lot f1480187, very clever, couldn't think it would so complex, I will study it carefully.

In cinema 4d there is a generator called Mospline that gets this option is someone in interessed.

Share this post


Link to post
Share on other sites

Hi, 

 

This is what I ended up with, I know this is way cleverless than your vex solution but it works somehow.

Thanx.

Mosplinelike.hiplc

Edited by pasto

Share this post


Link to post
Share on other sites

I couldn't take a look at the posted scenefiles, but you could try to group all existing points/edges, connect curve ends by proximity, use carve for animation and then delete the connecting edges.

Share this post


Link to post
Share on other sites

I don't think you need to do any of that, just control your keyframes. When one carve stops, the next one starts. Kind of like After Effects sequential stroke.

 

multi-carve.gif

ap_multi-curve_carve.hipnc

Edited by Atom
  • Like 1

Share this post


Link to post
Share on other sites

Here's another approach.. also using VEX.

The idea is to divide 1 with the number of line primitives, and modulo those to get a repeatable range that I could use for carving each primitive.

Concept sketch:
multi_slice_concept.jpg

multi_carve.gif

Houdini Indie 15.5.607

Mosplinelike_v2.hiplc

Edited by galagast
  • Like 4

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

×