bill hace 9 meses
padre
commit
609ff52410
Se han modificado 2 ficheros con 15 adiciones y 3 borrados
  1. 14 2
      cesium.html
  2. 1 1
      js/Cesium.js

+ 14 - 2
cesium.html

@@ -3,7 +3,7 @@
 <head>
   <meta charset="utf-8">
   <!-- Include the CesiumJS JavaScript and CSS files -->
-  <script src="./js/Cesium.js"></script>
+  <script src="./js/Cesium.js?t=asd"></script>
   <link href="./js/widgets.css" rel="stylesheet">
   <style>
 
@@ -38,7 +38,19 @@
       vrButton:true
     });    
 
-// Fly the camera to Denver, Colorado at the given longitude, latitude, and height.
+ 
+ 
+  
+ 
+  viewer.scene.focalLength = 100 //焦距
+  viewer.scene.eyeSeparation = 0.06 //瞳距
+ 
+
+  document.documentElement.addEventListener('fullscreenchange', e => {
+    e.stopPropagation()
+    e.preventDefault()
+    console.log('???')
+  })
 viewer.camera.flyTo({
   destination: Cesium.Cartesian3.fromDegrees(-104.9965, 39.74248, 4000)
 });

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 1
js/Cesium.js