sadhu Posted April 25, 2015 Share Posted April 25, 2015 Hello, I have an animated(simple rotation and transformation animation) cube imported in Houdini. I want to extract its transformation and want to apply it to a model that I have modeled. I want to know how to extract transformation using matrix . Can someone pls post a file showing how to do this using matrix. Thanks a lot Quote Link to comment Share on other sites More sharing options...
sparkChan Posted April 25, 2015 Share Posted April 25, 2015 (edited) hi, I just created a simple example, hope this is what you want. matrix.hip Edited April 25, 2015 by sparkChan Quote Link to comment Share on other sites More sharing options...
pbarua Posted April 25, 2015 Share Posted April 25, 2015 Check attached file: transform_matrix.hipnc 1 Quote Link to comment Share on other sites More sharing options...
sadhu Posted April 25, 2015 Author Share Posted April 25, 2015 (edited) Thanks Spark chan and Pradeep. I came across similar approaches on the forum http://forums.odforce.net/topic/17260-normal-orientation-using-vop/. Can we build a matrix without using quaternion. I am learning matrix math. Is it possible building a matrix without using quaternion and get the same result? If you check the file posted by tjeeds in the link I mentioned(HARD_WAY approach ), I tried using that approach to get the output but something I am not doing right, the points of the cube are moving but not maintaining the shape and volume. I am sorry I am not able to post my file. I will post it once I reach home. Edited April 25, 2015 by sadhu Quote Link to comment Share on other sites More sharing options...
sadhu Posted April 25, 2015 Author Share Posted April 25, 2015 This is what I have got so far. In one of the methods I am using makeinstancetransform vop and other method I am trying to build matrix as per the file I got from the link I posted above. I am not getting exactly the same result in any of the methods. I have few more questions regarding building a matrix. How to determine the order in which the components should be connected of a 9x9 matrix in this case. I am not sure how tangetu , tangentv , N and up attribs help for building a transformation matrix. I am guessing they are used to determine orientation but not sure how. Thanks matrxi_study01.hipnc 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.