xzw преди 2 години
родител
ревизия
2b93ca786e
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 2 2
      public/static/lib/potree/potree.js
  2. 1 1
      public/static/lib/potree/potree.js.map

+ 2 - 2
public/static/lib/potree/potree.js

@@ -76441,7 +76441,7 @@ void main()
 	                let nearest = sorted1[0];  //return nearest.point;  //直接用最近点 在点云稀疏时不太跟手,如地面上,最近点往往在鼠标下方
 	                
 	                
-	                let ratio = 0.1; //系数越大越不跟手,但更容易pick近处的。 (当pick的点较远时,获取框内的点距离可能差别很大,就要所以除以disSquare)
+	                let ratio = 0.5;//0.1 //系数越大越不跟手,但更容易pick近处的。 (当pick的点较远时,获取框内的点距离可能差别很大,就要所以除以disSquare)
 	                let r = rSquare/Math.max(nearest.disSquare,0.001) * ratio;
 	                hits.forEach( hit=>{
 	                    let disDiff = hit.disSquare - nearest.disSquare; //和最近点的偏差 
@@ -76503,7 +76503,7 @@ void main()
 	            } 
 	            
 	        }  
-	        //console.log('changePointSize:'  + this.dataset_id + ' , num: ' + (num && num.toPrecision(3)) + ' , size: ' + size.toPrecision(3),  'nodeMaxLevel', nodeMaxLevel.toPrecision(3), 'testMaxNodeCount',viewer.testMaxNodeCount     /* this.material.spacing */)
+	        //console.log('changePointSize:'  + this.dataset_id + ' , num: ' + (num && num.toPrecision(3)) + ' , size: ' + size.toPrecision(3),  'nodeMaxLevel', nodeMaxLevel.toPrecision(3), 'testMaxNodeCount',this.testMaxNodeCount     /* this.material.spacing */)
 	        if(size){
 	            if(Potree.settings.sortCloudMat){//被废弃,不给material分组了
 	                this.size = size;this.material.size = size;

Файловите разлики са ограничени, защото са твърде много
+ 1 - 1
public/static/lib/potree/potree.js.map