Skip to content

Generates an octree from an stl file. Inefficient, but extremely robust especially with regards to non-watertight meshes.

License

Notifications You must be signed in to change notification settings

mboerwinkle/OctreeGen

Repository files navigation

OctreeGen

Octree Hubble; Rendered with FSTL

Generates an octree from an stl file. Inefficient, but extremely robust especially with regards to non-watertight meshes.

Supports export as .stl (as shown above) or a raw octree format.

Compiling

Run make.

For a debug build, run make clean; make BUILD=debug.

Usage

See ./octreegen --help for full details. To generate the hubble model shown, run:

wget https://789012.xyz/octreegen/hubble.stl;

./octreegen -i "hubble.stl" -o "hubbleoct.stl" -r 10 -s 1740

About

Generates an octree from an stl file. Inefficient, but extremely robust especially with regards to non-watertight meshes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published