konstantin magnus Posted February 25, 2017 Share Posted February 25, 2017 Hi, I am trying to access the position and normals of an object based on UV coordinates with VEX. In the documentation the VEX function "uvunwrap" seems to be a good choice, however .. vector pos; vector nml; float u = chf('u'); float v = chf('v'); float time = @Time; uvunwrap(u, v, time, pos, nml); addpoint(0, pos); .. is asking for a string, which is not mentioned in the documentation. VEX_uv_to_pos.hipnc Quote Link to comment Share on other sites More sharing options...
MrScienceOfficer Posted February 25, 2017 Share Posted February 25, 2017 (edited) uvunwrap(@OpInput1,u, v, time, pos, nml) That should solve it, you should file a bug report for that. I'm pretty using @OpInput1 has been depreciated. Edited February 25, 2017 by MrScienceOfficer Typo Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted February 25, 2017 Author Share Posted February 25, 2017 Thank you, the error is gone! However the returned position is 0,0,0. Quote Link to comment Share on other sites More sharing options...
MrScienceOfficer Posted February 25, 2017 Share Posted February 25, 2017 Send SESI that file, if you haven't already. That's really messed up. 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.