Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terrain cracking #3710

Closed
mramato opened this issue Mar 15, 2016 · 7 comments
Closed

Terrain cracking #3710

mramato opened this issue Mar 15, 2016 · 7 comments

Comments

@mramato
Copy link
Contributor

mramato commented Mar 15, 2016

Noticed this while testing #3706

image

Here's the code:

    var viewer = new Cesium.Viewer('cesiumContainer', {
        baseLayerPicker: false,
        terrainProvider: new Cesium.CesiumTerrainProvider({
            url: '//assets.agi.com/stk-terrain/world'
        })
    });

    var rect = Cesium.Rectangle.fromDegrees(-85.0, 35.99, -84.99, 36.0);
    viewer.camera.setView({destination: rect});

    Sandcastle.addToolbarButton('Bug', function () {
        viewer.scene.groundPrimitives.add(new Cesium.GroundPrimitive({
            geometryInstances : new Cesium.GeometryInstance({
                geometry : new Cesium.RectangleGeometry({
                    rectangle : rect
                }),
                attributes: {
                    color: Cesium.ColorGeometryInstanceAttribute.fromColor(new Cesium.Color(1.0, 1.0, 0.0, 0.5))
                }
            }),
            asynchronous : false
        }));
    });
@mramato
Copy link
Contributor Author

mramato commented Nov 30, 2016

Entering 110 45 in the Geocoder also reproduces cracking, as reported in #4698

@hpinkos
Copy link
Contributor

hpinkos commented Dec 5, 2016

@Geoneer
Copy link

Geoneer commented Dec 6, 2016

I thought this might occus in the specific browser because of the handling of the Globe in webgl. But this is not the case. I did test this in all possible browsers: firefox / IE / Chrome.

Strange thing is at a specific project this is not happening. But I can't get on this project now. (it's on a cruiseship out of internet region). So hopefully I can access this server tomorrow so I can see why this does not happen on that specific server.

Thanks!

@duvifn
Copy link
Contributor

duvifn commented Jan 11, 2017

see #3411 (comment)

@hpinkos
Copy link
Contributor

hpinkos commented Mar 14, 2017

@mramato
Copy link
Contributor Author

mramato commented Mar 15, 2017

I can confirm that #5021 fixes the original cracking problem, but entering 110 45 in the geocoder exposes some major culling issues with terrain, (which may possibly be fixed by #4969)

@bagnell bagnell closed this as completed Mar 16, 2017
@bagnell
Copy link
Contributor

bagnell commented Mar 16, 2017

The terrain cracking is fixed. Going to 110 45 with the geocoder loads fine when using the EllipsoidTerrainProvider for me. If I switch it to use STK Terrain, some of the tiles are missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants