Search - User list
Full Version: instance pos wrong
Root » Houdini Engine for Unity » instance pos wrong
ChenA
I use a heightfield_scatter to scatter some instance.
Because heightfield self contain two point,


when use

if (!HEU_GeneralUtility.GetArray3Arg(_geoID, _partID, HAPI_RSTOrder.HAPI_SRT, session.GetInstanceTransformsOnPart, instanceTransforms, 0, numInstances))

HEU_PartData.cs line 776
to get instance pos, the first two instance pos is zero.


Is this a bug or i set something wrong?
Thanks.
imskull
Same problem, I took hours to identity this bug, apparently, GetInstanceTransformsOnPart returns transforms started from ALL points regardless “part” index, as a workaround I have to add a “Sort” to have instanced point attributes sorted before other heightfield layers primitives.

I tested on Houdini 17.5.173, 18.0.287, all no luck. BTW, where can I report a bug to SideFX?
chrism
imskull
BTW, where can I report a bug to SideFX?

https://www.sidefx.com/forum/topic/38188/ [www.sidefx.com]
imskull
chrism
imskull
BTW, where can I report a bug to SideFX?

https://www.sidefx.com/forum/topic/38188/ [www.sidefx.com]

Reported, thanks.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB