Jian Wang
jasonwang0421
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Cook option `splitGeosByAttribute` hide point cloud output June 20, 2025, 12:01 a.m.
I'm working with Houdini 20.5.370 and Unity. My porject is using `splitGeosByAttribute` cook option for split parts in geo.
My cook option is set by HAPI as following:
When I want to follow the document PointInstancing [www.sidefx.com] to make Prefab instancing, I found the partCount for output HAPI_GeoInfo is 0 for points-only geometry. Then I tried to set `splitGeosByGroup` to true and disable `splitGeosByAttribute`, the partCount is 1, and I did get the points-only HAPI_PartInfo by HAPI as expected.
My sop network is quiet simple: grid -> scatter2 -> output, and no group or `splitAttrSH`(here is "xxxx") attribute is set, only "unity_instance" attribute is set for each point.
I want to know what makes this difference here, is this an expected feature? And what can I do to get the points-only part when `splitGeosByAttribute` is enabled ?
My cook option is set by HAPI as following:
HEU_HAPIFunctions.HAPI_SetCustomString(ref session.GetSessionData()._HAPISession, "xxxx".AsByteArray(), out int value); HAPI_CookOptions cookOptions = new HAPI_CookOptions { splitGeosByGroup = false, splitGroupSH = 0, splitGeosByAttribute = true, splitAttrSH = value, clearErrorsAndWarnings = false, cookTemplatedGeos = false, splitPointsByVertexAttributes = false, packedPrimInstancingMode = HAPI_PackedPrimInstancingMode.HAPI_PACKEDPRIM_INSTANCING_MODE_DISABLED, handleBoxPartTypes = true, handleSpherePartTypes = true, checkPartChanges = false, cacheMeshTopology = false, preferOutputNodes = false };
My sop network is quiet simple: grid -> scatter2 -> output, and no group or `splitAttrSH`(here is "xxxx") attribute is set, only "unity_instance" attribute is set for each point.
I want to know what makes this difference here, is this an expected feature? And what can I do to get the points-only part when `splitGeosByAttribute` is enabled ?