jerry7
May 7, 2024 22:45:17
Hi,
I import a detail attribute using sop import lop.
I notice that there is a empty indices attribute being created side by side.
What meaning about it?
Thanks!
tamte
May 8, 2024 03:45:06
should not be detail specific are you not getting it for point, prim, vertex attribute?
every custom attribute should give you separate :indices array, which is populated by indices if you import attribute as indexed primvar otherwise is empty, but it's important it is there in case you are layering nonindexed primvar over indexed one, as then it needs to zero out the indices array
jerry7
May 8, 2024 05:04:09
I used detail attribute. As my understanding, it is a single value, so Sop Import shouldn't create indices attribute. Maybe a bug?
mtucker
May 8, 2024 09:45:35
What @tamte says is correct, and it is true regardless of the type/interpolation of the primvar being authored, because we have no way to know what type/interpolation of primvar may be getting overwritten by this SOP-generated layer.