Pancho Posted December 17, 2016 Share Posted December 17, 2016 I imported an FBX from Nuke and tried to calculate angles between locators inside of an attribute vop. I can calculate a detail (once), but need the value every frame newly calculated. So I tried to use a point with an attribute vop set to point context. I'll receive an error message the H can't calc since the input values are changing. I use a constant node inside the attrivop to get the values from attribvops custom interface. What's wrong here, that H doesn't want to calculate a simple dot product with the locators coordinates? Cheers Tom Quote Link to comment Share on other sites More sharing options...
bonsak Posted December 17, 2016 Share Posted December 17, 2016 I don't understand. Detail (once) is calculated 1 time for every frame. -b Quote Link to comment Share on other sites More sharing options...
Pancho Posted December 17, 2016 Author Share Posted December 17, 2016 Well, it didn't update here. The strange thing is that the spheres (as a representations) update, but not the calculation. Actually I would like to do that in NUKE, but I have no idea how to calculate stuff like this in the Foundry's app. Neither which node I would use, nor which language/syntax. bikeFitting_01_a_004.hiplc Quote Link to comment Share on other sites More sharing options...
Atom Posted December 17, 2016 Share Posted December 17, 2016 You see why don't you? If you view the code from your VOP you get... // Code produced by: hip Value = { 849.99700927734375, 548.57501220703125, 0 }; Values defined with braces can not have changing values, you must use a set function instead. If you wrote your solution using a wrangle you would not have this issue because you could manually type set() instead of {}. // Code produced by: hip Value = set( 849.99700927734375, 548.57501220703125, 0 ); Quote Link to comment Share on other sites More sharing options...
mawi Posted December 17, 2016 Share Posted December 17, 2016 4 hours ago, Pancho said: Well, it didn't update here. The strange thing is that the spheres (as a representations) update, but not the calculation. Actually I would like to do that in NUKE, but I have no idea how to calculate stuff like this in the Foundry's app. Neither which node I would use, nor which language/syntax. bikeFitting_01_a_004.hiplc Instead of constant VOP use a parameter VOP. That will automaticly promote parameters to the attribute VOP, then write your expressions in the promoted parameter fields, not inside of VOPs. 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.