Grasshopper

algorithmic modeling for Rhino

visualising the density of a 3D point cloud

Does anyone know what the best way to do this is? I have been trying to do this with a gradient by finding the relative distances between points and can't work it out.

Thanks!

Views: 594

Comment

You need to be a member of Grasshopper to add comments!

Comment by Giorgi Smith on October 28, 2017 at 11:30pm

Thanks I will try that!

Comment by Luis Fraguada on October 27, 2017 at 2:08am

Do you have any references as to what this should look like? There are several ways to go about this, and depending on the number of points, you might go for one approach or another. If the number of points is lower than 10k, maybe I'd go with the Vector > Point > Closest Points component. and feed your point cloud to the first two inputs. The distance result will be a data tree with the n closest points (third input). The first result should be zero, since the component will find the same point. I'd shift this value out of the distance results, and then you can do something with the remaining distances such as add them together, average them, etc. Then you have one distance value for each point. You can take the min/max of these and feed this into your gradient.

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service