diff --git a/examples/vr_dechen_cave.html b/examples/vr_dechen_cave.html new file mode 100644 index 00000000..579f3fea --- /dev/null +++ b/examples/vr_dechen_cave.html @@ -0,0 +1,137 @@ + + + + + + + + + + + Potree Viewer + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + + + + +
+ + + +
+ + + diff --git a/examples/vr_heidentor.html b/examples/vr_heidentor.html new file mode 100644 index 00000000..cc970af3 --- /dev/null +++ b/examples/vr_heidentor.html @@ -0,0 +1,153 @@ + + + + + + + + + + + Potree Viewer + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + + + + +
+ + + +
+ + + diff --git a/src/viewer/Scene.js b/src/viewer/Scene.js index 176e4aaa..d98c3667 100644 --- a/src/viewer/Scene.js +++ b/src/viewer/Scene.js @@ -287,28 +287,28 @@ export class Scene extends EventDispatcher{ this.sceneBG.add(bg); } - { // lights - { - let light = new THREE.DirectionalLight(0xffffff); - light.position.set(10, 10, 1); - light.target.position.set(0, 0, 0); - this.scene.add(light); - } + //{ // lights + // { + // let light = new THREE.DirectionalLight(0xffffff); + // light.position.set(10, 10, 1); + // light.target.position.set(0, 0, 0); + // this.scene.add(light); + // } - { - let light = new THREE.DirectionalLight(0xffffff); - light.position.set(-10, 10, 1); - light.target.position.set(0, 0, 0); - this.scene.add(light); - } + // { + // let light = new THREE.DirectionalLight(0xffffff); + // light.position.set(-10, 10, 1); + // light.target.position.set(0, 0, 0); + // this.scene.add(light); + // } - { - let light = new THREE.DirectionalLight(0xffffff); - light.position.set(0, -10, 20); - light.target.position.set(0, 0, 0); - this.scene.add(light); - } - } + // { + // let light = new THREE.DirectionalLight(0xffffff); + // light.position.set(0, -10, 20); + // light.target.position.set(0, 0, 0); + // this.scene.add(light); + // } + //} } addAnnotation(position, args = {}){