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.

Polygon entities are classifying 3D Tiles by default

See original GitHub issue

Any polygon created with the entity API is classifying 3D Tiles by default, but it should instead appear underneath.

@bagnell could you take a look at this?

Reported on the forum: https://groups.google.com/forum/#!topic/cesium-dev/leIJUfQ37ro

var viewer = new Cesium.Viewer('cesiumContainer');

Cesium.CesiumIon.create3DTileset(1458, { accessToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIxYmJiNTAxOC1lOTg5LTQzN2EtODg1OC0zMWJjM2IxNGNlYmMiLCJpZCI6NDQsImFzc2V0cyI6WzE0NThdLCJpYXQiOjE0OTkyNjM4MjB9.1WKijRa-ILkmG6utrhDWX6rDgasjD7dZv-G5ZyCmkKg' })
    .then(function(tileset) {
        viewer.scene.primitives.add(tileset);
        viewer.zoomTo(tileset);
    });

viewer.entities.add({
    polygon : {
        hierarchy : new Cesium.PolygonHierarchy(Cesium.Cartesian3.fromRadiansArray([-1.3194369277314022, 0.6988062530900625, -1.3193955980204217, 0.6988091578771254, -1.3193931220959367, 0.698743632490865, -1.3194358224045408, 0.6987471965556998])),
        material : Cesium.Color.RED
    }
});

polygons-on-3dtiles

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
hpinkoscommented, Feb 12, 2018

@lilleyse everything defaults to being a ground primitive through the Entity API unless you specify height. This is so it contours to terrain by default.

0reactions
cesium-conciergecommented, Feb 28, 2018

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

https://groups.google.com/forum/#!topic/cesium-dev/leIJUfQ37ro

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

The issue at https://github.com/AnalyticalGraphicsInc/cesium/issues/6195 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.

🌍 🌎 🌏

Read more comments on GitHub >

github_iconTop Results From Across the Web

Polygon entities are classifying 3D Tiles by default · Issue #6195
Any polygon created with the entity API is classifying 3D Tiles by default, but it should instead appear underneath.
Read more >
Styling and Filtering 3D Tiles - Cesium
This guide explains how to use CesiumJS to style and filter 3D Tiles to highlight important features of ... A 3D Tileset with...
Read more >
What do you want to see from Cesium in 2019? - Google Groups
Capacity to classify an entity in a similar manner we can do with terrain and 3D Tiles: ex : Cesium.ClassificationType.ENTITY.
Read more >
3D Tiles Specification - OGC Portal
In 3D Tiles, a tileset is a set of tiles organized in a spatial data structure, the tree. A tileset is described by...
Read more >
terriajs-cesium/CHANGES.md - UNPKG
98, * Cesium now renders at native device resolution by default instead of CSS ... 253, * Added support for polylines and textured...
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