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]] On Behalf Of Nuno Conceicao
Sent: Friday, May 09, 2014 6:10 PM
To: [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]>> wrote:
Can you explain what you need?

From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Nuno Conceicao
Sent: Thursday, May 08, 2014 5:54 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: Softimage 2015 Alembic attach to geometry
Anyone found a way to attach an ICE alembic cache node to a frozen geometry yet 
?

On Tue, Apr 22, 2014 at 11:04 AM, Nuno Conceicao 
<[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>>
 wrote:
Thanks didn't knew it would export subframe, it wasn't so obvious to me but now 
it makes sense.
 :)
On Tue, Apr 22, 2014 at 4:06 AM, Ho Chung Nguyen 
<[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>>
 wrote:
Caching of subframe is supported, the objects need to have property 
SimulationSettings and option Cache All Simulation Samples checked.
Pointclouds have this property by default. Polymeshes will have it if you 
create a simulated ICETree.
[cid:[email protected]]<mailto:[cid:[email protected]]><mailto:[cid:[email protected]]>

From: 
[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>
 
[mailto:[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>]
 On Behalf Of Ho Chung Nguyen
Sent: Tuesday, April 22, 2014 10:56 AM
To: 
[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>
Subject: RE: Softimage 2015 Alembic attach to geometry

Can you attach the abc file so we can look into it?
From: 
[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>
 
[mailto:[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>]
 On Behalf Of Nuno Conceicao
Sent: Monday, April 21, 2014 10:28 PM
To: 
[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>
Subject: Re: Softimage 2015 Alembic attach to geometry

Weirdly enough this is the error I get if I try to connect an ICE Alembic Cache 
node:
P:\ThirdParty\Alembic_1.5.1 Absolute paths ? Autodesk!?

# HDF5-DIAG: Error detected in HDF5 (1.8.9) thread 0:
#   #000: P:\ThirdParty\Alembic_1.5.1\source\contrib\hdf5-1.8.9\src\H5F.c line 
806 in H5Fis_hdf5(): unable to open file
#     major: Low-level I/O
#     minor: Unable to initialize object
#   #001: P:\ThirdParty\Alembic_1.5.1\source\contrib\hdf5-1.8.9\src\H5FD.c line 
1101 in H5FD_open(): open failed
#     major: Virtual File Layer
#     minor: Unable to initialize object
#   #002: P:\ThirdParty\Alembic_1.5.1\source\contrib\hdf5-1.8.9\src\H5FDsec2.c 
line 362 in H5FD_sec2_open(): unable to open file: name = 
'T:\120911-PIPELINETOOLS\Simulation\scene_root\cube1\cube1_Take1_1.abc', errno 
= 2, error message = 'No such file or directory', flags = 0, o_flags = 0
#     major: File accessability
#     minor: Unable to open file

On Mon, Apr 21, 2014 at 11:45 AM, Nuno Conceicao 
<[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>><mailto:[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>>>
 wrote:
Just trying the Alembic new feature on SI 2015 and noticed that apparently 
there is no attach to geometry function.
Also it has no subframe functionality.
Unless there is a coding way to do it I'm a bit disappointed on this new 
feature since its limited to be used for import/export and no point cache 
workflow between animation and rendering disciplines.
:(



<<attachment: winmail.dat>>

Reply via email to