ehsan parizi Posted October 3, 2011 Share Posted October 3, 2011 Hi all, I'm trying to color all the neighbors of a point in a geometry in vopsop. Right now I'm using neighbourcount, For loop and a neighbour vop in for loop, but obviously I'm doing something wrong. It's probably something very simple, but I couldn't figure it out neighbour_color.hipnc Quote Link to comment Share on other sites More sharing options...
Pazuzu Posted October 3, 2011 Share Posted October 3, 2011 (edited) Hi!! Inside the for loop you have to connect the current iteration number (i) to the neighbour number in the neighbour vop. Also you have to accumulate the attribute. neighbour_color.hipnc Edited October 3, 2011 by Pazuzu Quote Link to comment Share on other sites More sharing options...
ehsan parizi Posted October 3, 2011 Author Share Posted October 3, 2011 Thanks one more thing, Do you know if it's possible to do the same thing with points (not connected points)? like in a particle system? I think I've read somewhere that we can't do it in vex, but it's possible with Python. 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.