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.

Reflections of points in sky atmosphere

See original GitHub issue

Look please at this example: editor view / full page view

In the example, four cities Entity are added to the map. All entities include Label and Point. When viewed from a certain angle, a reflection of points in the sky appears.

It has been experimentally verified that the more points on the map, the more points are reflected in the sky. As the camera moves, the points in the sky begin to flicker.

Below is the code setting the camera position:

var heading = Cesium.Math.toRadians(142.8074308297535);
var pitch = Cesium.Math.toRadians(-3.04226367144852);
var range = 15000.0;
let position = entity4.position.getValue(viewer.clock.currentTime);
viewer.camera.lookAt(position, new Cesium.HeadingPitchRange(heading, pitch, range));

untitled-0 1

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
hpinkoscommented, Aug 9, 2018

I forgot about that one, thanks @emackey Apparently you opened the PR fixing that one year ago today: #5735 I found that amusing =P

1reaction
emackeycommented, Aug 9, 2018

This is a regression of #5501. The sandcastle demo there is reproducible once again.

var viewer = new Cesium.Viewer('cesiumContainer');
var collection = new Cesium.PointPrimitiveCollection();
viewer.scene.primitives.add(collection);

// Add 10,000 points to random positions
for (var i = 0; i < 10000; i++) {
    var lat =  Math.random() * 360 - 180; 
    var long =  Math.random() * 360 - 180; 
    collection.add({
        position : Cesium.Cartesian3.fromDegrees(lat, long),
        pixelSize: 3,
        disableDepthTestDistance: 1
    });
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Exploring the depths of the new Sky & Atmosphere system
This hands-on presentation by Epic's Sjoerd De Jong explores the Sky Atmosphere system in Unreal Engine. Starting off with the basics, ...
Read more >
[4.25] Skylight with higher intensity causes very bright Sky ...
The reflection of the sky is STILL inaccurate if scene's Skylight intensity is increased. Note that the OP has spent very much time...
Read more >
shadows, reflections & atmosphere - Handprint
However, a traditional rule of thumb is: solar shadows are indistinguishable from the shadows created by a point light source; the penumbra of...
Read more >
Mirages and other atomospheric optic phenomena
Mirages are produced by atmospheric refraction and are mainly seen in settings where there are large variations in the air temperature, such as...
Read more >
Theory of Meteor Reflection | IMO
This last property creates a link between the position of the meteor reflection point in the sky and the meteor path in the...
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