magneto Posted September 5, 2012 Share Posted September 5, 2012 Hi, I want to get the coordinate of a point on a curve using U coordinates. I found the primuv expression. Is this the right way to do it? I actually want to do it in VEX but couldn't find anything. Is there a VEX function for this? Maybe use the Python version in VEX? Thanks Quote Link to comment Share on other sites More sharing options...
Macha Posted September 5, 2012 Share Posted September 5, 2012 $MAPU ? 1 Quote Link to comment Share on other sites More sharing options...
edward Posted September 5, 2012 Share Posted September 5, 2012 http://www.sidefx.com/docs/houdini12.1/vex/functions/prim_attribute ? 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted September 5, 2012 Author Share Posted September 5, 2012 Wow I love you guys, it works @Macha, I just tried adding $MAPU as a new attribute but it all showed 0 for the values. Am I doing it wrong? But the prim_attribute is a killer function. Quote Link to comment Share on other sites More sharing options...
petz Posted September 5, 2012 Share Posted September 5, 2012 "primuv" in sops would be another option petz curve.hipnc 1 Quote Link to comment Share on other sites More sharing options...
Joker386 Posted September 5, 2012 Share Posted September 5, 2012 To use $MAPU you should append UVTexture SOP to your network ! curve.hipnc 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted September 6, 2012 Author Share Posted September 6, 2012 Thanks alot guys, I was using primuv before. Great to see many ways to do this 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.