Hi,
I can't figure out how to get the number of points of each curves in my SOP.
If the geo part is a polymesh, HAPI_GetFaceCounts() is giving me this information.
But if the geo part is a curve, it does nothing.
HAPI_CurveInfo got a vertexCount, but it returns just the first curve point count.
My geo got several curves with different point count, so I need more than that.
Is there something like HAPI_GetPointCountPerCurve() ?
Thanks
Guillaume
Getting Curve point count
3726 1 0- v2n
- Member
- 62 posts
- Joined: May 2006
- Offline
- dpernuit
- Staff
- 553 posts
- Joined: Sept. 2016
- Offline
Hi Guillaume,
HAPI_GetCurveCounts() should be what you're looking for:
http://www.sidefx.com/docs/hengine16.0/_h_a_p_i_8h.html#ae71455a0af5af8e1538b55ed27df676e [www.sidefx.com]
HAPI_GetCurveCounts() should be what you're looking for:
http://www.sidefx.com/docs/hengine16.0/_h_a_p_i_8h.html#ae71455a0af5af8e1538b55ed27df676e [www.sidefx.com]
-
- Quick Links