fuat
Dec. 1, 2014 10:10:02
hello forum,
is there any way to extract transfroms and especially rotation channel out of an alembic file coming from other apps?
i can read out pos data from the details view in points mode (static geo), but no rotations.
i tried fetch, extract transform, and even tried a workaround by putting a helper object with an look-at (in my case easy because my “target” is in world origin) - but with a look-at all rotations are set to zero again.
any suggestions?
thanks in advance
fuat
EDIT: solved it.
1. unpack the alembicarchive
2. on obj level, add a geo of your choice.
3. add a chop. inside chops, add an object node, set it to “compute full transforms”. target to the unpacked abc-geo. plug that into an export node. activate. turn on orange “export” flag. in the path, set the channels you need (in my case tx ty tz rx ry rz). set node to your geo of your choice of step 2 (in my case a torus).
4. done. all the transform-channels are now transferred to the geo of your choice in global coords.
found with the help of google, forums, different posts, and a friend. all credits to those.
Luke Letellier
April 1, 2015 11:02:46
Many thanks for your quick & succinct description! Wouldn't surprise me if this turns into a shelf tool.
NNois
April 1, 2015 19:59:11
Hi,
you can get the transforms by simply referencing them, even if you don't see them on the alembic nodes
I've stumbled upon that just a few days ago…
Ps: You can also put a bull in the alembic hierarchy this works too ;-)
fuat
April 2, 2015 08:49:11
NNois
Hi,
you can get the transforms by simply referencing them, even if you don't see them on the alembic nodes
I've stumbled upon that just a few days ago…
Ps: You can also put a bull in the alembic hierarchy this works too ;-)
thanks for the tip. so does that mean that the transforms are inside the abc but one cant seem them in the params?
NNois
Ps: You can also put a bull in the alembic hierarchy this works too ;-)
hmm, can you explain what you mean by that? or am i mising something here?
thanks nevertheless
NNois
April 2, 2015 11:32:34
fuat
thanks for the tip. so does that mean that the transforms are inside the abc but one cant seem them in the params?
yes with
origin(obj1, obj2, constant_type)
fuat
NNois
Ps: You can also put a bull in the alembic hierarchy this works too ;-)
hmm, can you explain what you mean by that? or am i mising something here?
A null, not a bull damn mobile phones…
So if you put a null in the alembic hierarchy you can get his transform normally and use a fetch for example
Beside that are you sure a fetch sop doesn't work, here it's working ok, rotation transform and scale ..
fuat
April 7, 2015 12:14:50
NNois
Beside that are you sure a fetch sop doesn't work, here it's working ok, rotation transform and scale ..
not for me at least, maybe i missed something. thanks for the infos though!