cloud68
Hi Gurus,

How hard is it to write a node to reference alembic file, instead of always importing it.
a.l.a Houdini file node.

Thank you in advance for even thinking about it.

Cheers,

C

Reply 0 0
Zeedorf
Yeah it would be super cool.

I have a lot of pipeline issue with alembic right now because of importing.
Reply 0 0
pshipkov
Not sure what do you gyus mean here. Alembic cache reader works similar to houdini's file node. Basically representing interactivelly data stored on disk. It is the same as what maya references do.
Reply 0 0
Zeedorf
First of all I use this version:
AbcImport v1.0 using Alembic 1.0.0 (built Aug 10 2011 16:12:43) under maya 2012.
I agree it should do what maya reference does.
But: 
If you try directly change path for another abc cache on the alembic node does not happen anything.
If you use replace function from the menu it recreates the alembic node and all connections (shaders for eg.) break and other settings set back to default. It does pretty much the same as import.

It might changed in maya 2013 or 2014. I don't know.

Reply 0 0
pshipkov
I see what do you mean. Yeah, alembic creates scene local objects and then feeds them with the cache data. For what you want i think the maya geo cache is better option. Because you reference your geometry and then the geoCache readers are just moving the points around. So you can swap geo on the fly while preserving the state of the scene.

I don't know why alembic nodes don't respond to changed file path. Remember looking briefly at the code a while ago but not for that stuff.
I have good conversation with one of the main alembic guys - will ask him about these things and will report.
Reply 0 0
pshipkov
Actually when it comes down to pipeline-izing the alembic stuff in Maya you can wrap your alembic  caches (versions, variations, etc) in Maya scenes and then reference that in your light/anim/etc scenes.
Then if you want to switch between alembic caches you basically swap references. The only problem is that this bubbles up the reference edits and for big scenes with lots of assets this might get a bit ugly.
This workflow requires you to be more methodical and have established pipe of some sort.

Did you try to disconnect the time from your alembic node then change the path and connect time back ?

I am still waiting for response from the alembic guy, so there might be better solutions to all this.
Reply 0 0
cloud68
Cheers, Peter.

Thank you
Reply 0 0
animatedfox
Would love to know what you find out from the Alembic guy. We had an 'Autodesk Maya Developer' come to work to talk to us about how great Maya 2014 is and we asked him if Alembic integration has been improved in terms of being able to update the caches. He had no idea that there were any issues with the Alembic integration. Good times.

For what its worth, I have had much more luck using a mel command to do my importing/replacing instead of the GUI commands. Type AbcImport -help in the command line to get the full rundown of flags. As I mentioned in my other post, the -rcs (recreate color sets) is a great flag for your initial import. And for replacing you should try using the -ct 'rootNode' flag and the -crt and -rm flags.
It works pretty darn well, though some things don't update correctly. But give it a try, most history/connection/assignments are maintained.

Hope that helps...but mostly looking for more info myself.
All the best
~Ben

Reply 0 0
Reply