Skip to content

angladeelodie/point-cloud-visualizer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Point clouds visualization with Three.js

Showcase project about point clouds, depth maps, image morphing and Three.js. You can find more information about the project's background in my blog post.

Project also contains examples of how to compute / select the best path within the vector field. More detailed description is in another blog post.

Usage - Point clouds

Live demo is already hosted at Github pages.

In case you want to run project locally:

git clone git@github.com:adamblack/point-cloud-visualizer.git
cd ./point-cloud-visualizer
npm i
npm run dev

Default scenario uses the same resources as the Live demo. If you want to use raw data for better quality, set variables in geometryHelper.ts as:

// true and false - prod
// true | false and true - dev -> i.e. provide images from your server in api pathPrefix settings
// do not forget to edit imports
useLocalAssets = true
useRawData = true

// if true, mesh generation is offloaded to worker and useLocalAssets/useRawData is ignored
// used in prod, behaves like useLocalAssets = true, useRawData = false
useWorker = false

Also, you have to use different set of imports (gzip ones) at api.ts. This rather clumsy setup process will be streamlined later.

Usage - Vector fields

git clone git@github.com:adamblack/point-cloud-visualizer.git
cd ./point-cloud-visualizer
npm i
npm run dev

In client.ts, just comment out init of CloudPointRenderer.

Future plans

  • probably merge geometry generators methods
  • import of local resources via webpack should be streamlined
  • move even more operations to Web worker
  • investigate OffscreenCanvas and improve performance
  • a lot of new features

Known issues

  • Some scenarios cause page reload on the iPhone while using Safari or Chrome

About

Point cloud visualizer for images with depth maps and other interesting algorithms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.6%
  • JavaScript 1.3%
  • HTML 0.1%