Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace non-animated cache with animated cache #34

Open
AntoineFlo opened this issue Jun 1, 2015 · 1 comment
Open

Replace non-animated cache with animated cache #34

AntoineFlo opened this issue Jun 1, 2015 · 1 comment

Comments

@AntoineFlo
Copy link

Hello there,

I found a bug when I try to switch the .abc file from a non-animated cache (exInframe=1,exOutFrame=1) to an animated cache (exInframe=1,exOutFrame=20) in the 'ExocortexAlembicFile1'

Last exocortex crate sources built on Centos6
Maya 2015

  1. export a 'non-animated'
    cache from a scene with transforms

from ExocortexAlembic import _export
/* select your mesh transforms */
_export.doIt(exportPath,1,1)

  1. from the same scene, make an animated cache

/* make a fake anim /
/
select your mesh transforms */
_export.doIt(exportPath,1,20)

  1. with the same scene, attach the non-animated cache to create all exocortex nodes

path = 'the non-animated.abc file'
importNormals = '0'
importUvs = '1'
importFaceSets = '1'
overTransforms = '1'
overDeforms = '1'

job = "filename=" + path + ";normals=" + importNormals + ";uvs=" + importUvs + ";facesets=" + importFaceSets + ";attachToExisting=1;overXforms=" + overTransforms + ";overDforms=" + overDeforms

cmds.ExocortexAlembic_import(j=job)

=> it creates the exocortex nodes but the in time of any 'ExocortexAlembicXform' and 'ExocortexAlembicPolyMeshDeform' is not connected to anything

  1. Switch the filename in 'ExocortexAlembicFile1' with the animated.abc

=> the animation is not there
=> if I connect 'ExocortexAlembicFile1.inTime' on 'ExocortexAlembicXform.inTime', still not there
=> if I connect 'ExocortexAlembicTimeControl.inTime' on 'ExocortexAlembicXform.inTime' I got the animation

So would it be possible to have the time connected, no matter what the frame range of the export ?
If I did something wrong in my workflow, please let me know

Thanks,
Antoine

@pabloemmanueldeleo
Copy link

Hi Antone. I have the same problem. in my case i cant do attach alembic with deformed and with namespace. If you resolve the problem please tell me. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants