dong shin Posted August 20, 2005 Share Posted August 20, 2005 There is an option for creating the proximity group in proximity node, and I want to use that proximity group information in vop to figure out some information like average velocity and second closest point's velocity...etc. I want to do this for each particle, so I can't specify the group name in vop. Any idea? Even without using with vop, can someone posts an info or a file that uses proximity group in pop? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
sibarrick Posted August 20, 2005 Share Posted August 20, 2005 That sounds more like a point cloud problem. Point clouds will return nearest neighbours up to a user defined radius, and you can do so for each point. Quote Link to comment Share on other sites More sharing options...
dong shin Posted August 20, 2005 Author Share Posted August 20, 2005 Thanks! In my case, the problem using a point cloud instead of proximity method is that based on proximity group info, I want to change the motion of particles. So point cloud method will not work for my case. What is the point of having the "creathing proximity group" option in proximity node, if there is no useful method of using it in pop. Quote Link to comment Share on other sites More sharing options...
sibarrick Posted August 20, 2005 Share Posted August 20, 2005 There probably is, but maybe not for what you are trying to do, I'm not too familiar with pops though. When you said you wanted a different group for each particle I just thought of point clouds as the answer. All the things you mention in your original mail can be done with a point cloud, what extra does directly using the group tell you? There is this command is vex though int ingroup(string group_name; int point_number) which will return 1 if the particle is in the group. I don't think there is a vop for it, but you can insert it with the inline vop. But it you still won't be able to have a different group for every particle. Quote Link to comment Share on other sites More sharing options...
dong shin Posted August 24, 2005 Author Share Posted August 24, 2005 I wrote this vop to figure out the avg velocity, pos, and etc... in proximity. By using similar method, you can find out the fastest velocity in proximity and many other info by comparing with existing value. However, I still wonder how to use the proximity group option more effectively. jProximity.zip 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.