question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

3D tiles bounding volumes don't move with tileset modelMatrix

See original GitHub issue

With the chappes church point cloud model:

chappes.readyPromise.then(function() {
    var cartographic = Cartographic.fromCartesian(chappes.boundingSphere.center);
    var surface = Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, 0.0);
    var offset = Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, 415.49299710114906); //2.9262921309980063, 46.388339804887515, 415.49299710114906
    var translation = Cartesian3.subtract(offset, surface, new Cartesian3());
    chappes.modelMatrix = Matrix4.fromTranslation(translation);
});
camera.flyTo({
    destination: new Cartesian3(4401822.465194312, 225035.28458448383, 4595539.250208599),
    orientation: {
            heading: 5.404892352900644,
            pitch: -1.4530591151917136,
            roll: 6.260800942147647
    }
})

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
cesium-conciergecommented, Jul 11, 2018

Congratulations on closing the issue! I found these Cesium forum links in the comments above:

https://groups.google.com/forum/#!topic/cesium-dev/OIP2B_UgGns https://groups.google.com/forum/#!topic/cesium-dev/rUFnzb0d14o https://groups.google.com/forum/#!topic/cesium-dev/j-8uQL0lJTo https://groups.google.com/forum/#!topic/cesium-dev/DE_iV6WAZcs

If this issue affects any of these threads, please post a comment like the following:

The issue at https://github.com/AnalyticalGraphicsInc/cesium/issues/5984 has just been closed and may resolve your issue. Look for the change in the next stable release of Cesium or get it now in the master branch on GitHub https://github.com/AnalyticalGraphicsInc/cesium.


I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.

🌍 🌎 🌏

0reactions
lilleysecommented, Jun 29, 2018

Another forum post: https://groups.google.com/forum/#!topic/cesium-dev/DE_iV6WAZcs

I submitted a PR to fix this, if we decide to allow transforms to move regions. https://github.com/AnalyticalGraphicsInc/cesium/pull/6755

Read more comments on GitHub >

github_iconTop Results From Across the Web

3Dtiles models bounding volumes doesn't match the tile's ...
Hi All,. I'm struggling to change modelMatrix . My tileset is local coordinate system ,i want to transforms from the tile's local coordinate...
Read more >
Cesium3DTileset - Cesium Documentation
A 3D Tiles tileset, used for streaming massive heterogeneous 3D geospatial datasets. ... When true, renders the bounding volume for each tile's content....
Read more >
3D Tiles Specification 1.0 - OGC Standards
Each tile has a bounding volume, an object defining a spatial extent completely enclosing its content. The tree has spatial coherence; the ...
Read more >
main.cesium.Cesium3DTileset.kt Maven / Gradle / Ivy
Don't request tiles that will likely be unused when they come back because of the ... When true, renders the bounding volume for...
Read more >
Cesium3DTileset - Cesium Documentation
When true, renders the bounding volume for each tile's content. ... This feature is using part of the 3D Tiles spec that is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found