Re: Softimage 2015 Alembic attach to geometry

2014-05-27 Thread Nuno Conceicao
Thank you Hans and Ho, this is awesome.

Unfortunately I'm unable to get this plugin to work yet, for some reason
its not finding the python modules you provided.
import imath
# ImportError: DLL load failed: The specified module could not be found.
I have copied the 3 python libraries to the path you specified and also
tried putting them on other locations like C:\Program
Files\Autodesk\Softimage 2015\Application\python\DLLs
for example, but with no success.
I tried borrowing the package files from Maya 2015 and also the ones from
the link provided by Hans, but they seem to be exactly the same with a
slightly different date stamp.
I have a PYTHONPATH environment pointing to a network location where I have
extra python packages, I tried putting the files there also, but no luck
either...

I'm guessing I'm still missing something :)




On Tue, May 27, 2014 at 7:41 AM, Hans Adrian (Intern) 
hans.adr...@autodesk.com wrote:

 You can download the PyAlembic package from here:
 https://sourceforge.net/projects/pyalembic/

 and as mentioned, put the 3 pyd files in c:\Program
 Files\Autodesk\Softimage 2015\Application\python\Lib\site-packages\

 Thanks.

 From: softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Ho Chung Nguyen
 Sent: Tuesday, May 27, 2014 1:06 PM
 To: softimage@listproc.autodesk.com
 Subject: RE: Softimage 2015 Alembic attach to geometry

 Hans forgot to mention that you’d need the PyAlembic package for the
 plugin to work.

 If you have Maya 2015, you can ‘borrow’ their package by copying these 3
 files
 c:\Program Files\Autodesk\Maya2015\Python\Lib\site-packages\alembic.pyd
 c:\Program Files\Autodesk\Maya2015\Python\Lib\site-packages\iex.pyd
 c:\Program Files\Autodesk\Maya2015\Python\Lib\site-packages\imath.pyd
 over to
 c:\Program Files\Autodesk\Softimage
 2015\Application\python\Lib\site-packages\

 FYI, the PyAlembic package allows you to read and write Alembic file using
 Python.

 From: softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Hans Adrian (Intern)
 Sent: Tuesday, May 27, 2014 10:49 AM
 To: softimage@listproc.autodesk.com
 Subject: RE: Softimage 2015 Alembic attach to geometry

 Hi Nuno,

 Attached is a plugin that you could use to attach an object from Alembic
 file to a SoftImage object. Hopefully it is sufficient for your use.

 Instruction to Use

 1.   Unzip the file

 2.   Put the file into your SoftImage Plug-in folder, or load it from
 Plug-in manager

 3.   Open Plug-in Manager

 4.   Expand AlembicSelectiveAttach

 5.   Right click on AttachAlembicToObjectDialog (Property) and choose
 Create Property

 6.   The dialog below will pop up. Configure your settings and click
 Apply.


 [cid:image001.png@01CF79B9.C02B0830]


 From: softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Nuno Conceicao
 Sent: Saturday, May 10, 2014 1:08 AM
 To: softimage@listproc.autodesk.com
 Subject: Re: Softimage 2015 Alembic attach to geometry

 Well apparently you can, but you will need to add quite a few lines of
 code per geometry to fix something that could have been just one line if
 the attach was supported.


 On Fri, May 9, 2014 at 6:00 PM, Matt Morris matt...@gmail.commailto:
 matt...@gmail.com wrote:
 I was expecting alembic to be much more orientated towards a pointcaching
 pipeline as well. Very frustrating not to be able to use it like existing
 pc2 etc.

 On 9 May 2014 17:36, Nuno Conceicao nunoalexconcei...@gmail.commailto:
 nunoalexconcei...@gmail.com wrote:
 Now , I know Softimage development is now at a maintance level(so no new
 features) but I'm strongly inclined to suggest that an alembic attach to
 existing geo option is created in order to make this process much easier.
 Even if its just in the sdk would be great!

 Cheers

 Nuno


 On Fri, May 9, 2014 at 5:33 PM, Nuno Conceicao 
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com wrote:
 Duhh, of course, how dumb of me!
 Its sorted then :)

 On Fri, May 9, 2014 at 5:29 PM, Ho Chung Nguyen 
 hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.com wrote:
 Can you try using node Current Frame instead of Current Time?
 Also, pls make sure the option Map Subframe to Frame (on Alembic node) is
 off.

 Sent from my iPad

 On May 10, 2014, at 12:10 AM, Nuno Conceicao 
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.commailto:
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com wrote:

 1. Yes, same framerate which is 25 FPS in this test, also keep in mind
 that if i import the same .abc file the animation plays back correctly, so
 the issue is in this manual method

 2. Thanks, I should have read more carefully your code comments, so this
 one is sorted but suffers the same time scale issue raised in 1.

 On Fri, May 9, 2014 at 4:51 PM, Ho Chung Nguyen 
 hochung.ngu...@autodesk.commailto:hochung.ngu

RE: Softimage 2015 Alembic attach to geometry

2014-05-27 Thread Ho Chung Nguyen
Oops, I forgot these files:
awBoost_python-1_52.dll
AlembicPyImath.dll
AlembicPyIex.dll

Copy them from
c:\Program Files\Autodesk\Maya2015\bin\
to
c:\Program Files\Autodesk\Softimage 2015\Application\bin\


From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Nuno Conceicao
Sent: Tuesday, May 27, 2014 5:50 PM
To: No name
Subject: Re: Softimage 2015 Alembic attach to geometry

Thank you Hans and Ho, this is awesome.

Unfortunately I'm unable to get this plugin to work yet, for some reason its 
not finding the python modules you provided.
import imath
# ImportError: DLL load failed: The specified module could not be found.
I have copied the 3 python libraries to the path you specified and also tried 
putting them on other locations like C:\Program Files\Autodesk\Softimage 
2015\Application\python\DLLs
for example, but with no success.
I tried borrowing the package files from Maya 2015 and also the ones from the 
link provided by Hans, but they seem to be exactly the same with a slightly 
different date stamp.
I have a PYTHONPATH environment pointing to a network location where I have 
extra python packages, I tried putting the files there also, but no luck 
either...

I'm guessing I'm still missing something :)



On Tue, May 27, 2014 at 7:41 AM, Hans Adrian (Intern) 
hans.adr...@autodesk.commailto:hans.adr...@autodesk.com wrote:
You can download the PyAlembic package from here:
https://sourceforge.net/projects/pyalembic/

and as mentioned, put the 3 pyd files in c:\Program Files\Autodesk\Softimage 
2015\Application\python\Lib\site-packages\

Thanks.

From: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 
[mailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com]
 On Behalf Of Ho Chung Nguyen
Sent: Tuesday, May 27, 2014 1:06 PM
To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
Subject: RE: Softimage 2015 Alembic attach to geometry

Hans forgot to mention that you’d need the PyAlembic package for the plugin to 
work.

If you have Maya 2015, you can ‘borrow’ their package by copying these 3 files
c:\Program Files\Autodesk\Maya2015\Python\Lib\site-packages\alembic.pyd
c:\Program Files\Autodesk\Maya2015\Python\Lib\site-packages\iex.pyd
c:\Program Files\Autodesk\Maya2015\Python\Lib\site-packages\imath.pyd
over to
c:\Program Files\Autodesk\Softimage 2015\Application\python\Lib\site-packages\

FYI, the PyAlembic package allows you to read and write Alembic file using 
Python.

From: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 
[mailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com]
 On Behalf Of Hans Adrian (Intern)
Sent: Tuesday, May 27, 2014 10:49 AM
To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
Subject: RE: Softimage 2015 Alembic attach to geometry

Hi Nuno,

Attached is a plugin that you could use to attach an object from Alembic file 
to a SoftImage object. Hopefully it is sufficient for your use.

Instruction to Use

1.   Unzip the file

2.   Put the file into your SoftImage Plug-in folder, or load it from 
Plug-in manager

3.   Open Plug-in Manager

4.   Expand AlembicSelectiveAttach

5.   Right click on AttachAlembicToObjectDialog (Property) and choose 
Create Property

6.   The dialog below will pop up. Configure your settings and click Apply.

[cid:image001.png@01CF79B9.C02B0830]mailto:[cid:image001.png@01CF79B9.C02B0830]


From: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 
[mailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com]
 On Behalf Of Nuno Conceicao
Sent: Saturday, May 10, 2014 1:08 AM
To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
Subject: Re: Softimage 2015 Alembic attach to geometry

Well apparently you can, but you will need to add quite a few lines of code per 
geometry to fix something that could have been just one line if the attach was 
supported.


On Fri, May 9, 2014 at 6:00 PM, Matt Morris 
matt...@gmail.commailto:matt...@gmail.commailto:matt...@gmail.commailto:matt...@gmail.com
 wrote:
I was expecting alembic to be much more orientated towards a pointcaching 
pipeline as well. Very frustrating not to be able to use it like existing pc2 
etc.

On 9 May 2014 17:36, Nuno Conceicao 
nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com
 wrote:
Now , I know Softimage development is now at a maintance level(so no new 
features) but I'm strongly inclined to suggest that an alembic attach to 
existing geo option is created in order to make this process much easier.
Even if its just in the sdk would be great!

Cheers

Nuno


On Fri, May 9, 2014 at 5:33 PM, Nuno Conceicao 
nunoalexconcei...@gmail.commailto:nunoalexconcei

Re: Softimage 2015 Alembic attach to geometry

2014-05-27 Thread Nuno Conceicao
Thanks Ho, that did the trick.
I'm assuming this wont be an hassle any more once you guys release SP1,
right? ;)

On a side question related something you posted about Caching subframes
with Alembic, you 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.

I tried this and I get the subframes, the only issue I have is that in
order to get/set the Simulation Setting I need to first create a simulated
ICE tree, then delete it.
Is there a way to make this process a bit simpler for the common user?



On Tue, May 27, 2014 at 11:15 AM, Ho Chung Nguyen 
hochung.ngu...@autodesk.com wrote:

 Oops, I forgot these files:
 awBoost_python-1_52.dll
 AlembicPyImath.dll
 AlembicPyIex.dll

 Copy them from
 c:\Program Files\Autodesk\Maya2015\bin\
 to
 c:\Program Files\Autodesk\Softimage 2015\Application\bin\


 From: softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Nuno Conceicao
 Sent: Tuesday, May 27, 2014 5:50 PM
 To: No name
 Subject: Re: Softimage 2015 Alembic attach to geometry

 Thank you Hans and Ho, this is awesome.

 Unfortunately I'm unable to get this plugin to work yet, for some reason
 its not finding the python modules you provided.
 import imath
 # ImportError: DLL load failed: The specified module could not be found.
 I have copied the 3 python libraries to the path you specified and also
 tried putting them on other locations like C:\Program
 Files\Autodesk\Softimage 2015\Application\python\DLLs
 for example, but with no success.
 I tried borrowing the package files from Maya 2015 and also the ones from
 the link provided by Hans, but they seem to be exactly the same with a
 slightly different date stamp.
 I have a PYTHONPATH environment pointing to a network location where I
 have extra python packages, I tried putting the files there also, but no
 luck either...

 I'm guessing I'm still missing something :)



 On Tue, May 27, 2014 at 7:41 AM, Hans Adrian (Intern) 
 hans.adr...@autodesk.commailto:hans.adr...@autodesk.com wrote:
 You can download the PyAlembic package from here:
 https://sourceforge.net/projects/pyalembic/

 and as mentioned, put the 3 pyd files in c:\Program
 Files\Autodesk\Softimage 2015\Application\python\Lib\site-packages\

 Thanks.

 From: softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Ho Chung Nguyen
 Sent: Tuesday, May 27, 2014 1:06 PM
 To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
 
 Subject: RE: Softimage 2015 Alembic attach to geometry

 Hans forgot to mention that you’d need the PyAlembic package for the
 plugin to work.

 If you have Maya 2015, you can ‘borrow’ their package by copying these 3
 files
 c:\Program Files\Autodesk\Maya2015\Python\Lib\site-packages\alembic.pyd
 c:\Program Files\Autodesk\Maya2015\Python\Lib\site-packages\iex.pyd
 c:\Program Files\Autodesk\Maya2015\Python\Lib\site-packages\imath.pyd
 over to
 c:\Program Files\Autodesk\Softimage
 2015\Application\python\Lib\site-packages\

 FYI, the PyAlembic package allows you to read and write Alembic file using
 Python.

 From: softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Hans Adrian
 (Intern)
 Sent: Tuesday, May 27, 2014 10:49 AM
 To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
 
 Subject: RE: Softimage 2015 Alembic attach to geometry

 Hi Nuno,

 Attached is a plugin that you could use to attach an object from Alembic
 file to a SoftImage object. Hopefully it is sufficient for your use.

 Instruction to Use

 1.   Unzip the file

 2.   Put the file into your SoftImage Plug-in folder, or load it from
 Plug-in manager

 3.   Open Plug-in Manager

 4.   Expand AlembicSelectiveAttach

 5.   Right click on AttachAlembicToObjectDialog (Property) and choose
 Create Property

 6.   The dialog below will pop up. Configure your settings and click
 Apply.

 [cid:image001.png@01CF79B9.C02B0830]mailto:
 [cid:image001.png@01CF79B9.C02B0830]


 From: softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Nuno Conceicao
 Sent: Saturday, May 10, 2014 1:08 AM
 To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
 
 Subject: Re: Softimage 2015 Alembic attach to geometry

 Well apparently you can, but you will need to add quite a few lines of
 code per geometry to fix something that could have been just one line if
 the attach was supported

Re: Softimage 2015 Alembic attach to geometry

2014-05-09 Thread Nuno Conceicao
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 hochung.ngu...@autodesk.com
 wrote:

 Can you explain what you need?

 From: softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Nuno Conceicao
 Sent: Thursday, May 08, 2014 5:54 PM
 To: softimage@listproc.autodesk.com
 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 
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com 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 
 hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.com 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:image001.png@01CF5E1A.E62EC860]mailto:
 [cid:image001.png@01CF5E1A.E62EC860]

 From: softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Ho Chung Nguyen
 Sent: Tuesday, April 22, 2014 10:56 AM
 To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
 
 Subject: RE: Softimage 2015 Alembic attach to geometry

 Can you attach the abc file so we can look into it?

 From: softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Nuno Conceicao
 Sent: Monday, April 21, 2014 10:28 PM
 To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
 
 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 
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.commailto:
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com 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.
 :(






RE: Softimage 2015 Alembic attach to geometry

2014-05-09 Thread Ho Chung Nguyen
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: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Nuno Conceicao
Sent: Friday, May 09, 2014 6:10 PM
To: softimage@listproc.autodesk.com
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 
hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.com wrote:
Can you explain what you need?

From: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 
[mailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com]
 On Behalf Of Nuno Conceicao
Sent: Thursday, May 08, 2014 5:54 PM
To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
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 
nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com
 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 
hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.com
 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:image001.png@01CF5E1A.E62EC860]mailto:[cid:image001.png@01CF5E1A.E62EC860]mailto:[cid:image001.png@01CF5E1A.E62EC860]

From: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 
[mailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com]
 On Behalf Of Ho Chung Nguyen
Sent: Tuesday, April 22, 2014 10:56 AM
To: 
softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
Subject: RE: Softimage 2015 Alembic attach to geometry

Can you attach the abc file so we can look into it?
From: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 
[mailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com]
 On Behalf Of Nuno Conceicao
Sent: Monday, April 21, 2014 10:28 PM
To: 
softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
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

Re: Softimage 2015 Alembic attach to geometry

2014-05-09 Thread Nuno Conceicao
Thanks, does this works with geometry instead of a pointcloud?



On Fri, May 9, 2014 at 1:05 PM, Ho Chung Nguyen hochung.ngu...@autodesk.com
 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: softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Nuno Conceicao
 Sent: Friday, May 09, 2014 6:10 PM
 To: softimage@listproc.autodesk.com
 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 
 hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.com wrote:
 Can you explain what you need?

 From: softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Nuno Conceicao
 Sent: Thursday, May 08, 2014 5:54 PM
 To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
 
 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 
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.commailto:
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com 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 
 hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.commailto:
 hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.com 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:image001.png@01CF5E1A.E62EC860]mailto:
 [cid:image001.png@01CF5E1A.E62EC860]mailto:
 [cid:image001.png@01CF5E1A.E62EC860]

 From: softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Ho Chung Nguyen
 Sent: Tuesday, April 22, 2014 10:56 AM
 To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
 mailto:softimage@listproc.autodesk.commailto:
 softimage@listproc.autodesk.com
 Subject: RE: Softimage 2015 Alembic attach to geometry

 Can you attach the abc file so we can look into it?
 From: softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Nuno Conceicao
 Sent: Monday, April 21, 2014 10:28 PM
 To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
 mailto:softimage@listproc.autodesk.commailto:
 softimage@listproc.autodesk.com
 Subject: Re: Softimage 2015 Alembic attach to geometry

 Weirdly enough this is the error I get if I try to connect

Re: Softimage 2015 Alembic attach to geometry

2014-05-09 Thread Ho Chung Nguyen
If the mesh topology doesn't change, it should work

Sent

On May 9, 2014, at 8:14 PM, Nuno Conceicao 
nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com wrote:

Thanks, does this works with geometry instead of a pointcloud?



On Fri, May 9, 2014 at 1:05 PM, Ho Chung Nguyen 
hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.com 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: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 
[mailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com]
 On Behalf Of Nuno Conceicao
Sent: Friday, May 09, 2014 6:10 PM
To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
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 
hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.com
 wrote:
Can you explain what you need?

From: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 
[mailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com]
 On Behalf Of Nuno Conceicao
Sent: Thursday, May 08, 2014 5:54 PM
To: 
softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
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 
nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com
 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 
hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.com
 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:image001.png@01CF5E1A.E62EC860]mailto:[cid:image001.png@01CF5E1A.E62EC860]mailto:[cid:image001.png@01CF5E1A.E62EC860]

From: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 
[mailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun

Re: Softimage 2015 Alembic attach to geometry

2014-05-09 Thread Nuno Conceicao
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
frameseconds.
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 hochung.ngu...@autodesk.com
 wrote:

 If the mesh topology doesn't change, it should work

 Sent

 On May 9, 2014, at 8:14 PM, Nuno Conceicao nunoalexconcei...@gmail.com
 mailto:nunoalexconcei...@gmail.com wrote:

 Thanks, does this works with geometry instead of a pointcloud?



 On Fri, May 9, 2014 at 1:05 PM, Ho Chung Nguyen 
 hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.com 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: softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Nuno Conceicao
 Sent: Friday, May 09, 2014 6:10 PM
 To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
 
 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 
 hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.commailto:
 hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.com wrote:
 Can you explain what you need?





Re: Softimage 2015 Alembic attach to geometry

2014-05-09 Thread Ho Chung Nguyen
1. Did you export the abc at the same framerate as you read it?

2. In the script, there's a flag specifying if the XSI object kine is driven by 
the abc cache. Should set it to True
gridData.SetCell(2, 0, True)

Sent from my iPad

 On May 9, 2014, at 10:31 PM, Nuno Conceicao nunoalexconcei...@gmail.com 
 wrote:
 
 #This flag specifies if the XSI object kine is driven by the abc cache
 gridData.SetCell(2, 0, False )
attachment: winmail.dat

Re: Softimage 2015 Alembic attach to geometry

2014-05-09 Thread Nuno Conceicao
1. Yes, same framerate which is 25 FPS in this test, also keep in mind that
if i import the same .abc file the animation plays back correctly, so the
issue is in this manual method

2. Thanks, I should have read more carefully your code comments, so this
one is sorted but suffers the same time scale issue raised in 1.




On Fri, May 9, 2014 at 4:51 PM, Ho Chung Nguyen hochung.ngu...@autodesk.com
 wrote:

 1. Did you export the abc at the same framerate as you read it?

 2. In the script, there's a flag specifying if the XSI object kine is
 driven by the abc cache. Should set it to True
 gridData.SetCell(2, 0, True)

 Sent from my iPad

  On May 9, 2014, at 10:31 PM, Nuno Conceicao 
 nunoalexconcei...@gmail.com wrote:
 
  #This flag specifies if the XSI object kine is driven by the abc cache
  gridData.SetCell(2, 0, False )



Re: Softimage 2015 Alembic attach to geometry

2014-05-09 Thread Ho Chung Nguyen
Can you try using node Current Frame instead of Current Time?
Also, pls make sure the option Map Subframe to Frame (on Alembic node) is off.

Sent from my iPad

On May 10, 2014, at 12:10 AM, Nuno Conceicao 
nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com wrote:

1. Yes, same framerate which is 25 FPS in this test, also keep in mind that if 
i import the same .abc file the animation plays back correctly, so the issue is 
in this manual method

2. Thanks, I should have read more carefully your code comments, so this one is 
sorted but suffers the same time scale issue raised in 1.




On Fri, May 9, 2014 at 4:51 PM, Ho Chung Nguyen 
hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.com wrote:
1. Did you export the abc at the same framerate as you read it?

2. In the script, there's a flag specifying if the XSI object kine is driven by 
the abc cache. Should set it to True
gridData.SetCell(2, 0, True)

Sent from my iPad

 On May 9, 2014, at 10:31 PM, Nuno Conceicao 
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com wrote:

 #This flag specifies if the XSI object kine is driven by the abc cache
 gridData.SetCell(2, 0, False )

attachment: winmail.dat

Re: Softimage 2015 Alembic attach to geometry

2014-05-09 Thread Nuno Conceicao
Duhh, of course, how dumb of me!
Its sorted then :)


On Fri, May 9, 2014 at 5:29 PM, Ho Chung Nguyen hochung.ngu...@autodesk.com
 wrote:

 Can you try using node Current Frame instead of Current Time?
 Also, pls make sure the option Map Subframe to Frame (on Alembic node) is
 off.

 Sent from my iPad

 On May 10, 2014, at 12:10 AM, Nuno Conceicao 
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com wrote:

 1. Yes, same framerate which is 25 FPS in this test, also keep in mind
 that if i import the same .abc file the animation plays back correctly, so
 the issue is in this manual method

 2. Thanks, I should have read more carefully your code comments, so this
 one is sorted but suffers the same time scale issue raised in 1.




 On Fri, May 9, 2014 at 4:51 PM, Ho Chung Nguyen 
 hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.com wrote:
 1. Did you export the abc at the same framerate as you read it?

 2. In the script, there's a flag specifying if the XSI object kine is
 driven by the abc cache. Should set it to True
 gridData.SetCell(2, 0, True)

 Sent from my iPad

  On May 9, 2014, at 10:31 PM, Nuno Conceicao 
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com wrote:
 
  #This flag specifies if the XSI object kine is driven by the abc cache
  gridData.SetCell(2, 0, False )




Re: Softimage 2015 Alembic attach to geometry

2014-05-09 Thread Nuno Conceicao
Now , I know Softimage development is now at a maintance level(so no new
features) but I'm strongly inclined to suggest that an alembic attach to
existing geo option is created in order to make this process much easier.
Even if its just in the sdk would be great!

Cheers

Nuno



On Fri, May 9, 2014 at 5:33 PM, Nuno Conceicao
nunoalexconcei...@gmail.comwrote:

 Duhh, of course, how dumb of me!
 Its sorted then :)


 On Fri, May 9, 2014 at 5:29 PM, Ho Chung Nguyen 
 hochung.ngu...@autodesk.com wrote:

 Can you try using node Current Frame instead of Current Time?
 Also, pls make sure the option Map Subframe to Frame (on Alembic node) is
 off.

 Sent from my iPad

 On May 10, 2014, at 12:10 AM, Nuno Conceicao 
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com wrote:

 1. Yes, same framerate which is 25 FPS in this test, also keep in mind
 that if i import the same .abc file the animation plays back correctly, so
 the issue is in this manual method

 2. Thanks, I should have read more carefully your code comments, so this
 one is sorted but suffers the same time scale issue raised in 1.




 On Fri, May 9, 2014 at 4:51 PM, Ho Chung Nguyen 
 hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.com wrote:
 1. Did you export the abc at the same framerate as you read it?

 2. In the script, there's a flag specifying if the XSI object kine is
 driven by the abc cache. Should set it to True
 gridData.SetCell(2, 0, True)

 Sent from my iPad

  On May 9, 2014, at 10:31 PM, Nuno Conceicao 
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com wrote:
 
  #This flag specifies if the XSI object kine is driven by the abc cache
  gridData.SetCell(2, 0, False )





Re: Softimage 2015 Alembic attach to geometry

2014-05-09 Thread Matt Morris
I was expecting alembic to be much more orientated towards a pointcaching
pipeline as well. Very frustrating not to be able to use it like existing
pc2 etc.


On 9 May 2014 17:36, Nuno Conceicao nunoalexconcei...@gmail.com wrote:

 Now , I know Softimage development is now at a maintance level(so no new
 features) but I'm strongly inclined to suggest that an alembic attach to
 existing geo option is created in order to make this process much easier.
 Even if its just in the sdk would be great!

 Cheers

 Nuno



 On Fri, May 9, 2014 at 5:33 PM, Nuno Conceicao 
 nunoalexconcei...@gmail.com wrote:

 Duhh, of course, how dumb of me!
 Its sorted then :)


 On Fri, May 9, 2014 at 5:29 PM, Ho Chung Nguyen 
 hochung.ngu...@autodesk.com wrote:

 Can you try using node Current Frame instead of Current Time?
 Also, pls make sure the option Map Subframe to Frame (on Alembic node)
 is off.

 Sent from my iPad

 On May 10, 2014, at 12:10 AM, Nuno Conceicao 
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com wrote:

 1. Yes, same framerate which is 25 FPS in this test, also keep in mind
 that if i import the same .abc file the animation plays back correctly, so
 the issue is in this manual method

 2. Thanks, I should have read more carefully your code comments, so this
 one is sorted but suffers the same time scale issue raised in 1.




 On Fri, May 9, 2014 at 4:51 PM, Ho Chung Nguyen 
 hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.com wrote:
 1. Did you export the abc at the same framerate as you read it?

 2. In the script, there's a flag specifying if the XSI object kine is
 driven by the abc cache. Should set it to True
 gridData.SetCell(2, 0, True)

 Sent from my iPad

  On May 9, 2014, at 10:31 PM, Nuno Conceicao 
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com wrote:
 
  #This flag specifies if the XSI object kine is driven by the abc cache
  gridData.SetCell(2, 0, False )






-- 
www.matinai.com


Re: Softimage 2015 Alembic attach to geometry

2014-05-09 Thread Nuno Conceicao
Well apparently you can, but you will need to add quite a few lines of code
per geometry to fix something that could have been just one line if the
attach was supported.



On Fri, May 9, 2014 at 6:00 PM, Matt Morris matt...@gmail.com wrote:

 I was expecting alembic to be much more orientated towards a pointcaching
 pipeline as well. Very frustrating not to be able to use it like existing
 pc2 etc.


 On 9 May 2014 17:36, Nuno Conceicao nunoalexconcei...@gmail.com wrote:

 Now , I know Softimage development is now at a maintance level(so no new
 features) but I'm strongly inclined to suggest that an alembic attach to
 existing geo option is created in order to make this process much easier.
 Even if its just in the sdk would be great!

 Cheers

 Nuno



 On Fri, May 9, 2014 at 5:33 PM, Nuno Conceicao 
 nunoalexconcei...@gmail.com wrote:

 Duhh, of course, how dumb of me!
 Its sorted then :)


 On Fri, May 9, 2014 at 5:29 PM, Ho Chung Nguyen 
 hochung.ngu...@autodesk.com wrote:

 Can you try using node Current Frame instead of Current Time?
 Also, pls make sure the option Map Subframe to Frame (on Alembic node)
 is off.

 Sent from my iPad

 On May 10, 2014, at 12:10 AM, Nuno Conceicao 
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com wrote:

 1. Yes, same framerate which is 25 FPS in this test, also keep in mind
 that if i import the same .abc file the animation plays back correctly, so
 the issue is in this manual method

 2. Thanks, I should have read more carefully your code comments, so
 this one is sorted but suffers the same time scale issue raised in 1.




 On Fri, May 9, 2014 at 4:51 PM, Ho Chung Nguyen 
 hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.com wrote:
 1. Did you export the abc at the same framerate as you read it?

 2. In the script, there's a flag specifying if the XSI object kine is
 driven by the abc cache. Should set it to True
 gridData.SetCell(2, 0, True)

 Sent from my iPad

  On May 9, 2014, at 10:31 PM, Nuno Conceicao 
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com wrote:
 
  #This flag specifies if the XSI object kine is driven by the abc cache
  gridData.SetCell(2, 0, False )






 --
 www.matinai.com



Re: Softimage 2015 Alembic attach to geometry

2014-05-08 Thread Nuno Conceicao
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 
nunoalexconcei...@gmail.com 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 
 hochung.ngu...@autodesk.com 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:image001.png@01CF5E1A.E62EC860]

 From: softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Ho Chung Nguyen
 Sent: Tuesday, April 22, 2014 10:56 AM
 To: softimage@listproc.autodesk.com
 Subject: RE: Softimage 2015 Alembic attach to geometry

 Can you attach the abc file so we can look into it?

 From: softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Nuno Conceicao
 Sent: Monday, April 21, 2014 10:28 PM
 To: softimage@listproc.autodesk.com
 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 
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com 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.
 :(






RE: Softimage 2015 Alembic attach to geometry

2014-05-08 Thread Ho Chung Nguyen
Can you explain what you need?

From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Nuno Conceicao
Sent: Thursday, May 08, 2014 5:54 PM
To: softimage@listproc.autodesk.com
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 
nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com 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 
hochung.ngu...@autodesk.commailto:hochung.ngu...@autodesk.com 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:image001.png@01CF5E1A.E62EC860]mailto:[cid:image001.png@01CF5E1A.E62EC860]

From: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 
[mailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com]
 On Behalf Of Ho Chung Nguyen
Sent: Tuesday, April 22, 2014 10:56 AM
To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
Subject: RE: Softimage 2015 Alembic attach to geometry

Can you attach the abc file so we can look into it?

From: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 
[mailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com]
 On Behalf Of Nuno Conceicao
Sent: Monday, April 21, 2014 10:28 PM
To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
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 
nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com
 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

Re: Softimage 2015 Alembic attach to geometry

2014-04-22 Thread Nuno Conceicao
Hi Ho Chung Nguyen
The Alembic Import function from Softimage seems to work normally.This only
happens when I try to manually recreate the Alembic attachment to a
geometry.

This error happens when I have an existing geometry (same geo I used to
export the original .abc file but freezed) , create an ICE tree attached to
this geometry and get the Alembic Cache node into the Ice tree.
If i put the path of the .abc file in the Alembic Cache node, it also
doesn't get the animation that is stored in the  .abc file.





On Tue, Apr 22, 2014 at 3:56 AM, Ho Chung Nguyen 
hochung.ngu...@autodesk.com wrote:

 Can you attach the abc file so we can look into it?

 From: softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Nuno Conceicao
 Sent: Monday, April 21, 2014 10:28 PM
 To: softimage@listproc.autodesk.com
 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 
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com 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.
 :(





Re: Softimage 2015 Alembic attach to geometry

2014-04-22 Thread Nuno Conceicao
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 
hochung.ngu...@autodesk.com 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:image001.png@01CF5E1A.E62EC860]

 From: softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Ho Chung Nguyen
 Sent: Tuesday, April 22, 2014 10:56 AM
 To: softimage@listproc.autodesk.com
 Subject: RE: Softimage 2015 Alembic attach to geometry

 Can you attach the abc file so we can look into it?

 From: softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Nuno Conceicao
 Sent: Monday, April 21, 2014 10:28 PM
 To: softimage@listproc.autodesk.com
 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 
 nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com 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.
 :(





Softimage 2015 Alembic attach to geometry

2014-04-21 Thread Nuno Conceicao
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.
:(


Re: Softimage 2015 Alembic attach to geometry

2014-04-21 Thread Nuno Conceicao
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 
nunoalexconcei...@gmail.com 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.
 :(




RE: Softimage 2015 Alembic attach to geometry

2014-04-21 Thread Ho Chung Nguyen
Can you attach the abc file so we can look into it?

From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Nuno Conceicao
Sent: Monday, April 21, 2014 10:28 PM
To: softimage@listproc.autodesk.com
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 
nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com 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

RE: Softimage 2015 Alembic attach to geometry

2014-04-21 Thread Ho Chung Nguyen
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:image001.png@01CF5E1A.E62EC860]

From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Ho Chung Nguyen
Sent: Tuesday, April 22, 2014 10:56 AM
To: softimage@listproc.autodesk.com
Subject: RE: Softimage 2015 Alembic attach to geometry

Can you attach the abc file so we can look into it?

From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Nuno Conceicao
Sent: Monday, April 21, 2014 10:28 PM
To: softimage@listproc.autodesk.com
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 
nunoalexconcei...@gmail.commailto:nunoalexconcei...@gmail.com 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