/threejs-octree

Lightweight and efficient spatial partitioning lib designed specifically for Three.js

Primary LanguageTypeScriptMIT LicenseMIT

threejs-octree

Licensenpm version Follow me on Twitter:Eriks Twitter

Description

threejs-octree is a library for working with octrees in Three.js. It provides efficient spatial partitioning for optimizing scene rendering and collision detection.

The library is a modified version of the Babylon.js implementation of octrees.

Demo

Check out the live demo to see threejs-octree in action.

Features

  • Efficient spatial partitioning using octrees
  • Automatic folding and collapsing of ndoes
  • Intersection queries for collision detection
  • Customizable octree configuration and parameters