NASA-AMMOS / NASA-AMMOS/3DTilesRendererJS
OSM2World tileset fails to display, but works in Cesium
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.5k
- Forks
- 416
- Avg merge
- 17h 52m
- Merged PRs (30d)
- 37
Description
Description
The tileset generated from OSM data by the OSM2World project fails to display anything in 3DTilesRendererJS.
Reproduction steps
- Open https://nasa-ammos.github.io/3DTilesRendererJS/three/#https://tiles.osm2world.org/glb/tileset.json
Code
Here is the Cesium Sandcastle code to load the same tileset.
import * as Cesium from "cesium";
const viewer = new Cesium.Viewer("cesiumContainer");
try {
const tileset = await Cesium.Cesium3DTileset.fromUrl('https://tiles.osm2world.org/glb/tileset.json');
viewer.scene.primitives.add(tileset);
viewer.zoomTo(
tileset,
new Cesium.HeadingPitchRange(
Cesium.Math.toRadians(0.0),
Cesium.Math.toRadians(-15.0),
200.0,
),
);
} catch (error) {
console.log(`Error loading tileset: ${error}`);
}
Live example
Screenshots & Tile Set
No response
Library Version
Latest version from the viewer at https://nasa-ammos.github.io
Three.js Version
Version used by https://nasa-ammos.github.io
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with the OSM2World tileset at https://tiles.osm2world.org/glb/tileset.json in the NASA-AMMOS viewer at https://nasa-ammos.github.io/3DTilesRendererJS/three/. Compare its behavior with the supplied Cesium loading example and trace the 3DTilesRendererJS path that loads and displays the tileset. Done means the OSM2World tileset renders in the viewer as it does in Cesium.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, three.js
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100