Packed Geometry name attribute puzzle

   4537   2   1
User Avatar
Member
125 posts
Joined: June 2008
Offline
Hi everyone

I have been strugling with a very strange behaviour of the name attribute being passed over primitves or not when unpacking.

When a copy sop is packing geometry and then the name attribute is writen with a attribwrangle (or a simple adattribute) this name attribute is not transfered to the corresponding primitives when unpacked.

When a copy sop is not packing geometry and then the paxked geometry and the name attribute are handled with an assemble this name attribute is transfered to the corresponding primitives when unpacked.

Third case following the second setup, when the name attribute value is overided with aan attribWrangle the original value is retrieved when unpacking????

Well it seems to me that the real name attribute is hiden somewhere in the guts of the packed geo but should not we have acces to this name and be able to update it and be abble to retrieve it properly when unpacking?


Any thought, wisdom or even wizardry to help me out?

THX

Attachments:
PackedGeoNamePuzzle.hipnc (93.6 KB)

User Avatar
Member
9384 posts
Joined: July 2007
Offline
without looking at the file:

no wizardry
sadly Unpack SOP currently doesn't transfer any attributes back, so no name attribute from packed points is transferred to unpacked geo, as you experienced with packed copies

the assembled name attribute is simply packed inside (if Create Name Attribute is on or if it has existed on geo before)
so assemble creates primitive name attribute on original pieces, then pack them and creates another point name attribute for pieces

if you unpack that, the name on points of packed prims is lost and all you can see is the name attribute that existed on prims of geometry that was packed inside, therefore it can differ from your modified name
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
125 posts
Joined: June 2008
Offline
Thanks alot Tamte for this very fast and effective response…

Y will pack myself now

Thanks again…


MK
  • Quick Links