Giter VIP home page Giter VIP logo

daveiw2034 / potreeconverter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from potree/potreeconverter

0.0 0.0 0.0 32.19 MB

Create multi res point cloud to use with potree

Home Page: http://potree.org

License: BSD 2-Clause "Simplified" License

Shell 0.05% JavaScript 82.39% C++ 8.94% Python 0.04% C 7.95% PHP 0.01% Lua 0.01% CSS 0.24% Makefile 0.01% HTML 0.28% CMake 0.09% M4 0.01% Starlark 0.01%

potreeconverter's Introduction

About

PotreeConverter generates an octree LOD structure for streaming and real-time rendering of massive point clouds. The results can be viewed in web browsers with Potree or as a desktop application with PotreeDesktop.

Version 2.0 is a complete rewrite with following differences over the previous version 1.7:

  • About 10 to 50 times faster than PotreeConverter 1.7 on SSDs.
  • Produces a total of 3 files instead of thousands to tens of millions of files. The reduction of the number of files improves file system operations such as copy, delete and upload to servers from hours and days to seconds and minutes.
  • Better support for standard LAS attributes and arbitrary extra attributes. Full support (e.g. int64 and uint64) in development.
  • Optional compression is not yet available in the new converter but on the roadmap for a future update.

Altough the converter made a major step to version 2.0, the format it produces is also supported by Potree 1.7. The Potree viewer is scheduled to make the major step to version 2.0 in 2021, with a rewrite in WebGPU.

Publications

Getting Started

  1. Download windows binaries or
    • Download source code
    • Install CMake 3.16 or later
    • Create and jump into folder "build"
      mkdir build
      cd build
      
    • run
      cmake ../
      
    • On linux, run: make
    • On windows, open Visual Studio 2019 Project ./Converter/Converter.sln and compile it in release mode
  2. run PotreeConverter.exe <input> -o <outputDir>
    • Optionally specify the sampling strategy:
    • Poisson-disk sampling (default): PotreeConverter.exe <input> -o <outputDir> -m poisson
    • Random sampling: PotreeConverter.exe <input> -o <outputDir> -m random

In Potree, modify one of the examples with following load command:

let url = "../pointclouds/D/temp/test/metadata.json";
Potree.loadPointCloud(url).then(e => {
	let pointcloud = e.pointcloud;
	let material = pointcloud.material;

	material.activeAttributeName = "rgba";
	material.minSize = 2;
	material.pointSizeType = Potree.PointSizeType.ADAPTIVE;

	viewer.scene.addPointCloud(pointcloud);
	viewer.fitToScreen();
});

Alternatives

PotreeConverter 2.0 produces a very different format than previous iterations. If you find issues, you can still try previous converters or alternatives:

PotreeConverter 2.0 PotreeConverter 1.7 Entwine
license free, BSD 2-clause free, BSD 2-clause free, LGPL
#generated files 3 files total 1 per node 1 per node
compression none (TODO) LAZ (optional) LAZ

Performance comparison (Ryzen 2700, NVMe SSD):

License

PotreeConverter is available under the BSD 2-clause license.

potreeconverter's People

Contributors

m-schuetz avatar potree avatar svenstaro avatar sanak avatar cvvergara avatar midnight-dev avatar dkastl avatar gfacciol avatar jamescorbett avatar spatialhast avatar tigerfoot avatar ccinc avatar eokeeffe avatar prior99 avatar headart avatar matteo-pampana avatar ollira avatar peppsac avatar robertmrk avatar skinkie avatar tobias93 avatar vpicavet avatar digimatspa avatar ghgr avatar pijemcolu avatar oscarmartinezrubi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.