mattd Posted May 21, 2007 Share Posted May 21, 2007 is there any SOP or VOP that that can output the center of curvature for a curve at a given point along the curve? This function would be equal to maya's pointOnCurveInfo node. The math for this is a bit beyond me... Thanks, MD Quote Link to comment Share on other sites More sharing options...
Jason Posted May 21, 2007 Share Posted May 21, 2007 Sure, you can either use the Measure SOP and output curvature as attributes on geometry, or use the "curvature" expression: /obj -> exhelp curvature float curvature (string, float, float, float) usage curvature(<<SOP>>, <<prim_num>>, <<u>>, <<v>>) Evaluates the curvature of the surface at the parametric (u,v) location. u and v are unit values, defined in the [0,1] interval. NOTE: if the primitive is a mesh, u and v are defined in terms of its number of rows and columns. related - unituv - primuv - primduv - normal Quote Link to comment Share on other sites More sharing options...
mattd Posted May 21, 2007 Author Share Posted May 21, 2007 perfect!, Thank you MD Sure, you can either use the Measure SOP and output curvature as attributes on geometry, or use the "curvature" expression: /obj -> exhelp curvature float curvature (string, float, float, float) usage curvature(<<SOP>>, <<prim_num>>, <<u>>, <<v>>) Evaluates the curvature of the surface at the parametric (u,v) location. u and v are unit values, defined in the [0,1] interval. NOTE: if the primitive is a mesh, u and v are defined in terms of its number of rows and columns. related - unituv - primuv - primduv - normal 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.