pull request rdy
This commit is contained in:
parent
afdfbb137b
commit
baab4a48dd
5
TODO.txt
5
TODO.txt
@ -1,5 +0,0 @@
|
||||
TODO: material per pointcloud
|
||||
|
||||
- material_changed event in profile.js
|
||||
|
||||
- intensity correct? (range, gamma)
|
||||
@ -285,44 +285,6 @@ body{
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
|
||||
.scene_item{
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.5);
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.scene_header{
|
||||
display:flex;
|
||||
cursor: pointer;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.scene_item:hover{
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.scene_item_icon{
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.scene_header_title{
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.scene_icon{
|
||||
padding: 0px 6px 0px 4px;
|
||||
}
|
||||
|
||||
.scene_content{
|
||||
padding: 5px 15px 5px 10px;
|
||||
background-color: rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
|
||||
.measurement_item{
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.5);
|
||||
display: block;
|
||||
@ -481,8 +443,12 @@ body{
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.ui-widget{
|
||||
box-sizing:border-box
|
||||
.pv-menu-list .ui-selectmenu-button span.ui-selectmenu-text{
|
||||
line-height: 0.8em;
|
||||
}
|
||||
|
||||
.ui-selectmenu-text{
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.panel-body > li > .ui-slider{
|
||||
@ -748,3 +714,31 @@ body{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
.axis path,
|
||||
.axis line{
|
||||
fill: none;
|
||||
stroke: white;
|
||||
}
|
||||
|
||||
.line{
|
||||
fill: none;
|
||||
stroke: blue;
|
||||
stroke-width: 2px;
|
||||
}
|
||||
|
||||
.tick text{
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.tick line{
|
||||
opacity: 0.2;
|
||||
}
|
||||
*/
|
||||
File diff suppressed because it is too large
Load Diff
@ -44,7 +44,6 @@
|
||||
"skybox": "Sky",
|
||||
"bottom_lock": "Halten über dem Boden",
|
||||
"box": "Box",
|
||||
"length_unit": "Lenght unit",
|
||||
"freeze": "Lock view",
|
||||
"language": "Sprache"
|
||||
},
|
||||
|
||||
@ -46,7 +46,6 @@
|
||||
"skybox": "Sky",
|
||||
"bottom_lock": "Keep above ground",
|
||||
"box": "Box",
|
||||
"length_unit": "Length unit",
|
||||
"freeze": "Lock view",
|
||||
"language": "Language"
|
||||
},
|
||||
|
||||
@ -100,7 +100,7 @@
|
||||
|
||||
<div id="measurement_list_before" style="margin: 6px 2px 6px 2px"></div>
|
||||
<div id="measurement_list"></div>
|
||||
<div id="measurement_list_after" style="margin: 6px 2px 6px 2px"></div>
|
||||
<div id="measurement_list_after" style="margin: 6px 2px 6px 2px"></div>
|
||||
</div>
|
||||
|
||||
<!-- ANNOTATIONS -->
|
||||
@ -110,7 +110,7 @@
|
||||
</div>
|
||||
|
||||
<!-- MATERIALS -->
|
||||
<!--<h3 id="menu_materials"><span data-i18n="tb.materials_opt"></span></h3>
|
||||
<h3 id="menu_materials"><span data-i18n="tb.materials_opt"></span></h3>
|
||||
<div>
|
||||
<ul class="pv-menu-list">
|
||||
<li>
|
||||
@ -172,7 +172,7 @@
|
||||
|
||||
|
||||
</ul>
|
||||
</div>-->
|
||||
</div>
|
||||
|
||||
<!-- Scene -->
|
||||
<h3 id="menu_scene"><span data-i18n="tb.scene_opt"></span></h3>
|
||||
@ -181,14 +181,6 @@
|
||||
<div>
|
||||
<li><span data-i18n="scene.camera_position"></span>:<span id="lblCameraPosition"></span></li>
|
||||
<li><span data-i18n="scene.camera_target"></span>:<span id="lblCameraTarget"></span></li>
|
||||
<li style="margin: 10px 0px">
|
||||
<label for="optLengthUnit" class="pv-select-label"><span data-i18n="appearance.length_unit"></span></label>
|
||||
<select id="optLengthUnit" name="optLengthUnit">
|
||||
<option value="m">Meter (m)</option>
|
||||
<option value="ft">Feet (ft)</option>
|
||||
<option value="in">Inch (″)</option>
|
||||
</select>
|
||||
</li>
|
||||
|
||||
|
||||
<div class="divider" style="padding: 10px 0px 15px 0px">
|
||||
@ -196,12 +188,8 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<li id="sceneList"></li>
|
||||
</ul>
|
||||
<div id="scene_details">
|
||||
<div id="scene_list_before" style="margin: 2px 2px 2px 2px"></div>
|
||||
<div id="scene_list"></div>
|
||||
<div id="scene_list_after" style="margin: 6px 2px 12px 2px"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Classification -->
|
||||
|
||||
@ -40,6 +40,8 @@ Potree.Shaders["pointcloud.vs"] = [
|
||||
"",
|
||||
"uniform float heightMin;",
|
||||
"uniform float heightMax;",
|
||||
"uniform float intensityMin;",
|
||||
"uniform float intensityMax;",
|
||||
"uniform float size; // pixel size factor",
|
||||
"uniform float minSize; // minimum pixel size",
|
||||
"uniform float maxSize; // maximum pixel size",
|
||||
|
||||
@ -56,7 +56,18 @@
|
||||
<script>
|
||||
|
||||
window.viewer = new Potree.Viewer(document.getElementById("potree_render_area"));
|
||||
|
||||
|
||||
viewer.setEDLEnabled(true);
|
||||
viewer.setPointSize(1);
|
||||
viewer.setMaterial("RGB");
|
||||
viewer.setFOV(60);
|
||||
viewer.setPointSizing("Adaptive");
|
||||
viewer.setQuality("Squares");
|
||||
viewer.setPointBudget(1*1000*1000);
|
||||
viewer.setIntensityRange(0, 300);
|
||||
viewer.setWeightClassification(1);
|
||||
viewer.loadSettingsFromURL();
|
||||
|
||||
viewer.setDescription(`Sorvilier point cloud courtesy of <a target='_blank' href='https://www.sigeom.ch/'>sigeom sa</a><br>
|
||||
One point cloud is initially invisible and it can be turned on in the Scene panel.
|
||||
`);
|
||||
@ -96,17 +107,6 @@
|
||||
// viewer.fitToScreen();
|
||||
});
|
||||
|
||||
viewer.setEDLEnabled(true);
|
||||
viewer.setPointSize(1);
|
||||
viewer.setMaterial("RGB");
|
||||
viewer.setFOV(60);
|
||||
viewer.setPointSizing("Adaptive");
|
||||
viewer.setQuality("Squares");
|
||||
viewer.setPointBudget(1*1000*1000);
|
||||
viewer.setIntensityRange(0, 300);
|
||||
viewer.setWeightClassification(1);
|
||||
viewer.loadSettingsFromURL();
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user