diff --git a/examples/annotations/annotations_createAtCenterOfClickedObject.html b/examples/annotations/annotations_createAtCenterOfClickedObject.html index ddd35b811e..a6717f8381 100644 --- a/examples/annotations/annotations_createAtCenterOfClickedObject.html +++ b/examples/annotations/annotations_createAtCenterOfClickedObject.html @@ -139,6 +139,8 @@

Resources

viewer.camera.look = [4.40, 3.72, 8.89]; viewer.camera.up = [-0.01, 0.99, 0.039]; + viewer.cameraControl.doublePickFlyTo = false; + //------------------------------------------------------------------------------------------------------------------ // Load a model //------------------------------------------------------------------------------------------------------------------ diff --git a/examples/buildings/glTF_Schependomlaan.html b/examples/buildings/glTF_Schependomlaan.html index 35d4142a4a..bf4733253e 100644 --- a/examples/buildings/glTF_Schependomlaan.html +++ b/examples/buildings/glTF_Schependomlaan.html @@ -59,6 +59,8 @@

Assets

viewer.scene.selectedMaterial.fillAlpha = 0.1; + viewer.cameraControl.doublePickFlyTo = false; + //---------------------------------------------------------------------------------------------------------------------- // Create a glTF loader plugin, load a glTF model, fit to view //---------------------------------------------------------------------------------------------------------------------- diff --git a/examples/buildings/glTF_VianneyHouse.html b/examples/buildings/glTF_VianneyHouse.html index bc7ad0906a..262e4fbc7b 100644 --- a/examples/buildings/glTF_VianneyHouse.html +++ b/examples/buildings/glTF_VianneyHouse.html @@ -56,6 +56,8 @@

Assets

viewer.camera.look = [13.44, 3.31, -14.83]; viewer.camera.up = [0.10, 0.98, -0.14]; + viewer.cameraControl.doublePickFlyTo = false; + new ReflectionMap(viewer.scene, { src: [ "../../assets/textures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_PX.png", diff --git a/examples/buildings/glb_VianneyHouse.html b/examples/buildings/glb_VianneyHouse.html index 3686245704..1d95cdf83f 100644 --- a/examples/buildings/glb_VianneyHouse.html +++ b/examples/buildings/glb_VianneyHouse.html @@ -61,6 +61,8 @@

Assets

viewer.camera.look = [13.44, 3.31, -14.83]; viewer.camera.up = [0.10, 0.98, -0.14]; + viewer.cameraControl.doublePickFlyTo = false; + // new ReflectionMap(viewer.scene, { // src: [ // "../../assets/textures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_PX.png", diff --git a/examples/lidar/glb_Roadworks.html b/examples/lidar/glb_Roadworks.html index c158659c96..73b3ca0b7f 100644 --- a/examples/lidar/glb_Roadworks.html +++ b/examples/lidar/glb_Roadworks.html @@ -82,6 +82,8 @@

Resources

viewer.camera.look = [-0.687950493700225, 0.9435747389607769, 0.21646512460703526]; viewer.camera.up = [0.309485261773766, 0.8413154758004762, -0.4431784549404927]; + viewer.cameraControl.doublePickFlyTo = false; + const gltfLoader = new GLTFLoaderPlugin(viewer); const sceneModel = gltfLoader.load({ diff --git a/examples/picking/pick_setObjectsPickable.html b/examples/picking/pick_setObjectsPickable.html index c13018eebc..2feb68587d 100644 --- a/examples/picking/pick_setObjectsPickable.html +++ b/examples/picking/pick_setObjectsPickable.html @@ -50,6 +50,8 @@

Controlling which objects are pickable

viewer.camera.look = [4.400, 3.724, 8.899]; viewer.camera.up = [-0.018, 0.999, 0.039]; + viewer.cameraControl.doublePickFlyTo = false; + //---------------------------------------------------------------------------------------------------------------------- // Create a xeokit loader plugin, load a model, fit to view //---------------------------------------------------------------------------------------------------------------------- @@ -64,16 +66,16 @@

Controlling which objects are pickable

}); //------------------------------------------------------------------------------------------------------------------ - // Set all objects un-pickable and grey, except for the slab in front of the door, which we'll set pickable and blue + // Set all objects un-pickable and grey, except for the one wall in front of camera, which we'll set pickable and blue //------------------------------------------------------------------------------------------------------------------ sceneModel.on("loaded", () => { viewer.scene.setObjectsColorized(viewer.scene.objectIds, [0.4, 0.4, 0.4]); - viewer.scene.setObjectsColorized(["1CZILmCaHETO8tf3SgGEXu"], [0, 0, 1]); + viewer.scene.setObjectsColorized(["2O2Fr$t4X7Zf8NOew3FLOH"], [0, 0, 1]); - viewer.scene.setObjectsPickable(["1CZILmCaHETO8tf3SgGEXu"], true); + viewer.scene.setObjectsPickable(["2O2Fr$t4X7Zf8NOew3FLOH"], true); }); //------------------------------------------------------------------------------------------------------------------