|
@@ -62241,6 +62241,19 @@
|
|
side: DoubleSide,
|
|
side: DoubleSide,
|
|
depthTest: false
|
|
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({
|
|
this.videoMat = new BasicMaterial({
|
|
map: new VideoTexture(this.video),
|
|
map: new VideoTexture(this.video),
|