-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Gaps in polyline geometry #2136
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
@shunter I couldn't reproduce this. Are you still seeing this problem? |
I can't reproduce it either. |
My thought was that it was related to the DX11 backend somehow. I can still reproduce in Chrome beta, but it's fine in Firefox (which is using DX9 still) |
Is there still a D3D 9/11 flag in chrome://flags/? |
In 38 beta I don't see any flag related to the DirectX or Direct3D version. |
It happens in IE 11 for me on every machine I try it on. It only happens in Chrome on machines using DX9 back-end. I can try Linux when I get home later. |
I just "synced" and built cesium master and no lines are being drawn, just dots. |
IE 11.0.9600.17280 - Dots only |
I am currently seeing this with agi-cesium "head" on my laptop in IE 11.0.9600.17280 using NVIDIA K1000M. |
I think @GatorScott is on to something because I can reproduce this in Chrome on Linux and obviously that's using OpenGL directly. |
FYI, This does not happen if you use
|
Small chance but perhaps related to #1248 |
The test case I pasted above is fixed, but my original CZML (which I can't share publicly) still has the problem. I'll try to pull out another test case. |
OK, here's a new test case. Sandcastle example: var viewer = new Cesium.Viewer('cesiumContainer');
var scene = viewer.scene;
var czml =[
{
"id":"document",
"version":"1.0"
},
{
"id":"route",
"polyline":{
"followSurface":false,
"width":1,
"material":{
"solidColor":{
"color":{
"rgba":[
255,0,0,255
]
}
}
},
"positions":{
"cartesian":[
-1607793.87907149,-5164461.06063949,3411705.34556153,
-1585713.93720536,-5174609.42604913,3406692.04771375,
-1563214.45610857,-5184859.67459552,3401536.20379345,
-1563214.45610849,-5184859.67459555,3401536.20379344,
-1561976.38119411,-5185460.98932304,3401190.6335343,
-1561642.80317046,-5185637.44746062,3401075.5487791,
-1560178.73941077,-5186495.10130118,3400443.88062164,
-1558843.00025796,-5187419.9641181,3399650.94454107,
-1557654.31073042,-5188398.47902466,3398708.75659211,
-1556629.1367245,-5189416.41627547,3397631.3954333,
-1555781.4783554,-5190459.08947485,3396434.76839922,
-1555122.70609494,-5191511.57186964,3395136.35776428,
-1554661.4391469,-5192558.90927159,3393754.95271154,
-1554403.46455111,-5193586.32686177,3392310.37188104,
-1554351.69494802,-5194579.4278151,3390823.18058573,
-1554506.16275152,-5195524.38227224,3389314.40597153,
-1554864.04861189,-5196408.10562399,3387805.25267016,
-1555419.7424124,-5197218.42532891,3386316.82093771,
-1556164.93552407,-5197944.23555468,3384869.82894568,
-1557088.74352759,-5198575.63883322,3383484.34081979,
-1558177.85899019,-5199104.07369105,3382179.50219693,
-1559416.73406462,-5199522.42691049,3380973.2854523,
-1560787.79258979,-5199825.12876183,3379882.24726997,
-1562271.67098309,-5200008.22928755,3378921.30180266,
-1563847.48652703,-5200069.45358316,3378103.51319093,
-1565493.13071262,-5200008.23405734,3377439.91158593,
-1567185.58419128,-5199825.7179017,3376939.3369538,
-1568901.2487209,-5199524.74846658,3376608.31476741,
-1570616.29040082,-5199109.81990407,3376450.96718048,
-1572306.98760949,-5198587.00525714,3376468.96244105,
-1572306.98760979,-5198587.00525703,3376468.96244107,
-1573610.48247865,-5198138.75742121,3376551.27963324,
-1589321.18008261,-5192715.15362984,3377531.36247231
]
}
}
}
];
var czmlDataSource = new Cesium.CzmlDataSource();
czmlDataSource.load(czml, 'Built-in CZML');
viewer.dataSources.add(czmlDataSource);
scene.camera.viewRectangle(Cesium.Rectangle.fromDegrees(-108, 31, -105, 33)); |
Load this CZML:
This creates a polyline, and also creates points at each position of the polyline for reference. (The points are not part of the problem)
There's a gap in the polyline between two of the points:
The text was updated successfully, but these errors were encountered: