johnahartman / alembic

Automatically exported from code.google.com/p/alembic
Other
0 stars 0 forks source link

No data stored for static deformed pose #265

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Open static_deform.mb, the cube is deforming by a non-linear wave deformer, 
but it's not animated.

2. Select group1, export selection in alembic

3. open orig_model.mb

4. run:
AbcImport -ct "group1" "yourExported.abc"; 

There's no connection to the cube, so it remains in it's un-deformed state.

If the wave deformed were animated, then everything works as expected.

If you open the abc file, you can see the cube is deformed but there's no 
alembic node connection.

Basically alembic is smart enough to know there's no animation yet it does not 
store the shape information so when using the -ct flag would not give the right 
result.

Original issue reported on code.google.com by davidwo...@gmail.com on 3 Dec 2011 at 10:11

Attachments:

GoogleCodeExporter commented 8 years ago
I believe this is a dup of issue 250 which I logged in response to some of the 
latest comments in: 
http://groups.google.com/group/alembic-discussion/browse_thread/thread/6d3793877
aebdbaa

The constant shape from the exported Alembic file needs to replace the 
corresponding shape in the scene.  I was thinking that the old shape should be 
deleted and replaced with the constant shape, but this may have unfortunate 
side effects for certain workflows (constraints?).  Maybe we would only do this 
if the topology were different.

Original comment by miller.lucas on 4 Dec 2011 at 6:32