Giter VIP home page Giter VIP logo

potree23dtiles's Introduction

potree to cesium 3dtiles

Thanks to Potree and cesium for their contributions for rendering large point clouds

https://github.com/potree
https://github.com/potree/PotreeConverter
https://github.com/AnalyticalGraphicsInc/3d-tiles/tree/master/specification

usage:

potreeConvert 1.x version,test 1.7

# generate compressed LAZ files instead of the default BIN format.
./PotreeConverter.exe C:/data.las -o C:/potree_converted --output-format LAS -p pageName

potreeConvert 2.x version,test 2.0

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

potree23dtiles

see function for specific usage.

convert23dtiles(src,outdir,proj_param,max_level=5) 
>> src:potree out data dir,include cloud.js file
>> outdir:output
>> proj_param:proj4 param,ex:EPSG:32650
>> max_level:max tree node level,default 15

cesium

    var tileset = new Cesium.Cesium3DTileset({ url: "http://127.0.0.1/test/tileset.json" });
   
    tileset.readyPromise.then(function(data) {
        viewer.scene.primitives.add(data);
        viewer.zoomTo(tileset);
    }
    

todos

  • support potreeconvert 2.0
  • support las to 3dtiles,now only support for windows
  • support save to db files(ex:sqlite)
  • merge multi 3dtiles
  • speed โ€‹โ€‹up data convert

potree23dtiles's People

Watchers

James Cloos 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.