Animated trimmed surface failure in AbcExport

54 views
Skip to first unread message

Eddie Offermann

unread,
May 22, 2012, 2:28:59 PM5/22/12
to alembic-d...@googlegroups.com
We encountered a failure in AbcExport's handling of trimmed surfaces. The trim isn't being represented in the resulting .abc file. SimpleAbcViewer shows a similar failure though it shows it in a different way - so I suspect there is an attempt to represent it but that it's failing. I've attached a severely stripped down version of the rig we encountered it on, with some animation applied, to simplify reproduction of the problem.

To replicate the problem, load the attached Maya2012 scene file and run:

if not cmds.pluginInfo("AbcImport", q=True, l=True):
    cmds.loadPlugin("AbcImport")
if not cmds.pluginInfo("AbcExport", q=True, l=True):
    cmds.loadPlugin("AbcExport")
mel.eval('AbcExport -j "-fr 1 96 -sn -uv -ws -wv -rt root -file ~/Desktop/abcTest.abc"')
cmds.file(new=True,force=True)
mel.eval('AbcImport -ftr -m open "~/Desktop/abcTest.abc"')

This has been encountered in Maya2012 in AbcExport 1.0 using Alembic 1.0.5
eyelid_rig.mb

Lucas Miller

unread,
May 22, 2012, 2:49:32 PM5/22/12
to alembic-d...@googlegroups.com
Thank you for the example.

The SimpleAbcViewer currently doesn't try to do anything with trim curves, so it's not a good way to test this case.
This looks like a bug in AbcExport as it is appears to be writing out only the first sample of the trim curve.

Lucas

--
You received this message because you are subscribed to the Google
Groups "alembic-discussion" group.
To post to this group, send email to alembic-d...@googlegroups.com
To unsubscribe from this group, send email to
alembic-discuss...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/alembic-discussion?hl=en
 
For RSS or Atom feeds related to Alembic, see:
 
http://groups.google.com/group/alembic-dev/feeds
 
http://groups.google.com/group/alembic-discussion/feeds

Lucas Miller

unread,
May 22, 2012, 6:32:47 PM5/22/12
to alembic-d...@googlegroups.com

Eddie Offermann

unread,
May 22, 2012, 10:50:23 PM5/22/12
to alembic-d...@googlegroups.com
Was elated to get this update earlier. Thanks, much: we had a suitable alternative in place on the rig but it made a great impression here (at Mirada) that a workaround came through as quickly as it did. Everyone's been very pleased with Alembic.


On Tuesday, May 22, 2012 3:32:47 PM UTC-7, Lucas wrote:
On Tue, May 22, 2012 at 11:49 AM, Lucas Miller <miller...@gmail.com> wrote:
Thank you for the example.

The SimpleAbcViewer currently doesn't try to do anything with trim curves, so it's not a good way to test this case.
This looks like a bug in AbcExport as it is appears to be writing out only the first sample of the trim curve.

Lucas
On Tue, May 22, 2012 at 11:28 AM, Eddie Offermann <eoffe...@gmail.com> wrote:
We encountered a failure in AbcExport's handling of trimmed surfaces. The trim isn't being represented in the resulting .abc file. SimpleAbcViewer shows a similar failure though it shows it in a different way - so I suspect there is an attempt to represent it but that it's failing. I've attached a severely stripped down version of the rig we encountered it on, with some animation applied, to simplify reproduction of the problem.

To replicate the problem, load the attached Maya2012 scene file and run:

if not cmds.pluginInfo("AbcImport", q=True, l=True):
    cmds.loadPlugin("AbcImport")
if not cmds.pluginInfo("AbcExport", q=True, l=True):
    cmds.loadPlugin("AbcExport")
mel.eval('AbcExport -j "-fr 1 96 -sn -uv -ws -wv -rt root -file ~/Desktop/abcTest.abc"')
cmds.file(new=True,force=True)
mel.eval('AbcImport -ftr -m open "~/Desktop/abcTest.abc"')

This has been encountered in Maya2012 in AbcExport 1.0 using Alembic 1.0.5

--
You received this message because you are subscribed to the Google
Groups "alembic-discussion" group.
To post to this group, send email to alembic-discussion@googlegroups.com

To unsubscribe from this group, send email to
Reply all
Reply to author
Forward
0 new messages