Grasshopper

algorithmic modeling for Rhino

I was playing with Octree these days, but I found something I dont understand.

 

how to I control the size of cube generated?

It seems is limited the size of box to 1/8 of the major axis?

(500x500x1500 shown below)

Views: 5687

Replies to This Discussion

You don't control the size of the cube, the size is a direct result of the local point density. Octrees work as follows;

  1. A single box is created to contain all points. It can either be a tight boundingbox or a cube.
  2. If the box contains more than G points then then box is subdivided into 8 smaller boxes, each exactly 1/8 of the volume.
  3. For each new box, repeat step 2.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service