kfu Posted July 18, 2019 Share Posted July 18, 2019 I want to do a for loop inside vop to update surface points position several times, it seems it always stop work at loop counts 3. Can anyone kindly open the file and take a look what I'm doing wrong, trying to figure it out all night with no luck forloop.hiplc Quote Link to comment Share on other sites More sharing options...
dgoubitz Posted July 18, 2019 Share Posted July 18, 2019 You are doing the correct thing, but the result it not that visible after so many iterations. To check your "blur/smooth" after so many loops, open the geometry spreadsheet panel, and you'll see that the point positions are still changing after 3 loops. You can also verify by replacing the pig head with a 3x3 grid. Quote Link to comment Share on other sites More sharing options...
kfu Posted July 18, 2019 Author Share Posted July 18, 2019 6 hours ago, dgoubitz said: You are doing the correct thing, but the result it not that visible after so many iterations. To check your "blur/smooth" after so many loops, open the geometry spreadsheet panel, and you'll see that the point positions are still changing after 3 loops. You can also verify by replacing the pig head with a 3x3 grid. hi,thanks for checking my file. The thing is when I write the same function in VEX, the result is more visible in 30 loop counts. As for the vop solution, it seems it stopped functioning after several iterations. I will put new file here when I get home. Quote Link to comment Share on other sites More sharing options...
kfu Posted July 18, 2019 Author Share Posted July 18, 2019 Why the same operation using VEX and vop, the result is different? forloop.hiplc Quote Link to comment Share on other sites More sharing options...
anim Posted July 19, 2019 Share Posted July 19, 2019 because Import Point Attribute VOP imports attribute value from the input geometry, not the modified one from previous iteration Quote Link to comment Share on other sites More sharing options...
kfu Posted July 19, 2019 Author Share Posted July 19, 2019 2 hours ago, anim said: because Import Point Attribute VOP imports attribute value from the input geometry, not the modified one from previous iteration Is there a way to do the for loop inside vop,or I need to do the for loop outside the vop? 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.