This project is used for learning purpose only. The project implements a standard Octree algorithm using JavaScript and the Three.js library. The Octree is used for 3D spatial partitioning by recursively subdividing space into smaller cubes (nodes) and adding spheres in each. Created objects are saved to LAS format file and delivered to pc.
- Installation
- Running the APP
- LAS file saving process
- Authors
- License
To get started:
- Open the folder to clone the APP:
cd YourFoldersName- Clone the APP:
git clone https://github.com/ModJuska123/Octree-algorithm-project- Navigate to your folder:
cd YourFoldersName- Check weather Node and NPM are installed:
node -v
npm -v- Instal vite
npm install --savedev vite- Instal three.js library
npm install --save three- Adjust package.json file "scripts" part adding extra script
"scripts": {
"dev": "vite --host 127.0.0.1"
}- Open the APP you just cloned entering
cd YourFoldersName. - Run the APP entering
npm run devinto the terminal.
As soon you will run the code LAS file will be generated and saved to your PC.
Modestas Juška: Github.
Distributed under the MIT license.
