当前位置:网站首页>SHP data making 3dfiles white film

SHP data making 3dfiles white film

2022-07-04 22:55:00 liuccn

3D Tiles Format Introduction

3D Tiles 3D model for large scenes . 3D Tiles Is an open specification , It is used to transmit massive heterogeneous 3D geospatial data sets . The use is conceptually similar to terrain and imagery The tile flow technology of ,3D Tiles Make the building data set 、BIM Model 、 Large models such as point cloud and photogrammetry model are relatively smooth in Web Browse and display on the end .
3D Tiles Official information

transformation .shp File for 3dtiles

  1. download cesiumlab Tools
    Official download address
    User manual
    Download complete , Register an account and log in to the platform .

  2. Go to the general model slice  Insert picture description here

  3. choice shp data , Set white film height information
     Insert picture description here

  4. Set the storage type to hash , Choose the output path , Just submit the task
     Insert picture description here
    Generated result file
     Insert picture description here

  5. Publishing services
     Insert picture description here

  6. Check online
     Insert picture description here
     Insert picture description here
     Insert picture description here

CesiumJs load 3dtiles

var tileset = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
    
	url: 'http://127.0.0.1:8088/3data/tileset.json'
 }));

 tileset.readyPromise.then(function () {
    
     var boundingSphere = tileset.boundingSphere;
     viewer.camera.viewBoundingSphere(boundingSphere, new Cesium.HeadingPitchRange(0.0, -0.5, boundingSphere.radius));
     viewer.camera.lookAtTransform(Cesium.Matrix4.IDENTITY);
 }).otherwise(function (error) {
    
     throw(error);
 });
原网站

版权声明
本文为[liuccn]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/185/202207041952239546.html