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.

Overlapping billboards blended incorrectly

See original GitHub issue

The icon blending issues fixed in #5066 can still be reproduced with a lot of overlapping icons.

Take the following Sandcastle snippet:

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

var altitude = 75000;
var count = 5000;
var opacity = 1.0;
var degrees = 1;

for (var i = 0; i < count; i++) {
    viewer.entities.add({
        position : Cesium.Cartesian3.fromDegrees(Math.random() * degrees, Math.random() * degrees),
        billboard :{
            image : 'http://maps.google.com/mapfiles/kml/shapes/parks.png',
            scale : 0.5,
            color : new Cesium.Color(1.0, 1.0, 1.0, opacity)
        }
    });
}

viewer.camera.flyTo({
    destination : Cesium.Cartesian3.fromDegrees(degrees / 2, degrees / 2, altitude)
});

At the provided altitude, icon borders bleed into other icons: screen shot 2017-04-05 at 2 42 52 pm

If you zoom out, the icon borders no longer overlap.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
hpinkoscommented, Sep 19, 2019

Appears fixed image

1reaction
ZacLiveEarthcommented, Feb 26, 2018

Pretty much any png with anti-aliased edges will do. The tree icon above, for example, should work just fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Overlapping billboards mix 'welcome' sign and anti-abortion ...
A billboard outside Moose Jaw appears to mix an older 'Welcome' greeting with a newer anti-abortion message. (CBC).
Read more >
How to Fix Overlapping Vertices in Blender (Tutorial) - YouTube
0:00 · New! Watch ads now so you can enjoy fewer interruptions. Got it.
Read more >
Blending - LearnOpenGL
Blending in OpenGL is commonly known as the technique to implement transparency within objects. ... A blended scene in OpenGL where order is...
Read more >
Volumetric Billboards | Hal-Inria
De- spite their number and their overlapping, there are no arti- facts resulting from incorrect transparency handling between objects.
Read more >
Fixing lightmap UV overlap - Unity - Manual
Identification. There are three ways to identify overlaps: Keep an eye on Unity's console. If Unity detects overlapping UVs, it prints a warning ......
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