Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Octree-algorithm-project

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.

image info

📑 Table of Contents

  • Installation
  • Running the APP
  • LAS file saving process
  • Authors
  • License

🚀Installation

To get started:

  1. Open the folder to clone the APP:
cd YourFoldersName
  1. Clone the APP:
git clone https://github.com/ModJuska123/Octree-algorithm-project
  1. Navigate to your folder:
cd YourFoldersName
  1. Check weather Node and NPM are installed:
node -v
npm -v
  1. Instal vite
npm install --savedev vite
  1. Instal three.js library
npm install --save three
  1. Adjust package.json file "scripts" part adding extra script
"scripts": {
    "dev": "vite --host 127.0.0.1"
  }

🎉Running the APP

  1. Open the APP you just cloned entering cd YourFoldersName.
  2. Run the APP entering npm run dev into the terminal.

🧪LAS file saving process

As soon you will run the code LAS file will be generated and saved to your PC.

🎓 Authors

Modestas Juška: Github.

🎭 License

Distributed under the MIT license.

About

Octree algorithm application using JavaScript and the Three.js library

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages