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.

label : HeightReference.CLAMP_TO_GROUND "An error occurred while rendering."

See original GitHub issue

Today I update cesium 1.47 instaed 1.43. But when I add a label with “heightReference: Cesium.HeightReference.CLAMP_TO_GROUND”, the chrome reports me the text :

An error occurred while rendering. Rendering has stopped. RuntimeError: Program failed to link. Link log: Could not pack varying v_logZ Note: Additional non-conformant packing restrictions are enforced on D3D9.

Error at new t (http://localhost:5000/libs/Cesium/1.47/Cesium.js:451:28517) at f (http://localhost:5000/libs/Cesium/1.47/Cesium.js:480:17965) at y (http://localhost:5000/libs/Cesium/1.47/Cesium.js:480:19679) at d._bind (http://localhost:5000/libs/Cesium/1.47/Cesium.js:480:20694) at G (http://localhost:5000/libs/Cesium/1.47/Cesium.js:508:913) at k.draw (http://localhost:5000/libs/Cesium/1.47/Cesium.js:508:4878) at n.execute (http://localhost:5000/libs/Cesium/1.47/Cesium.js:479:21080) at Ge (http://localhost:5000/libs/Cesium/1.47/Cesium.js:530:16825) at Xe (http://localhost:5000/libs/Cesium/1.47/Cesium.js:530:21309) at tt (http://localhost:5000/libs/Cesium/1.47/Cesium.js:530:26613)

my test code:

var viewer = new Cesium.Viewer('cesiumContainer', {
    terrainProvider: Cesium.createWorldTerrain()
});
viewer.scene.globe.depthTestAgainstTerrain = true;

var e = viewer.entities.add({
    position : Cesium.Cartesian3.fromDegrees(-122.1958, 46.1915),
     label : {
        text : 'Clamped to ground',
        heightReference : Cesium.HeightReference.CLAMP_TO_GROUND,
        horizontalOrigin : Cesium.HorizontalOrigin.CENTER,
        verticalOrigin : Cesium.VerticalOrigin.BOTTOM,
        fillColor : Cesium.Color.BLACK,
        showBackground : true,
        backgroundColor : new Cesium.Color(1, 1, 1, 0.7),
        backgroundPadding : new Cesium.Cartesian2(8, 4)
    }
});

viewer.trackedEntity = e;

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
shuntercommented, Jul 12, 2018

WebGLReport is designed specifically so that you can easily copy/paste the page as text into notepad. ctrl-a, ctrl-c, ctrl-v into notepad. then copy/paste here.

0reactions
cesium-conciergecommented, Jul 25, 2018

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

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

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

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

Disabling KML/KMZ clipping into terrain? - Cesium Community
Hello, When a KML/KMZ file containing a label is imported into Cesium, ... CesiumWidget.js?d9c1:690 An error occurred while rendering.
Read more >
No KML support for polygons draped on terrain? Failing ...
However, while the czml gets properly draped on the terrain, the kml is rendered as it's own object floating below the terrain (you...
Read more >
Solved: 'An error occurred while rendering the report.' wi...
I found some issues here with 2016 date related to 'An error occurred while rendering the report.' and old versions of Power BI...
Read more >
terriajs-cesium/CHANGES.md - UNPKG
When true, Cesium renders at CSS pixel resolution instead of native ... were not honoring the `clampToGround` option for billboards and labels and...
Read more >
Global - Cesium Documentation - Agi
OPAQUE, Number, The billboards, points, or labels in the collection are ... Constants used by Clock#tick to determine behavior when Clock#startTime or ...
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