Hi,
In alembic 1.5.0 on linux, i was expecting the following code to write out
an animated alembic file:
'''
#!/bin/env python
import alembic.Abc as Abc
import alembic.AbcGeom as AbcGeom
import imath
import cask
abc = cask.Archive()
xf = abc.top.children["renderCamXform"] = cask.Xform()
cam = xf.children["renderCamShape"] = cask.Camera()
for i in range(24):
samp = AbcGeom.XformSample()
samp.setTranslation(imath.V3d(i, 2.0, 3.0))
xf.set_sample(samp)
abc.write_to_file("test.abc")
'''
When i try and load this into maya, my camera isn't animated.
Inspecting the alembic file with abcview, i see all the samples
but i am missing a '1.samples' property at the top of the hierarchy.
Can someone point me in the right direction or provide an example please?
Thanks
kevin
--
kevin campbell
director of production technology |
kevin.c...@rsp.com.au
rising sun pictures |
www.rsp.com.au
phone
+61 8 8400 6456 | mobile
+61 432 483 166