B.Walters Posted November 22, 2006 Share Posted November 22, 2006 I need to segment a curve (poly or nurbs) into multiple primitives. By default, a curve is just a single primitive. My ultimate goal is to birth particles from a curve weighted by an attribute. The Source POP will do this for me automagically, except it requires the distribution weight attribute to be of primitive type. Any ideas? Quote Link to comment Share on other sites More sharing options...
edward Posted November 22, 2006 Share Posted November 22, 2006 Does the Carve SOP work? Keep both inside and outside. Quote Link to comment Share on other sites More sharing options...
B.Walters Posted November 22, 2006 Author Share Posted November 22, 2006 Does the Carve SOP work? Keep both inside and outside. All too well! Thanks Edward! And for anybody else whose curious, here's an alternative solution I just discovered: 1-resample the curve 2- point the normals for each point on the curve to it's neighboring point 3- delete the last point 4- copy a line segment that's pointing down the +Z axis onto each point. The length of the line segment should be equal to the length of the resample. This method is a bit rough on the edges (a few over-hanging points), though. Quote Link to comment Share on other sites More sharing options...
kubabuk Posted November 22, 2006 Share Posted November 22, 2006 Hi there, Here it is a quick otl to do that. Cheers Kuba kuba_curve_segmentation.otl 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.