Is it possible to export vertex color + faceset?

28 views
Skip to first unread message

jiang fan

unread,
Jul 22, 2022, 8:51:35 AM7/22/22
to alembic-discussion
Hello,
from this example :
I can export vertices, vertices indices, face blocs,  uvs, normals.
is there a way to export vertex colors and facesets?

thanks

Lucas Miller

unread,
Jul 22, 2022, 1:09:02 PM7/22/22
to alembic-d...@googlegroups.com
You can add FaceSets to meshes by directly creating them as a parent of the mesh or calling createFaceset like here:
https://github.com/alembic/alembic/blob/master/lib/Alembic/AbcGeom/Tests/SubDFaceSetTest.cpp#L112

Writing an indexed (if a lot of repeated colors) facevarying vertex colors on a mesh is shown here:

Lucas

--
You received this message because you are subscribed to the Google Groups "alembic-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alembic-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/alembic-discussion/257d1c76-508a-4ad1-b262-c05b48bf610cn%40googlegroups.com.

jiang fan

unread,
Jul 28, 2022, 9:49:25 AM7/28/22
to alembic-discussion
thanks, problem solved because of your answer ^ ^
Reply all
Reply to author
Forward
0 new messages