WebSurfels is an library for high-quality point cloud rendering on the Web. The implementation uses EWA splatting and renders normal-aligned splats to reconstruct the sampled surfaces.
This work is part of my Master's thesis at TUM and is mainly experimental.
There are three npm packages in this repository:
web-surfelsis the core libraryexample-servercontains examples how to run the code on the server, see anotherREADMEin the subfolder for detailsexample-uicontains an Angular project with a few visual demos, see anotherREADMEin the subfolder for details
Currently, no packages are published on npm. Therefore, the dependencies need to be linked locally.
First, set up the core library. Run following in the web-surfels folder:
npm installto get third-party dependenciesnpm run buildto build the code (TypeScript to JavaScript)npm linkto register package locally- optionally:
npm run testto run tests (but there are not many of them)
When you change the library code or run npm install, you might need to re-build the library and re-link it.
After the core library is ready, you can run server-side and browser code examples.
See additional README files in the example-server and example-ui subfolders.