Updating ABC archive

52 views
Skip to first unread message

Jamil Halabi

unread,
Apr 12, 2021, 2:08:53 PM4/12/21
to alembic-discussion
Hi

I'm the lead dev. of OTOY's Sculptron
I'm trying to implement Alembic in a way that I would only update the positions cache of a specific loaded mesh without touching other things, and write out a modified copy of the whole archive.

Is there some kind of a way to do it?

Lucas Miller

unread,
Apr 12, 2021, 2:16:12 PM4/12/21
to alembic-d...@googlegroups.com
Yes, although there isn't a direct utility to do this in C++, the copy
logic would look like:

https://github.com/alembic/alembic/blob/master/bin/AbcConvert/AbcConvert.cpp#L150

And you would just substitute in your points from the mesh in place of
the one from the original mesh.

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/7898ad37-b494-432e-bbc4-27a8f8e9bc6en%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages