Gecoblack Posted July 25, 2018 Share Posted July 25, 2018 Hi everyone, I'm trying to set the pscale of every point in a point cloud with the minimum distance between each other. Basically, I want to achieve this tutorial of Javier Toledo but I don't need the growing effect, only the final result as you can see in the video preview. So I have a point cloud and I wrote this in a point wrangle. I thought it was correct, but for some reason, it doesn't work. Does anyone know why? @pscale = 0.0001; int active = 1; while(active == 1){ int near_pts[] = pcfind_radius(0,"P","pscale",1,@P,@pscale,2); @pscale += 0.0001; if(len(near_pts) > 1){ active = 0; } } Thanks in advance! Flavio Tarantini 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.