Issue with exporting/importing deformed geo

150 views
Skip to first unread message

Eddie Hoyle

unread,
May 13, 2013, 7:00:28 PM5/13/13
to alembic-d...@googlegroups.com
I'd like to export geo that has been deformed (but not animated), then import the changes. Currently, unless I have some offset applied to the deformer between two frames, the geo does not merge correctly on import. It just sits at pre-deformed pose. If I import and Add, the geo comes in deformed and looks right, but why doesn't the merge do the same?

A small example
* Create a cube and skin it with a single joint
* Move the joint away from origin (do not keyframe)
* Export the cube cache
* Start from a fresh scene, create a cube and try merge the cache
* The cube will have reset to 0, 0, 0

I've found if you animate the joint even with the tiniest offset between two frames, the 'deformed' position of the cube carries over correctly.

Am I missing something here? Would really appreciate some help. Thank you!

Eddie Hoyle

unread,
May 13, 2013, 7:00:53 PM5/13/13
to alembic-d...@googlegroups.com
I should note, I'm using Maya 2013.

Lucas Miller

unread,
May 13, 2013, 8:05:30 PM5/13/13
to alembic-d...@googlegroups.com
I'm not sure what deformer you are using but based on your description it sounds like constant geometry is skipped.

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.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Eddie Hoyle

unread,
May 13, 2013, 8:40:27 PM5/13/13
to alembic-d...@googlegroups.com
I've just been using a skin with these examples, but I moved onto trying clusters and lattices, etc and found it still wasn't being applied.

I've just tried it in Maya 2014, and if I run:
AbcImport -mode import -debug -connect "|pCube1" "C:/temp/cube.abc";

...twice, the geo is gets updated on the second run. Can I fix this in any way? I'm not very experienced with the code and under-the-hood workings of Alembic.
To unsubscribe from this group and stop receiving emails from it, send an email to alembic-discussion+unsub...@googlegroups.com.

Francois Chardavoine

unread,
May 13, 2013, 8:57:26 PM5/13/13
to alembic-d...@googlegroups.com
Hey Eddie -
If you can upload a simple maya 2013 file with the exact AbcExport command you're running, it will make it easier to figure out why it's not behaving as you'd expect -
Is that cube file something you can share with us?
Francois.


To unsubscribe from this group and stop receiving emails from it, send an email to alembic-discuss...@googlegroups.com.

Eddie Hoyle

unread,
May 13, 2013, 9:44:27 PM5/13/13
to alembic-d...@googlegroups.com
Here we go, have a look at this:

Here are my export and import lines:
// Export
AbcExport -j "-frameRange 1 24 -root |pCube1 -file C:/temp/AlembicCubeExample/cube.abc";
// Import
AbcImport -mode import -connect "|pCube1" "C:/temp/AlembicCubeExample/cube.abc";
To unsubscribe from this group and stop receiving emails from it, send an email to alembic-discussion+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 

Lucas Miller

unread,
May 17, 2013, 5:08:06 PM5/17/13
to alembic-d...@googlegroups.com
Thanks for the example, I was also able to replicate the behavior where the changes only stick after calling that AbcImport command twice on a different example as well.

I wonder if history or undo stack or something  needs to be cleared out even after all the connections are deleted but before the createInPlace is called on the mesh?

Lucas


To unsubscribe from this group and stop receiving emails from it, send an email to alembic-discuss...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages