xzw hai 4 meses
pai
achega
3c4e3fd341
Modificáronse 2 ficheiros con 14 adicións e 1 borrados
  1. 13 0
      public/lib/potree/potree.js
  2. 1 1
      public/lib/potree/potree.js.map

+ 13 - 0
public/lib/potree/potree.js

@@ -62241,6 +62241,19 @@
 	      side: DoubleSide,
 	      depthTest: false
 	    });
+
+	    /* this.normalMat = new DepthBasicMaterial({ --- 需要像测量线那样渲染
+	        color: new THREE.Color(0x00c8af),
+	        transparent: true,
+	        opacity: 0.1,
+	        side: THREE.DoubleSide,
+	        useDepth:true,
+	        clipDistance : 5,//消失距离    
+	        occlusionDistance: 1,//变为backColor距离 
+	        maxOcclusionFactor:0.9,
+	        maxClipFactor:1
+	    }) */
+
 	    // 监控视频材质
 	    this.videoMat = new BasicMaterial({
 	      map: new VideoTexture(this.video),

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
public/lib/potree/potree.js.map