Import detail attribute create indices?

   1386   3   0
User Avatar
Member
681 posts
Joined: 11月 2013
オフライン
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!

Attachments:
import detail.png (123.7 KB)

User Avatar
Member
9455 posts
Joined: 7月 2007
オフライン
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
Edited by tamte - 2024年5月8日 03:45:56
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
681 posts
Joined: 11月 2013
オフライン
I used detail attribute. As my understanding, it is a single value, so Sop Import shouldn't create indices attribute. Maybe a bug?

Attachments:
import detail.hipnc (107.3 KB)

User Avatar
スタッフ
4566 posts
Joined: 7月 2005
オフライン
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.
  • Quick Links