Jump to content

offset points on curve


Recommended Posts

Are there a lot of points? What happens when the point reaches the end of the curve?

You could use a carve in a foreach and extract points. Use the FORVALUE to offset the "u" parameter and extract the points.

if you would have 10 points on the curve and lets say all those points are scattered between 0 and 0.1 you would have:

clamp(fit(FORVALUE,0,9,0,0.1)+offset,0,1) -> your points will bunch up at the end of the curve though.

You can then rebuild the curve with an add sop if you need a curve...

Link to comment
Share on other sites

thank you peter!,

i'm searching for a mograph like effect (c4d) where the instance tag (similar to the copySOP) has an offset parameter. So the points disappear afer reaching the end of the spline and the count starts from 0 at the beginning... as i have no experience with foreachoperations would it cost you much time to set up a little example ?

greets

HT

Are there a lot of points? What happens when the point reaches the end of the curve?

You could use a carve in a foreach and extract points. Use the FORVALUE to offset the "u" parameter and extract the points.

if you would have 10 points on the curve and lets say all those points are scattered between 0 and 0.1 you would have:

clamp(fit(FORVALUE,0,9,0,0.1)+offset,0,1) -> your points will bunch up at the end of the curve though.

You can then rebuild the curve with an add sop if you need a curve...

Link to comment
Share on other sites

thank you peter!,

i'm searching for a mograph like effect (c4d) where the instance tag (similar to the copySOP) has an offset parameter. So the points disappear afer reaching the end of the spline and the count starts from 0 at the beginning... as i have no experience with foreachoperations would it cost you much time to set up a little example ?

greets

HT

I'm not really familiar with mograph (if you have a youtube video or something showing what it is exactly that you need, that might help to clarify).

Here you go. You can use a trail sop as well with a carve sop and simply trail the other points behind it. Once you get into foreach land it's not that difficult, but it gets slow with lots of iterations.

pts_on_curve_01.hip

Link to comment
Share on other sites

great thanks!

I'm not really familiar with mograph (if you have a youtube video or something showing what it is exactly that you need, that might help to clarify).

Here you go. You can use a trail sop as well with a carve sop and simply trail the other points behind it. Once you get into foreach land it's not that difficult, but it gets slow with lots of iterations.

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