How can you control the number of parts as well as what is contained in each part from an HDA?
Right now we have an HDA that uses a merge to combine a point cloud and some geometry. When we call HAPI_GetDisplayGeoInfo it only results in one part which appears to be just the geo (not including the point clouds.)
If I export the scene as a HIP, I can see both the point cloud and geo in the viewport as well as the spreadsheet.
More than one part from HAPI_GetDisplayGeoInfo?
3908 1 0- LithLoren
- Member
- 13 posts
- Joined: 6月 2018
- Offline
- sburrichter
- Member
- 23 posts
- Joined: 4月 2013
- Offline
Link to the parts documentation. [www.sidefx.com]
It's been a while since I touched this, but you'll need to create primitive groups to do it. So one for the geometry itself, and another for the point cloud. Then you should be able to iterate through the parts and determine which is the geo and which is the point cloud.
It's been a while since I touched this, but you'll need to create primitive groups to do it. So one for the geometry itself, and another for the point cloud. Then you should be able to iterate through the parts and determine which is the geo and which is the point cloud.
-
- Quick Links