Jump to content

KineFX translating VOPs to wrangles


Recommended Posts

So I've been trying to convert a few Rig VOPs I've built to VEX. Partly to see if they run faster and partly just to understand what is happening under the hood. But I'm noticing that if you expose the VEX of a certain VOP, there are a bunch of commands that don't show up in a wrangle. For example: blendtransforms(). There's a blend transforms VOP and if you look at the VEX it uses a blendtransforms() command in VEX, but if you add a wrangle there's not such command. Is there some library I need to add or am I missing something?

 


 

Link to comment
Share on other sites

R.click on the blendtransforms node in vops, vex/vop options -> view vex code.

Scan through until you see an include line, there's this:

#include <kinefx.h>

Drop that into your wrangle, you should have blendtransforms() available. 

If you go find that file on disk (it'll be buried in $HFS somewhere), you can see all the functions defined in that include.

 

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...