Thanks for the tip Ho Chung

Now I'm getting somewhere, but, I still have 2 issues

1. Using your scripted solution I managed to get deformation working but
with the wrong timescale, basically I need to multiply Current Time by 25
to get the animation correctly. So there might be an issues here between
frame<>seconds.
Any way I can fix this time property using scripting?

2. I was also testing non-deforming animation (kinematics) but doesn't work
with the script you provided, I guess what I'm missing is how to connect
the alembic cache node to the geometry local transform Matrix.
   Any tip of how to do this ?

Cheers

Nuno

On Fri, May 9, 2014 at 2:53 PM, Ho Chung Nguyen <[email protected]
> wrote:

> If the mesh topology doesn't change, it should work
>
> Sent
>
> On May 9, 2014, at 8:14 PM, "Nuno Conceicao" <[email protected]
> <mailto:[email protected]>> wrote:
>
> Thanks, does this works with geometry instead of a pointcloud?
>
>
>
> On Fri, May 9, 2014 at 1:05 PM, Ho Chung Nguyen <
> [email protected]<mailto:[email protected]>> wrote:
> Do you create the Alembic node in the ICETree yourself?
> For this to work, you’ll need to set the mapping from the Alembic object
> to the XSI object.
> The mapping data is stored in a grid, which is a parameter of the Alembic
> node.
>
> You can use the following Python script to set the mapping:
>
> #Get the grid data which defines the mapping
> gridData =
> Application.Dictionary.GetObject("PointCloud.pointcloud.ICETree.AlembicCacheNode").Items.Value
> gridData.RowCount = 1
> gridData.ColumnCount = 3
>
> #This is the full path to the pointcloud in abc cache
> gridData.SetCell(0, 0, "/PointCloud/PointCloudShape")
>
> #This is the XSI object which the cache is applied on
> gridData.SetCell(1, 0, "self")
>
> #This flag specifies if the XSI object kine is driven by the abc cache
> gridData.SetCell(2, 0, False )
>
>
> From: [email protected]<mailto:
> [email protected]> [mailto:
> [email protected]<mailto:
> [email protected]>] On Behalf Of Nuno Conceicao
> Sent: Friday, May 09, 2014 6:10 PM
> To: [email protected]<mailto:[email protected]
> >
> Subject: Re: Softimage 2015 Alembic attach to geometry
>
> Its a workflow thing, the objective is to have pointcach animation being
> transfered between an animation scene and a render scene.
>
> If in the render scene the geometry stack needs to be frozen for any
> reason (could be for many reasons) and the alembic node re-atached later,
> then it seams that at the moment re-attaching the Alembic ICE node doesn't
> work properly.
>
> If I re-create the ICE tree with the alembic read node attached,  it no
> longer is able to read the abc cache unless I re-import the alembic file
> again with a new mesh, which can be a bit messy if I need to update changes
> done on the old mesh (transfering clusters, weightmaps, tangent maps,
> materials, etc)
>
> Instead it would be much simpler just to re-attach an alembic read cache
> node to the frozen mesh and reconnect to the point cache path which is
> easily script-able.
>
>
>
>
>
> On Fri, May 9, 2014 at 5:27 AM, Ho Chung Nguyen <
> [email protected]<mailto:[email protected]><mailto:
> [email protected]<mailto:[email protected]>>> wrote:
> Can you explain what you need?
>
>
>

Reply via email to