Named Point Instancer Prototypes mess up assignments

   1300   2   3
User Avatar
Member
120 posts
Joined: Jan. 2012
Offline
I use name attribute (or any string attrib) to name Point Instancer Prototypes.
But if I do, then shape assignment is random once point count number starts changing.
Its a simple Packed Geo to LOP worflow.
Am I missing something?

Attached hipnc

Thanks!
Edited by tas3d - June 4, 2021 16:41:50

Attachments:
Animation.gif (1.7 MB)
usddebug.hipnc (331.8 KB)

Michal Tas Maciejewski @ www.vfxtricks.com
User Avatar
Staff
4164 posts
Joined: Sept. 2007
Offline
In general, I try to be careful with @path and @name when going to/from LOPs; and these are packed prims, where you have name on the inside of the packed geometry, as well as on the outside. There could be a bug here, but it's hard to tell. If I change from using s@name to using s@foobar, the exported PointInstancer is stable again.

Were you seeing it not work if you used a different string attribute? Did you try using an integer attribute on the Copy to Points SOP?

Attachments:
usddebug_revised.hipnc (337.7 KB)

I'm o.d.d.
User Avatar
Member
120 posts
Joined: Jan. 2012
Offline
I agree with path/name attributes, they are interpreted at default in certain LOPs.

Even if I rename s@name to s@piece and use it as a Path Attribute in Import Configuration, I get unstable result.
Why I do it in the first place? I want Prototypes to have names from s@piece attrib.
Edited by tas3d - June 4, 2021 23:53:41

Attachments:
Screenshot 2021-06-04 234754.jpg (68.6 KB)
Screenshot 2021-06-04 234819.jpg (49.7 KB)

Michal Tas Maciejewski @ www.vfxtricks.com
  • Quick Links