Hi,
I am trying to write a alembic file which I want to load in houdini.
I am able to successfully write a mesh and load it into houdini.
Now I want to an array of vectors as attributes on this OPolyMesh.
I am able to see the vector when I use the AbcLs tool and it shows up the expected hierarchy. But it does not show up in the prim tab of houdini.
the core part of the code which writes the property is as follows :
OObject rootObj( archive, kTop );
OXform transformObjTransform( rootObj, "geo1" );
OPolyMesh meshyObj( transformObjTransform, "primitivewrangle1" );
OPolyMeshSchema &mesh = meshyObj.getSchema();
OCompoundProperty properties = mesh.getArbGeomParams();
OV3fArrayProperty positions( properties, "positions");
std::vector<V3f> vals;
vals.push_back( g_vectors[0] );
vals.push_back( g_vectors[1] );
positions.set( vals );
I have attached the complete code and the output alembic file.
Please let me know what I am missing.
Thanks in advance