-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More Actions #352
Comments
For 3D STAC producers/consumers, it could also make sense to implement support for
Edit:
Potree/COPCExample for potree to represent potree or copc tilesets can be based on Darren Wiens potree viewer implementation, which takes dataset url as urlParam: // color type can be among rgba, elevation, color, elevation, etc
// potree_cloud_js_url = https://potree.org/potree/pointclouds/vol_total/cloud.js
potree_darren_wiens_url = `https://mpc-copc-viewer.netlify.app/?r=${potree_cloud_js_url}&c=rgba` OGC 3D TilesExample for cesium to represent OGC 3D-Tiles, via the Cesium Sandcastle: tileset_url = 'tileset_url'
code_payload = {
html: `
<style> @import url(../templates/bucket.css); </style>
<div id="cesiumContainer" class="fullSize"></div>
`,
code: `
const viewer = new Cesium.Viewer("cesiumContainer", {
terrain: Cesium.Terrain.fromWorldTerrain(),
});
try {
const tileset = await Cesium.Cesium3DTileset.fromUrl(${tileset_url});
viewer.scene.primitives.add(tileset);
viewer.zoomTo(tileset);
} catch (error) {
console.log('Error loading tileset');
}
`
}
code_str = window.btoa(JSON.stringify(code_payload))
cesium_sandcastle_url = `https://sandcastle.cesium.com/index.html?code=${code_str}` Static meshesExample for single static meshes based on open-source 3dviewer, works for gltf/glb, obj, ply, fbx etc
Other cited data formats in the original issue thread, see here |
PRs are more than welcome :-)
Not yet. I'm a bit sceptical about iframes, but I could also see a modular approach to actually embedding e.g. Cesium (maybe via ol-cesium as migrating to ol would anyway be on the roadmap), directly. |
Proposals for more actions (see #342):
The text was updated successfully, but these errors were encountered: