resonanz Posted November 10, 2010 Share Posted November 10, 2010 Hi all! I am trying to replicate the Carve-Sop on per primitive basis. Digging though the HDK Docs i found cutU and cutV. My code is as follow: GEO_Primitive *prim; GU_PrimNURBSurf *primNurbs; int ind1, ind2; prim = gdp->primitives()[0]; primNurbs = (GU_PrimNURBSurf *) prim; primNurbs->cutU(0, 1, ind1, ind2, 0); The problem is that nothing happens. The Primitive does not get cut whatever I fill in between the brackets after cutU. Can someone tell me what I am doing wrong? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
seth_ro18 Posted November 12, 2010 Share Posted November 12, 2010 What values have you tried for the "keep" input? "If keep is zero the curve is only refined and the indices updated." Quote Link to comment Share on other sites More sharing options...
resonanz Posted November 15, 2010 Author Share Posted November 15, 2010 What values have you tried for the "keep" input? "If keep is zero the curve is only refined and the indices updated." Hi Seth, I tried pretty much all combinations I could think about but the result was the same. Just to make sure: If I have some Nurbs Surfaces and I would like to cut or lets say carve the surfaces in two pieces, is GU_PrimNURBSurface->cutU and cutV the standard practice or is there a more common approach? Thanks! 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.