It worked fine until the recent Chrome version (56.0.2924.87), scene.pickPosition would return undefined or incorrect position. Has anyone experienced this issue?
Any help would be greatly appreciated.
We have upgraded to Cesium 1.31 but with no success.
The following is a snipplet of code we are currently testing:
var model,modelPosition,screenPosition,terrainPosition;
screenPosition = screenToMap(event); //returns Cartesian2()
terrainPosition = castRayTerrain(screenPosition);
console.info('terrianPosition',terrainPosition);
model = scene.pick(screenPosition);
console.info('model',model);
if (Cesium.defined(model) && scene.pickPositionSupported) {
modelPosition = scene.pickPosition(screenPosition);
}
console.info('modelPosition',modelPosition);
In Chrome (56.2924.87), terrainPosition would return normally and model would return a primitive when mouse is hovering about a glb model. However, with a selected model and scene.pickPositionSupported returning true, modelPosition would return undefined.
We have also tried the above in Chrome Canary (58.0.3026.0) and everything seems to be returning normally.
One of our co-work said he once read a post that this maybe grahpics card related? We are currently testing on windows 8 with AMD Radeon HD 8570 with driver version 21.19.407.0. if this is of any help.
Regards,
John