meshsmooth Posted October 5, 2004 Share Posted October 5, 2004 In VOPS or VEX how do I Convert a matrix3 to a matrix 4... well what i really want to do is convert quaternion to Euler but this proves to be a non trivial affair. any ideas? it is being outputted to chops that is why the output is Euler. Quote Link to comment Share on other sites More sharing options...
crunch Posted October 5, 2004 Share Posted October 5, 2004 In VOPS or VEX how do I Convert a matrix3 to a matrix 4... well what i really want to do is convert quaternion to Euler but this proves to be a non trivial affair. any ideas? it is being outputted to chops that is why the output is Euler. 14113[/snapback] You might want to look at the cracktransform() function. Since you're also looking at quaternions, you might want to check out qconvert(), and quaternion(). Quote Link to comment Share on other sites More sharing options...
meshsmooth Posted October 5, 2004 Author Share Posted October 5, 2004 any idea where i may find information on thease vex functions? Quote Link to comment Share on other sites More sharing options...
edward Posted October 5, 2004 Share Posted October 5, 2004 In the Help browser, go to Vex > Vex language reference > The Runtime Function Library. But here's one VOP method: - Append Quaternion to Matrix3 VOP - Append Matrix3 to Float VOP - Append Float to Matrix VOP. Be careful to wire them with all the correctly matching names. Basically, all the inputs that contain the number 4 should be left unwired. - Append Extract Transform VOP This would make a handy custom VOP subnet I guess unless there's an easier way ... 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.