correct workflow from photoscan to a cesium city model

can you tell me correct workflow to export a photoscan project in cesium?

densecloud > export to cesium (zip)

**or **

densecloud > mesh > texture > collada/kmz > cesium ion

or

densecloud > mesh > tile3d > collada/kmz > cesium(zip)

i’m very confusing about right steps

thank you

I think the best way might be to use texture > Collada/KMZ and then upload to cesium ion. If you’re having trouble with that, let me know what your asset ID is on ion.

and what about coordinate system? i’ve tried with wgs, local from export parameter, but in ion, after tiling, no model placed on map…I’ve manually tried placing model in right coord, but no effect

align photo -> dense cloud -> tile 3d -> tile 3d export with cesium 3dtile format -> unzip

and use this code in html

var tileset = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
            url: './Apps/SampleData/models/(YourtileName)/tileset.json'
}));

coordinate system epsg 4978 or 4326 maybe right.

need to create a blank html and past those lines with correct json path?
where i have to create this html?

!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
    <title>C3D 3D Model Test!!</title>
    <script type="text/javascript" src="./Build/Cesium/Cesium.js"></script>
<style>
        @import url(./Build/Cesium/Widgets/widgets.css);
html, body, #cesiumContainer {
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
            overflow: hidden;
        }
</style>
</head>
<body>
    <div id="cesiumContainer" class="fullSize"></div>
<script>
        var viewer = new Cesium.Viewer('cesiumContainer', {
            imageryProvider: Cesium.createWorldImagery(), // use the Bing Maps Aerial imagery from ion (this is the default)
            selectionIndicator: false,
            baseLayerPicker: false,
            homeButton: false,
            sceneModePicker: false,
            timeline: false,
            animation: false,
            shadows: false,
        });
var tileset = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
            url: './Apps/SampleData/models/(YourtileName)/tileset.json'
}));
viewer.zoomTo(tileset, new Cesium.HeadingPitchRange(0, -0.5, 0)); //Zoom to loaded 3dtileset//
</script>
</body>
</html>

在 2019年2月25日星期一 UTC+8下午8:55:32,hol...@coast3d.com写道:

align photo -> dense cloud -> tile 3d -> tile 3d export with cesium 3dtile format -> unzip

and use this code in html

var tileset = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
            url: './Apps/SampleData/models/(YourtileName)/tileset.json'
}));

Hi, I wonder if I can use a obj file to generate tile 3d?And how could the obj file seperate into different part of building?Thanks

Are you asking specifically about PhotoScan or any general OBJ file? If it’s the latter, you can just upload it to Cesium ion. See: