Fabiano Berlim Posted October 14, 2012 Share Posted October 14, 2012 Is there a way in VEX to edit a point which is not the current point being looped? I'm getting the neighbours of a current point, is it possible to edit them? Since VEX loops through points automatically, even if I store values in an array, I cannot loop again. Any ideas? Quote Link to comment Share on other sites More sharing options...
thinkinmonkey Posted October 16, 2012 Share Posted October 16, 2012 What are you aiming to do? Quote Link to comment Share on other sites More sharing options...
ranxerox Posted October 16, 2012 Share Posted October 16, 2012 I would say no. The basics of the simd nature of vex mean that you have to assume that all of the points are being processed in parallel. If you could edit neighboring points than you have a race condition (ie order of operations problem). -ranxx Is there a way in VEX to edit a point which is not the current point being looped? I'm getting the neighbours of a current point, is it possible to edit them? Since VEX loops through points automatically, even if I store values in an array, I cannot loop again. Any ideas? Quote Link to comment Share on other sites More sharing options...
Fabiano Berlim Posted October 16, 2012 Author Share Posted October 16, 2012 That's what I thought. Thanks! 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.