ErikSom / threejs-octree

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:TypeScript 96.4%Language:JavaScript 3.6%