asuter Posted March 15, 2014 Share Posted March 15, 2014 Hi everyone, Sorry for the remedial questions. Still new to the Houdini coding world. I have a long vector of ordered positions in space (Houdini calls these Vertices? Is that true?), I also have per-face index information (What I think Houdini calls Points), as well as some normals and UVs. All of these collectively defining a single polygonal surface. From this: http://www.sidefx.com/docs/hdk13.0/hdk_geometry_intro.html It seems that I need to populate the Point Index Map, the Vertex Index Map, the Primitive Index Map, and the Primitive List. Where my primitives represent the faces of the polygon. Does anyone have an example of code that does this? I'm then going to shove that GU_Detail in as a member of a packed prim, but that's a story for another day... Thanks for any tips, Alex Quote Link to comment Share on other sites More sharing options...
edward Posted March 15, 2014 Share Posted March 15, 2014 There's a complete example on how to add a new polygon from scratch in the HDK docs http://www.sidefx.com/docs/hdk13.0/_h_d_k__geometry__intro.html#HDK_GeometryIntro_AddingPrimitive Quote Link to comment Share on other sites More sharing options...
symek Posted March 18, 2014 Share Posted March 18, 2014 These new HDK doc pages look great! 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.