You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While experimenting with lighting options for a glTF model provided in KhronosGroup/COLLADA2GLTF#172, I discovered the model sometimes disappears from view while moving the camera. This didn't start happening until I merged master into my branch, bringing in logDepth along with it.
Git bisect isolates a specific commit from LogDepth where the problem is introduced: 0d90d98
The original model from that issue has some un-related validation errors, here's a cleaned-up copy of the model:
var viewer = new Cesium.Viewer('cesiumContainer', {
infoBox : false,
selectionIndicator : false,
shadows : false,
});
function createModel(url) {
viewer.entities.removeAll();
var position = Cesium.Cartesian3.fromDegrees(-123.074085, 44.050050, 10);
var heading = Cesium.Math.toRadians(-20);
var pitch = 0;
var roll = 0;
var hpr = new Cesium.HeadingPitchRoll(heading, pitch, roll);
var orientation = Cesium.Transforms.headingPitchRollQuaternion(position, hpr);
var entity = viewer.entities.add({
name : url,
position : position,
orientation : orientation,
model : {
scale: 10,
uri : url,
minimumPixelSize : 128,
maximumScale : 20000
}
});
viewer.trackedEntity = entity;
}
createModel('../../SampleData/models/emackey/Collada2gltf_issue172.gltf');
Here's the bad behavior:
The text was updated successfully, but these errors were encountered:
While experimenting with lighting options for a glTF model provided in KhronosGroup/COLLADA2GLTF#172, I discovered the model sometimes disappears from view while moving the camera. This didn't start happening until I merged master into my branch, bringing in logDepth along with it.
Git bisect isolates a specific commit from LogDepth where the problem is introduced: 0d90d98
The original model from that issue has some un-related validation errors, here's a cleaned-up copy of the model:
Collada2gltf_issue172.zip
And the reproduce code:
Here's the bad behavior:
The text was updated successfully, but these errors were encountered: