|
@@ -77,7 +77,11 @@ SplitScreen4Views.split = function(o={}){
|
|
|
}) */
|
|
|
|
|
|
|
|
|
-
|
|
|
+ viewer.images360.panos.forEach(pano=>{
|
|
|
+ pano.addLabel2()
|
|
|
+ Potree.Utils.updateVisible(pano.label2, 'notDisplay', true)
|
|
|
+ pano.dispatchEvent({type:'changeMarkerTex',name:'ring'})
|
|
|
+ })
|
|
|
|
|
|
//材质
|
|
|
this.statesBefore = {
|
|
@@ -137,7 +141,7 @@ SplitScreen4Views.split = function(o={}){
|
|
|
Potree.settings.pointDensity = 'fourViewports' //强制降低点云质量
|
|
|
|
|
|
//侧面重叠概率更大,所以透明度调小
|
|
|
- e.changePointOpacity(this.name == "mapViewport" ? 0.6 : 0.06/* newOpacityMap.get(e).get(viewport), true */); //多数据集有的数据集很小,放大后显示特别淡
|
|
|
+ e.changePointOpacity(this.name == "mapViewport" ? 0.2 : 0.06/* newOpacityMap.get(e).get(viewport), true */); //多数据集有的数据集很小,放大后显示特别淡
|
|
|
//console.log(e.name, viewport.name, e.temp.pointOpacity, e.material.opacity)
|
|
|
}
|
|
|
})
|
|
@@ -190,6 +194,12 @@ SplitScreen4Views.recover = function(){
|
|
|
/* viewer.images360.panos.forEach(pano=>{
|
|
|
Potree.Utils.updateVisible(pano.mapMarker, 'split4Screens', true)
|
|
|
}) */
|
|
|
+
|
|
|
+ viewer.images360.panos.forEach(pano=>{
|
|
|
+ Potree.Utils.updateVisible(pano.label2, 'notDisplay', false )
|
|
|
+ pano.dispatchEvent({type:'changeMarkerTex',name:'default'})
|
|
|
+ })
|
|
|
+
|
|
|
mapViewport.noPointcloud = true
|
|
|
{
|
|
|
this.enableMap(Potree.settings.mapEnable)
|