haggi Posted March 24, 2020 Share Posted March 24, 2020 Hi, I export particles from my particle sim from Houdini as an Alembic file. Some attributes have three floats instead of vector or color, e.g. pprevious, targetv, all the attributes which are 3flt and have no further description. If I now try to read these attributes in my Maya plugin, I can see that they are defined as float arrays instead of vector arrays. Usually in alembic a vector or color is exported as a float array (one for each point) attribute with extent 3, in the mentioned cases the attribute is exported as float array with extent 1: vector attribute like position or color: float extent 3 attribute len = 1 3 floats attribute like pprevious, targetv: float extent 1 attribute len = 3 This makes it complicated to read these attributes correctly. Of course I could convert all of these attributes to vector before export, but this seems not to be the correct way, I'd prefer to find a way to read these attributes correctly. Does anyone has an idea how I could find out the correct type from alembic API? Quote Link to comment Share on other sites More sharing options...
haggi Posted March 24, 2020 Author Share Posted March 24, 2020 Okay, I found it in the Houdini plugin in the alembic repository. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.