xzw 4 meses atrás
pai
commit
3c4e3fd341
2 arquivos alterados com 14 adições e 1 exclusões
  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),

Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
public/lib/potree/potree.js.map