Ground Primitive display

Hi guys,

I’m trying to display a bunch of building lots on the terrain by using Ground Primitives. For some reason, whenever I use them I get this funky display:

Any ideas as to what’s going on or how to fix this?

Thanks!

Nathan

Hello,

What browser are you using and what OS and graphics card do you have?

Thanks,

Hannah

I’m using Chrome (Version 46.0.2490.80) with my Mac (10.11) and my graphics card is…
AMD Radeon HD 6750M 1024 MB

I’m not really sure what any of that means except for the Mac version.

I think my problem is in the code…

polygonInstance = new Cesium.GeometryInstance({

geometry : new Cesium.PolygonGeometry({

polygonHierarchy : {

positions : Cesium.Cartesian3.fromDegreesArray([ … ])

}

}),

id : ‘polygon’,

attributes : {

color : new Cesium.ColorGeometryInstanceAttribute(0.0, 1.0, 1.0, 0.5)

}

});

viewer.scene.primitives.add(new Cesium.GroundPrimitive({

geometryInstance : polygonInstance

}));

I’m using DegreesArray which I think is throwing it for a loop. Going to try and figure this out this morning.

I think the issue you’re seeing is related to this issue another user reported: https://github.com/AnalyticalGraphicsInc/cesium/issues/3171
It seems to be a mac + amd specific rendering problem.

-Hannah