ch3 Posted June 11, 2019 Share Posted June 11, 2019 Alembic packed geometry has a pivot intrinsic which sits on the centroid of each primitive. Is there a way to transfer an object from Maya and maintain the pivots that were set there? thank you and I was wondering if there is a way to Quote Link to comment Share on other sites More sharing options...
Librarian Posted June 11, 2019 Share Posted June 11, 2019 https://www.toadstorm.com/blog/?p=493 maybe Quote Link to comment Share on other sites More sharing options...
martinkindl83 Posted June 12, 2019 Share Posted June 12, 2019 this might give you what you are after. Disclaimer: im reading packedfulltransform, not pivot. You can modify it if needed. run over points matrix m = primintrinsic(0,'packedfulltransform',@ptnum); @orient = quaternion(matrix3(m)); //transform fix matrix xform = primintrinsic(0, "packedfulltransform", @ptnum); @P = {0,0,0}; @P *=xform; //rotation in degrees matrix matx = qconvert(@orient); vector extracted = cracktransform(0, 0, 1, @P, matx); v@rotation = extracted; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.