xzw 4 月之前
父节点
当前提交
3c4e3fd341
共有 2 个文件被更改,包括 14 次插入1 次删除
  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),

文件差异内容过多而无法显示
+ 1 - 1
public/lib/potree/potree.js.map