diff --git a/src/PointCloudOctree.js b/src/PointCloudOctree.js index 8e70d3ce..8ed80884 100644 --- a/src/PointCloudOctree.js +++ b/src/PointCloudOctree.js @@ -73,7 +73,7 @@ Potree.PointCloudOctree.prototype.update = function(camera){ var visible = true; visible = visible && frustum.intersectsBox(box); - if(object.level > 0){ + if(object.level > 3){ visible = visible && Math.pow(radius, 0.8) / distance > (1 / this.LOD); visible = visible && (this.numVisiblePoints + object.numPoints < Potree.pointLoadLimit); visible = visible && (this.numVisibleNodes <= this.maxVisibleNodes); diff --git a/src/materials/PointCloudIntensityMaterial.js b/src/materials/PointCloudIntensityMaterial.js index 8185d278..940fd1d8 100644 --- a/src/materials/PointCloudIntensityMaterial.js +++ b/src/materials/PointCloudIntensityMaterial.js @@ -5,7 +5,7 @@ Potree.PointCloudIntensityMaterial = function(){ }; var uniforms = { color: { type: "c", value: new THREE.Color( 0xffffff ) }, - size: { type: "f", value: 500 } + size: { type: "f", value: 2500 } }; this.setValues({ @@ -27,7 +27,7 @@ Potree.PointCloudIntensityMaterial.vs_points = [ "varying vec3 vColor; ", " ", "void main() { ", - " vColor = vec3(1.0, 1.0, 1.0) * (intensity / 600.0); ", + " vColor = vec3(1.0, 1.0, 1.0) * (intensity / 500.0); ", " vec4 mvPosition = modelViewMatrix * vec4( position, 1.0 ); ", " ", " gl_PointSize = size * 1.0 / length( mvPosition.xyz ); ",