Grasshopper

algorithmic modeling for Rhino

Hi I am new to grasshopper and I am trying to trace the flock with isosurface. I am getting really confused, even though I have read a lo about it.

Any advice please help? Thank you

Views: 582

Attachments:

Replies to This Discussion

Hi,

To trace the trails using isosurfaces you need to generate the trails as polylines or other type of curves. Then you need to sample a three dimensional grid [rx x ry x rz] of points that fills the bounding box of the trails and for each point compute the distance to the closest curve [or a weighted average of exponentially decaying distances [exp(-d1^2)+exp(-d2^2) + ....] of the point to all the trails if you want smooth blending between intersecting trails].  

In the end you get just a list of [rx x ry x rz] values V  and the grid resolution as three integers [rx x ry x rz] and connect them to the millipede isosurface component.

This may be slow because if you want high resolution then you will end up with millions of points and calculating all these distances and then the isosurfaces of the corresponding voxels is time and memory intensive. So start with a low resolution [say 25x25x25] and increase gradually depending on your computer's capabilities and desired quality.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service