Hi I have question regarding PointInstancers
.
I want to create multiple-apply API for PointInstancer
. When this API is applied to PointInstancer
I need to have possibility to control every single instance separately and for example change instance position. Everything is OK until instancers are nested.
So lets say I have Instancer1
and Instancer2
. Instancer1
is parent of Instancer2
, so it simply duplicates all instances from Instancer2
identically - I only have control where duplicates will be, I cannot control instances positions from Instancer2
. It makes great sense, it is logical and fast.
But now I need to pick and affect single instance like all these instancers were one, not nested, PointInstancer
.
I thought I can do PointInstancers
flattening in HdSceneIndex
, but there I can’t get all APIs applied to a prim - or maybe I just don’t know how.
Have someone any idea how I can achieve what I described? Is a HdSceneIndex
a way to go?