From 0239d3fb578e55c12d49fa06148650da93f815b4 Mon Sep 17 00:00:00 2001 From: lindsay Date: Tue, 17 Oct 2023 03:58:00 +0200 Subject: [PATCH] Example tweak --- ...ionPlanesPlugin_createWithMouse_photogrammetry.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/slicing/SectionPlanesPlugin_createWithMouse_photogrammetry.html b/examples/slicing/SectionPlanesPlugin_createWithMouse_photogrammetry.html index abffb3b21c..daf0dacefa 100644 --- a/examples/slicing/SectionPlanesPlugin_createWithMouse_photogrammetry.html +++ b/examples/slicing/SectionPlanesPlugin_createWithMouse_photogrammetry.html @@ -71,6 +71,10 @@

Resources

colorTextureEnabled: true }); + viewer.scene.gammaInput = true; + viewer.scene.gammaOutput = true; + viewer.scene.gammaFactor = 4.4; + viewer.camera.eye = [-3.351107502463288, 3.9321259279903114, 4.030067755126885]; viewer.camera.look = [-0.687950493700225, 0.9435747389607769, 0.21646512460703526]; viewer.camera.up = [0.309485261773766, 0.8413154758004762, -0.4431784549404927]; @@ -96,7 +100,7 @@

Resources

const sceneModel = gltfLoader.load({ id: "myModel", - src: "../../assets/models/gltf/skatepark/scene.gltf", + src: "../../assets/models/gltf/SkatePark/glTF-Binary/SkatePark.glb", colorTextureEnabled: true }); @@ -104,10 +108,6 @@

Resources

viewer.cameraFlight.jumpTo(sceneModel); }); - //------------------------------------------------------------------------------------------------------------------ - // Use the AnnotationsPlugin to create an annotation wherever we click on an object - //------------------------------------------------------------------------------------------------------------------ - var i = 1; viewer.scene.input.on("mouseclicked", (coords) => {