hatrick Posted March 4, 2011 Share Posted March 4, 2011 hello, any ideas how i could offset ALL points off a curve at the same time....goal is to transform multible objects exactly along a path without using a popnetwork... thx HT Quote Link to comment Share on other sites More sharing options...
pclaes Posted March 4, 2011 Share Posted March 4, 2011 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... Quote Link to comment Share on other sites More sharing options...
hatrick Posted March 4, 2011 Author Share Posted March 4, 2011 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... Quote Link to comment Share on other sites More sharing options...
pclaes Posted March 4, 2011 Share Posted March 4, 2011 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 Quote Link to comment Share on other sites More sharing options...
hatrick Posted March 4, 2011 Author Share Posted March 4, 2011 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.