-
Instance ID’s to and from an imported alembic file in Xpresso – possible?
I made a hair emitter that I had generate splines, animated them and then exported that emitter to an alembic file. Having brought that alembic back in, everything works and moves as it should, but now I would like to access each and every one of the splines in xpresso and python to apply another object to each spline and have it be deformed by each spline.
I thought there might be an input and output port on the alembic file object when dragged into xpresso through which I could iterate through all the moving spline ID’s. And then I could pass those into python for deformation and population. If there is a port I need on the alembic generator object, it’s not named something I recognize as useful. I tried the instance port (go figure): the output port for this attribute does output integers (although only to 2 so far) but the input port “instance” doesn’t like anything I’ve thrown at it so far.
I guess a simpler question is – are the splines still actual instances in the alembic or are they considered one big object? I think they are separate because I can sweep them (but they all get done at once with one sweep object). Also , if you make the alembic object editable (was surprised this works), while you don’t get 300 splines appearing under a null like you would with splitting polygon groups, you do get 300 point based splines that when you hit “close spline” close upon themselves and not to each other (so joined top to bottom).
Is accessing these objects in the alembic even doable? The sweep does function so C4D is recognizing them as individual splines.
Attached is the alembic of a massively over simplified scene. Run it out to 90 frames if the motion matters.
Sorry, there were no replies found.