Hello,
I'm trying to export a mesh with animation. For that I've copied a test example from git hub:
inside void optPropTest() it shows how to apply multiple samples on the OPolyMeshSchema but it creates a invalid mesh in maya with zero verts. If I comment line 333 than it works but I lose the animation:
for ( size_t i = 0; i < 2; ++i )
{
mesh.set( mesh_samp );
for ( size_t j = 0; j < g_numVerts; ++j )
{
verts[j] *= 2; // <--- commenting this line creates a valid mesh in maya
}
}
That's the only example I could find on how to export a animated mesh.
Any idea of why it happens and how to fix it?
Thank You