◆PackedAlembic
--Transform off (= jump to origin)
setprimintrinsic(0, "abcusetransform", @primnum, 0, "set");
--back to default pos
-Transform position on point
@P = point(1, "P", @primnum);
-Transform scale & rot on prim
matrix xform = primintrinsic(1, "packedfulltransform", @primnum);
matrix scale = ident() * 100;
matrix3 rot = matrix3(xform * scale);
setprimintrinsic(0, "transform", @primnum, rot, "set");
No comments:
Post a Comment