commit
9f143ec14b
@ -24,9 +24,7 @@ This is what the lion demo looks like:
|
||||
## Convert Your Own Pointclouds
|
||||
Use the PotreeConverter to convert your own point clouds into the potree format.
|
||||
|
||||
* PotreeConverter binaries for windows are available here:
|
||||
http://potree.org/downloads/PotreeConverter_2014.04.06.zip
|
||||
* PotreeConverter source is available here:
|
||||
PotreeConverter source code and binaries for windows are available here:
|
||||
https://github.com/potree/PotreeConverter
|
||||
|
||||
## Compatibility
|
||||
|
||||
@ -1,80 +1,101 @@
|
||||
# File Format
|
||||
|
||||
The potree file format partitions points into an octree. All octree nodes,
|
||||
intermediate as well as leaves, contain a sparse subsample of points.
|
||||
|
||||
The spacing defines the minimum distance between points in the root node.
|
||||
With each level, the spacing is halved, e.g. if spacing in the root is 1.0,
|
||||
then the spacing in its children is 0.5.
|
||||
Rendering lower level nodes results in a coarse representation of the pointcloud.
|
||||
The more nodes you load and render, the better the quality.
|
||||
|
||||
The following table shows what the content of the root and its children could
|
||||
look like and how the level of detail increases when they're rendered together.
|
||||
|
||||
|  |  |  |  |
|
||||
| ------------- |:-------------:| -----:| --- |
|
||||
| r - root | r0 - first child of root | root and r0 combined | root and all its children combined |
|
||||
|
||||
## File Hierarchy
|
||||
|
||||
Points are stored in an octree. All nodes, even intermediate nodes, contain a subset of
|
||||
the whole point cloud.
|
||||
The potree file format is actually a collection of files:
|
||||
* ./cloud.js - A JSON file that contains meta data such as bounding box, spacing, hierarchy, etc.
|
||||
* ./data/ - This directory contains all node files
|
||||
|
||||
.cloud.js Contains bounding box, vertex format and octree hierarchy
|
||||
./data Contains one file for each octree node.
|
||||
./data/r The root node.
|
||||
./data/rx The x.th child of the root. x = 0 to 7
|
||||
./data/rxy The y.th child of the x.th child of the root.
|
||||
|
||||
Each node may have up to 8 child nodes. The numbers from 0 to 7 inside the node name
|
||||
indicate which child it is. For example:
|
||||
For each octree nodes, there is one file in the data directory called r,
|
||||
followed by a number that indicates its position in the hierarchy.
|
||||
* r is the root node
|
||||
* r0 is the first child of the root node
|
||||
* r03 is the fourth child of the first child of the root node
|
||||
|
||||
Each node may have up to 8 child nodes. The numbers from 0 to 7 inside the node name
|
||||
indicate which child it is.
|
||||
|
||||
|
||||
## Octree Hierarchy
|
||||
|
||||
Child nodes are arranged like this:
|
||||
|
||||
3----7
|
||||
/| /|
|
||||
/| /|
|
||||
y 2----6 |
|
||||
| -z | 1--|-5
|
||||
|/ |/ |/
|
||||
O----x 0----4
|
||||
|
||||
This means that node 0 is at the origin, node 1 is translated along the -z axis,
|
||||
This means that node 0 is at the origin, node 1 is translated along the -z axis,
|
||||
node 2 is on top of node 0 and so on.
|
||||
|
||||
## cloud.js
|
||||
|
||||
Stores information about the pointcloud in JSON format.
|
||||
|
||||
The property "pointAttributes" indicates how each point is stored.
|
||||
At the moment, you should stick to the format given in the example below.
|
||||
"POSITION_CARTESIAN" and "COLOR_PACKED" means that each point is stored as 3 32bit floats for x,y
|
||||
and z coordinates and 4 unsigned bytes for r,g,b and a colors.
|
||||
|
||||
The hierarchy property contains all nodes and the number of points in each node.
|
||||
* __version__ - The cloud.js format may change over time. The version number is
|
||||
necessary so that parsers know how to interpret the data.
|
||||
* __octreeDir__ - Directory or URL where node data is stored. Usually points to
|
||||
"data".
|
||||
* __boundingBox__ - Contains the minimum and maximum of the axis aligned bounding box.
|
||||
* __pointAttributes__ - Declares the point data format.
|
||||
As of now, only ["POSITION_CARTESIAN", "COLOR_PACKED"] is supported which
|
||||
stores each point in 16 bytes. The first 12 bytes contain x/y/z coordinates and
|
||||
the remaining 4 the r,g,b,a colors.
|
||||
* __POSITION_CARTESIAN__ - 3 x 32bit floats for x/y/z coordinates
|
||||
* __COLOR_PACKED__ - 4 x unsigned byte for r,g,b,a colors.
|
||||
* __spacing__ - The minimum distance between points at root level.
|
||||
* __hiearchy__ - Contains all nodes and the number of points in each node.
|
||||
The nodes must be stored top to bottom, i.e. root at the beginning and leaf-nodes at the end.
|
||||
|
||||
{
|
||||
"version": "1.0",
|
||||
"octreeDir": "data",
|
||||
"boundingBox": {
|
||||
"lx": -10.0,
|
||||
"ly": -10.0,
|
||||
"lz": -10.0,
|
||||
"ux": 10.0,
|
||||
"uy": 10.0,
|
||||
"uz": 10.0
|
||||
},
|
||||
"pointAttributes": [
|
||||
"POSITION_CARTESIAN",
|
||||
"COLOR_PACKED"
|
||||
],
|
||||
"hierarchy": [
|
||||
["r", 9103],
|
||||
["r0", 7809],
|
||||
["r1", 3491],
|
||||
["r3", 4309],
|
||||
["r03", 8521]
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
"version": "1.1",
|
||||
"octreeDir": "data",
|
||||
"boundingBox": {
|
||||
"lx": -10.0,
|
||||
"ly": -10.0,
|
||||
"lz": -10.0,
|
||||
"ux": 10.0,
|
||||
"uy": 10.0,
|
||||
"uz": 10.0
|
||||
},
|
||||
"pointAttributes": [
|
||||
"POSITION_CARTESIAN",
|
||||
"COLOR_PACKED"
|
||||
],
|
||||
"spacing": 0.075,
|
||||
"hierarchy": [
|
||||
["r", 9103],
|
||||
["r0", 7809],
|
||||
["r1", 3491],
|
||||
["r3", 4309],
|
||||
["r03", 8521]
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
## Node-Files
|
||||
|
||||
The node files in the data directory contain the point data.
|
||||
With point attributes set to "POSITION_CARTESIAN" and "COLOR_PACKED",
|
||||
With point attributes set to "POSITION_CARTESIAN" and "COLOR_PACKED",
|
||||
each point will be stored as 3x32bit floats for the xyz-coordinates and 4 unsigned bytes to store
|
||||
rgba data. All data is stored in little endian order.
|
||||
Other formats are not supported at the moment.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
207
docs/getting_started.md
Normal file
207
docs/getting_started.md
Normal file
@ -0,0 +1,207 @@
|
||||
|
||||
# Getting Started
|
||||
|
||||
## Converting A Point Cloud
|
||||
|
||||
Potree requires a special point cloud format. Use the PotreeConverter to convert las, ply or xyz files into this format.
|
||||
See [PotreeConverter - usage](https://github.com/potree/PotreeConverter)
|
||||
|
||||
## Including Source Files
|
||||
|
||||
This example needs three.js, OrbitControls.js, and the potree source files:
|
||||
|
||||
<script src="../libs/three.js/build/three.js"></script>
|
||||
<script src="../libs/other/OrbitControls.js"></script>
|
||||
<script src="../src/Potree.js"></script>
|
||||
<script src="../src/PointCloudOctreeGeometry.js"></script>
|
||||
<script src="../src/PointCloudOctree.js"></script>
|
||||
<script src="../src/loader/POCLoader.js"></script>
|
||||
<script src="../src/loader/PointAttributes.js"></script>
|
||||
<script src="../src/utils.js"></script>
|
||||
<script src="../src/LRU.js"></script>
|
||||
|
||||
## Setting Up The Scene
|
||||
|
||||
In this section, we will set up a simple scene to load and display a point cloud.
|
||||
|
||||
|
||||
Potree is built upon the three.js library and so the first step is to
|
||||
create a three.js scene, camera and renderer:
|
||||
|
||||
scene = new THREE.Scene();
|
||||
camera = new THREE.PerspectiveCamera(75, window.innerWidth/window.innerHeight, 0.1, 100000);
|
||||
renderer = new THREE.WebGLRenderer();
|
||||
renderer.setSize(window.innerWidth, window.innerHeight);
|
||||
document.body.appendChild(renderer.domElement);
|
||||
|
||||
In the next step, we move the camera to position 1 / 7 / 7 and make it point
|
||||
to the target at 0 / 4 / 0. The OrbitControls makes it possible to rotate around
|
||||
the target by dragging the mouse.
|
||||
|
||||
camera.position.set(1, 7, 7);
|
||||
controls = new THREE.OrbitControls(camera, renderer.domElement);
|
||||
controls.target.set(0, 4, 0 );
|
||||
camera.lookAt(controls.target);
|
||||
|
||||
In the next few steps, we will load the pointcloud, modify its position and orientation
|
||||
and add it to the scene.
|
||||
|
||||
First, load the pointcloud:
|
||||
|
||||
var pco = POCLoader.load(pointcloudPath);
|
||||
|
||||
POCLoader.load() returns a geometry object. Geometry objects can be attached to
|
||||
scene nodes, PointCloudOctree in this case, which in turn can be added to the scene:
|
||||
|
||||
|
||||
pointcloudMaterial = new THREE.PointCloudMaterial( { size: defaultPointSize, vertexColors: true } );
|
||||
pointcloud = new Potree.PointCloudOctree(pco, pointcloudMaterial);
|
||||
scene.add(pointcloud);
|
||||
|
||||
It is possible to create multiple scene nodes that use the same geometry, if needed.
|
||||
|
||||
Usually, the position and orientation of pointclouds must be modified as well.
|
||||
Use _moveToOrigin()_ if you want to center your pointcloud around the origin and
|
||||
_moveToGroundPlane()_ to put it on top of the ground plane.
|
||||
Change the LOD parameter to alter the Level of Detail. A higher LOD results in
|
||||
more octree nodes beeing displayed at once. If you experience performance problems,
|
||||
try to lower the LOD.
|
||||
|
||||
pointcloud.LOD = defaultLOD;
|
||||
pointcloud.rotation.set(Math.PI/2, 0.85* -Math.PI/2, -0.0);
|
||||
pointcloud.moveToOrigin();
|
||||
pointcloud.moveToGroundPlane();
|
||||
|
||||
A common problem is that your pointcloud is upside down or the y and z axis are
|
||||
flipped. In three.js / WebGL y points upwards while a lot of software packages
|
||||
use z as the up-vector.
|
||||
|
||||
To fix the upside down problem, you an apply a matrix transformation to mirror
|
||||
along the y axis:
|
||||
|
||||
pointcloud.applyMatrix(new THREE.Matrix4().set(
|
||||
1,0,0,0,
|
||||
0,-1,0,0,
|
||||
0,0,1,0,
|
||||
0,0,0,1
|
||||
));
|
||||
|
||||
To fix the problem with flipped y and z axis, you an apply another matrix transformation:
|
||||
|
||||
pointcloud.applyMatrix(new THREE.Matrix4().set(
|
||||
1,0,0,0,
|
||||
0,0,1,0,
|
||||
0,1,0,0,
|
||||
0,0,0,1
|
||||
));
|
||||
|
||||
|
||||
## Rendering the Scene
|
||||
|
||||
pointcloud.update(camera) loads nodes that are visible from the given camera
|
||||
and hides nodes that are not.
|
||||
|
||||
pointcloud.update(camera);
|
||||
|
||||
Render the scene:
|
||||
|
||||
renderer.render(scene, camera);
|
||||
|
||||
|
||||
|
||||
## Putting It All Together
|
||||
|
||||
This is a complete html file that will display the lion_takanawa pointcloud
|
||||
that is included in the potree repository.
|
||||
Make sure to put the html file into the potree root dir (not ./examples) or update
|
||||
the pointcloudPath variable.
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Lion</title>
|
||||
<style>canvas { width: 100%; height: 100% }</style>
|
||||
</head>
|
||||
<body style="margin: 0; padding: 0">
|
||||
|
||||
<script src="../libs/three.js/build/three.js"></script>
|
||||
<script src="../libs/other/OrbitControls.js"></script>
|
||||
<script src="../src/Potree.js"></script>
|
||||
<script src="../src/PointCloudOctreeGeometry.js"></script>
|
||||
<script src="../src/PointCloudOctree.js"></script>
|
||||
<script src="../src/loader/POCLoader.js"></script>
|
||||
<script src="../src/loader/PointAttributes.js"></script>
|
||||
<script src="../src/utils.js"></script>
|
||||
<script src="../src/LRU.js"></script>
|
||||
|
||||
<script>
|
||||
var defaultPointSize = 0.03;
|
||||
var defaultLOD = 15;
|
||||
var pointcloudPath = "./resources/pointclouds/lion_takanawa/cloud.js";
|
||||
|
||||
var renderer;
|
||||
var camera;
|
||||
var scene;
|
||||
var pointcloud;
|
||||
var pointcloudMaterial;
|
||||
|
||||
function init(){
|
||||
scene = new THREE.Scene();
|
||||
camera = new THREE.PerspectiveCamera(75, window.innerWidth/window.innerHeight, 0.1, 100000);
|
||||
|
||||
renderer = new THREE.WebGLRenderer();
|
||||
renderer.setSize(window.innerWidth, window.innerHeight);
|
||||
document.body.appendChild(renderer.domElement);
|
||||
|
||||
// camera and controls
|
||||
camera.position.set(1, 7, 7);
|
||||
controls = new THREE.OrbitControls(camera, renderer.domElement);
|
||||
controls.target.set(0, 4, 0 );
|
||||
camera.lookAt(controls.target);
|
||||
|
||||
// load pointcloud
|
||||
var pco = POCLoader.load(pointcloudPath);
|
||||
pointcloudMaterial = new THREE.PointCloudMaterial( { size: defaultPointSize, vertexColors: true } );
|
||||
pointcloud = new Potree.PointCloudOctree(pco, pointcloudMaterial);
|
||||
scene.add(pointcloud);
|
||||
|
||||
pointcloud.LOD = defaultLOD;
|
||||
pointcloud.rotation.set(Math.PI/2, 0.85* -Math.PI/2, -0.0);
|
||||
pointcloud.moveToOrigin();
|
||||
pointcloud.moveToGroundPlane();
|
||||
|
||||
}
|
||||
|
||||
function render() {
|
||||
requestAnimationFrame(render);
|
||||
|
||||
pointcloud.update(camera);
|
||||
|
||||
renderer.render(scene, camera);
|
||||
};
|
||||
|
||||
init();
|
||||
render();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
## Deploying Potree On A Webserver
|
||||
|
||||
Due to strict security policies in browsers,
|
||||
it is not possible to open potree html files directly on your pc because
|
||||
potree needs permission to load files.
|
||||
You have to put all necessary source files and the pointcloud on a webserver
|
||||
to view the result. You can, however, install a local webserver on your pc.
|
||||
I use XAMPP, which contains Apache Webserver as well as PHP and MySQL but Apache
|
||||
alone should work fine:
|
||||
* [Apache](http://httpd.apache.org/)
|
||||
* [XAMPP](https://www.apachefriends.org/de/index.html)
|
||||
|
||||
After you've installed apache/XAMPP, start it and copy your potree directory
|
||||
to the htdocs directory. You should now be able to access your localy hosted files like this:
|
||||
|
||||
http://localhost/potree/pointcloud.html
|
||||
|
||||
|
||||

|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 101 KiB |
@ -1,207 +1,286 @@
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<script src="../libs/three.js/build/three.js"></script>
|
||||
<script src="../libs/other/OrbitControls.js"></script>
|
||||
<script src="../src/Potree.js"></script>
|
||||
<script src="../src/PointCloudOctree.js"></script>
|
||||
<script src="../src/PointCloudOctreeGeometry.js"></script>
|
||||
<script src="../src/loader/POCLoader.js"></script>
|
||||
<script src="../src/loader/PointAttributes.js"></script>
|
||||
<script src="../src/utils.js"></script>
|
||||
<script src="../src/LRU.js"></script>
|
||||
<title>Lion</title>
|
||||
|
||||
</head>
|
||||
<body style="margin: 0px; padding: 0px;">
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
#lblDistance{
|
||||
color:white;
|
||||
font-weight: bold;
|
||||
text-shadow: 2px 2px 2px black,
|
||||
2px -2px 2px black,
|
||||
-2px 2px 2px black,
|
||||
-2px -2px 2px black;
|
||||
<style type="text/css">
|
||||
|
||||
#lblDistance{
|
||||
color:white;
|
||||
font-weight: bold;
|
||||
text-shadow: 2px 2px 2px black,
|
||||
2px -2px 2px black,
|
||||
-2px 2px 2px black,
|
||||
-2px -2px 2px black;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
var renderer;
|
||||
var camera;
|
||||
var scene;
|
||||
var mouse = { x: 1, y: 1 };
|
||||
var projector, raycaster;
|
||||
var pointcloud;
|
||||
var spStart, spEnd, sConnection;
|
||||
var placeStartMode = false;
|
||||
var placeEndMode = false;
|
||||
|
||||
function init() {
|
||||
scene = new THREE.Scene();
|
||||
camera = new THREE.PerspectiveCamera(75, window.innerWidth/window.innerHeight, 0.1, 1000);
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="../libs/three.js/build/three.js"></script>
|
||||
<script src="../libs/other/OrbitControls.js"></script>
|
||||
<script src="../libs/other/stats.min.js"></script>
|
||||
<script src="../libs/other/dat.gui.min.js"></script>
|
||||
<script src="../src/Potree.js"></script>
|
||||
<script src="../src/PointCloudOctree.js"></script>
|
||||
<script src="../src/PointCloudOctreeGeometry.js"></script>
|
||||
<script src="../src/loader/POCLoader.js"></script>
|
||||
<script src="../src/loader/PointAttributes.js"></script>
|
||||
<script src="../src/utils.js"></script>
|
||||
<script src="../src/LRU.js"></script>
|
||||
|
||||
projector = new THREE.Projector();
|
||||
raycaster = new THREE.Raycaster();
|
||||
|
||||
renderer = new THREE.WebGLRenderer();
|
||||
renderer.setSize(window.innerWidth, window.innerHeight);
|
||||
document.body.appendChild(renderer.domElement);
|
||||
|
||||
// pointcloud
|
||||
var material = new THREE.PointCloudMaterial( { size: 0.02, vertexColors: true } );
|
||||
var pco = POCLoader.load("../resources/pointclouds/lion_takanawa/cloud.js");
|
||||
pointcloud = new Potree.PointCloudOctree(pco, material);
|
||||
pointcloud.LODDistance = 80;
|
||||
pointcloud.rotation.x = Math.PI;
|
||||
pointcloud.position.x = 8;
|
||||
pointcloud.position.z = -2;
|
||||
pointcloud.position.y = 4;
|
||||
scene.add(pointcloud);
|
||||
|
||||
// grid
|
||||
scene.add(createGrid(8,8,1));
|
||||
|
||||
// measurement
|
||||
var sphereGeometry = new THREE.SphereGeometry(0.05, 32, 32);
|
||||
var sphereMaterial = new THREE.MeshBasicMaterial({color: 0xbb0000, shading: THREE.FlatShading});
|
||||
spStart = new THREE.Mesh(sphereGeometry, sphereMaterial);
|
||||
spEnd = new THREE.Mesh(sphereGeometry, sphereMaterial);
|
||||
spStart.position.set(-1.1,1.05,2);
|
||||
spEnd.position.set(1.3,1.0,1.15);
|
||||
scene.add(spStart);
|
||||
scene.add(spEnd);
|
||||
|
||||
var lc = new THREE.Color( 0xff0000 );
|
||||
var lineGeometry = new THREE.Geometry();
|
||||
lineGeometry.vertices.push(spStart.position.clone(), spEnd.position.clone());
|
||||
lineGeometry.colors.push(lc, lc, lc);
|
||||
var lineMaterial = new THREE.LineBasicMaterial( { vertexColors: THREE.VertexColors } );
|
||||
sConnection = new THREE.Line(lineGeometry, lineMaterial);
|
||||
scene.add(sConnection);
|
||||
|
||||
// controls
|
||||
camera.position.set(5,5,2);
|
||||
controls = new THREE.OrbitControls(camera);
|
||||
controls.target.set( 0, 3, 0 );
|
||||
camera.lookAt(new THREE.Vector3(0,3,0));
|
||||
|
||||
document.addEventListener( 'mousemove', onDocumentMouseMove, false );
|
||||
renderer.domElement.addEventListener( 'click', onClick, false );
|
||||
}
|
||||
|
||||
function createGrid(width, length, spacing){
|
||||
var material = new THREE.LineBasicMaterial({
|
||||
color: 0xBBBBBB
|
||||
});
|
||||
|
||||
var geometry = new THREE.Geometry();
|
||||
for(var i = 0; i <= length; i++){
|
||||
geometry.vertices.push(new THREE.Vector3(-(spacing*width)/2, 0, i*spacing-(spacing*length)/2));
|
||||
geometry.vertices.push(new THREE.Vector3(+(spacing*width)/2, 0, i*spacing-(spacing*length)/2));
|
||||
}
|
||||
|
||||
for(var i = 0; i <= width; i++){
|
||||
geometry.vertices.push(new THREE.Vector3(i*spacing-(spacing*width)/2, 0, -(spacing*length)/2));
|
||||
geometry.vertices.push(new THREE.Vector3(i*spacing-(spacing*width)/2, 0, +(spacing*length)/2));
|
||||
}
|
||||
|
||||
var line = new THREE.Line(geometry, material, THREE.LinePieces);
|
||||
line.receiveShadow = true;
|
||||
return line;
|
||||
}
|
||||
|
||||
function onDocumentMouseMove( event ) {
|
||||
event.preventDefault();
|
||||
|
||||
mouse.x = ( event.clientX / window.innerWidth ) * 2 - 1;
|
||||
mouse.y = - ( event.clientY / window.innerHeight ) * 2 + 1;
|
||||
}
|
||||
|
||||
function render() {
|
||||
requestAnimationFrame(render);
|
||||
|
||||
camera.updateMatrixWorld(true);
|
||||
|
||||
vector = new THREE.Vector3( mouse.x, mouse.y, 0.5 );
|
||||
projector.unprojectVector( vector, camera );
|
||||
raycaster.params = {"PointCloud" : {threshold: 0.1}};
|
||||
raycaster.ray.set( camera.position, vector.sub( camera.position ).normalize() );
|
||||
|
||||
scene.traverse( function ( object ) {
|
||||
if ( object instanceof Potree.PointCloudOctree ) {
|
||||
object.update( camera );
|
||||
}
|
||||
} );
|
||||
|
||||
if(placeStartMode || placeEndMode){
|
||||
var intersects = raycaster.intersectObject(pointcloud, true);
|
||||
<input type="button" value="place start"
|
||||
style="position:absolute; left: 10px; top: 10px; width: 100px; z-index: 100"
|
||||
onclick="placeStart()">
|
||||
<input type="button" value="place end"
|
||||
style="position:absolute; left: 10px; top: 40px; width: 100px; z-index: 100"
|
||||
onclick="placeEnd()">
|
||||
|
||||
if(intersects.length > 0){
|
||||
var I = intersects[0];
|
||||
<div id="lblDistance" style="position: absolute; width: 20px; z-index: 100;">abc</div>
|
||||
|
||||
<div id="lblNumVisibleNodes" class="info" style="position: absolute; left: 10px; top: 80px; width: 400px;"></div>
|
||||
<div id="lblNumVisiblePoints" class="info" style="position: absolute; left: 10px; top: 100px; width: 400px;"></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
var defaultPointSize = 0.03;
|
||||
var defaultLOD = 15;
|
||||
var pointcloudPath = "../resources/pointclouds/lion_takanawa/cloud.js";
|
||||
|
||||
var renderer;
|
||||
var camera;
|
||||
var scene;
|
||||
var mouse = { x: 1, y: 1 };
|
||||
var projector, raycaster;
|
||||
var pointcloud, pointcloudMaterial;
|
||||
var spStart, spEnd, sConnection;
|
||||
var placeStartMode = false;
|
||||
var placeEndMode = false;
|
||||
var cube, cameraCube, sceneCube;
|
||||
|
||||
function loadSkybox(){
|
||||
cameraCube = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 1, 100000 );
|
||||
sceneCube = new THREE.Scene();
|
||||
|
||||
var path = "../resources/textures/skybox/";
|
||||
var format = ".jpg";
|
||||
var urls = [
|
||||
path + 'px' + format, path + 'nx' + format,
|
||||
path + 'py' + format, path + 'ny' + format,
|
||||
path + 'pz' + format, path + 'nz' + format
|
||||
];
|
||||
|
||||
if(placeStartMode){
|
||||
spStart.position = I.point;
|
||||
}else if(placeEndMode){
|
||||
spEnd.position = I.point;
|
||||
}
|
||||
sConnection.geometry.vertices[0].copy(spStart.position);
|
||||
sConnection.geometry.vertices[1].copy(spEnd.position);
|
||||
sConnection.geometry.verticesNeedUpdate = true;
|
||||
sConnection.geometry.computeBoundingSphere();
|
||||
var textureCube = THREE.ImageUtils.loadTextureCube( urls, new THREE.CubeRefractionMapping() );
|
||||
var material = new THREE.MeshBasicMaterial( { color: 0xffffff, envMap: textureCube, refractionRatio: 0.95 } );
|
||||
|
||||
var shader = THREE.ShaderLib[ "cube" ];
|
||||
shader.uniforms[ "tCube" ].value = textureCube;
|
||||
|
||||
var material = new THREE.ShaderMaterial( {
|
||||
|
||||
fragmentShader: shader.fragmentShader,
|
||||
vertexShader: shader.vertexShader,
|
||||
uniforms: shader.uniforms,
|
||||
depthWrite: false,
|
||||
side: THREE.BackSide
|
||||
|
||||
} ),
|
||||
|
||||
mesh = new THREE.Mesh( new THREE.BoxGeometry( 100, 100, 100 ), material );
|
||||
sceneCube.add( mesh );
|
||||
}
|
||||
|
||||
function initGUI(){
|
||||
var gui = new dat.GUI({
|
||||
height : 5 * 32 - 1
|
||||
});
|
||||
|
||||
var params = {
|
||||
PointSize: defaultPointSize,
|
||||
LOD: defaultLOD
|
||||
};
|
||||
|
||||
var pLOD = gui.add(params, 'LOD', 0.5,20);
|
||||
pLOD.onChange(function(value){
|
||||
pointcloud.LOD = value;
|
||||
});
|
||||
|
||||
var pPointSize = gui.add(params, 'PointSize', 0.01, 0.1);
|
||||
pPointSize.onChange(function(value){
|
||||
pointcloudMaterial.size = value;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// placing distance label
|
||||
var labelPos = spStart.position.clone().add(spEnd.position).multiplyScalar(0.5);
|
||||
projector.projectVector(labelPos, camera);
|
||||
labelPos.x = (labelPos.x + 1)/2 * window.innerWidth;
|
||||
labelPos.y = -(labelPos.y - 1)/2 * window.innerHeight;
|
||||
|
||||
var distance = spStart.position.distanceTo(spEnd.position);
|
||||
var lblDistance = document.getElementById("lblDistance");
|
||||
lblDistance.style.left = labelPos.x;
|
||||
lblDistance.style.top = labelPos.y;
|
||||
lblDistance.innerHTML = distance.toFixed(2);
|
||||
|
||||
renderer.render(scene, camera);
|
||||
};
|
||||
function initThree() {
|
||||
scene = new THREE.Scene();
|
||||
camera = new THREE.PerspectiveCamera(75, window.innerWidth/window.innerHeight, 0.1, 1000);
|
||||
|
||||
projector = new THREE.Projector();
|
||||
raycaster = new THREE.Raycaster();
|
||||
|
||||
init();
|
||||
render();
|
||||
renderer = new THREE.WebGLRenderer();
|
||||
renderer.setSize(window.innerWidth, window.innerHeight);
|
||||
renderer.autoClear = false;
|
||||
document.body.appendChild(renderer.domElement);
|
||||
|
||||
loadSkybox();
|
||||
|
||||
// pointcloud
|
||||
pointcloudMaterial = new THREE.PointCloudMaterial( { size: defaultPointSize, vertexColors: true } );
|
||||
var pco = POCLoader.load(pointcloudPath);
|
||||
pointcloud = new Potree.PointCloudOctree(pco, pointcloudMaterial);
|
||||
pointcloud.LOD = defaultLOD;
|
||||
pointcloud.rotation.set(Math.PI/2, 0.85* -Math.PI/2, -0.0);
|
||||
//pointcloud.scale.set(0.5,0.5,0.5);
|
||||
pointcloud.moveToOrigin();
|
||||
pointcloud.moveToGroundPlane();
|
||||
pointcloud.position.y -= 1.6
|
||||
scene.add(pointcloud);
|
||||
|
||||
// grid
|
||||
scene.add(createGrid(8,8,1));
|
||||
|
||||
// measurement
|
||||
var sphereGeometry = new THREE.SphereGeometry(0.05, 32, 32);
|
||||
var sphereMaterial = new THREE.MeshBasicMaterial({color: 0xbb0000, shading: THREE.FlatShading});
|
||||
spStart = new THREE.Mesh(sphereGeometry, sphereMaterial);
|
||||
spEnd = new THREE.Mesh(sphereGeometry, sphereMaterial);
|
||||
//spStart.position.set(-1.1,1.05,2);
|
||||
//spEnd.position.set(1.3,1.0,1.15);
|
||||
spStart.position.set(-2.2,1.9, 1.66);
|
||||
spEnd.position.set(0.02,2,2.64);
|
||||
scene.add(spStart);
|
||||
scene.add(spEnd);
|
||||
|
||||
var lc = new THREE.Color( 0xff0000 );
|
||||
var lineGeometry = new THREE.Geometry();
|
||||
lineGeometry.vertices.push(spStart.position.clone(), spEnd.position.clone());
|
||||
lineGeometry.colors.push(lc, lc, lc);
|
||||
var lineMaterial = new THREE.LineBasicMaterial( { vertexColors: THREE.VertexColors } );
|
||||
sConnection = new THREE.Line(lineGeometry, lineMaterial);
|
||||
scene.add(sConnection);
|
||||
|
||||
// controls
|
||||
camera.position.set(4,6,10);
|
||||
controls = new THREE.OrbitControls(camera, renderer.domElement);
|
||||
controls.target.set( 0, 3, 0 );
|
||||
camera.lookAt(controls.target);
|
||||
|
||||
document.addEventListener( 'mousemove', onDocumentMouseMove, false );
|
||||
renderer.domElement.addEventListener( 'click', onClick, false );
|
||||
}
|
||||
|
||||
function placeStart(){
|
||||
placeStartMode = true;
|
||||
placeEndMode = false;
|
||||
}
|
||||
function createGrid(width, length, spacing){
|
||||
var material = new THREE.LineBasicMaterial({
|
||||
color: 0xBBBBBB
|
||||
});
|
||||
|
||||
var geometry = new THREE.Geometry();
|
||||
for(var i = 0; i <= length; i++){
|
||||
geometry.vertices.push(new THREE.Vector3(-(spacing*width)/2, 0, i*spacing-(spacing*length)/2));
|
||||
geometry.vertices.push(new THREE.Vector3(+(spacing*width)/2, 0, i*spacing-(spacing*length)/2));
|
||||
}
|
||||
|
||||
for(var i = 0; i <= width; i++){
|
||||
geometry.vertices.push(new THREE.Vector3(i*spacing-(spacing*width)/2, 0, -(spacing*length)/2));
|
||||
geometry.vertices.push(new THREE.Vector3(i*spacing-(spacing*width)/2, 0, +(spacing*length)/2));
|
||||
}
|
||||
|
||||
var line = new THREE.Line(geometry, material, THREE.LinePieces);
|
||||
line.receiveShadow = true;
|
||||
return line;
|
||||
}
|
||||
|
||||
function placeEnd(){
|
||||
placeStartMode = false;
|
||||
placeEndMode = true;
|
||||
}
|
||||
function onDocumentMouseMove( event ) {
|
||||
event.preventDefault();
|
||||
|
||||
function onClick(){
|
||||
placeStartMode = false;
|
||||
placeEndMode = false;
|
||||
}
|
||||
mouse.x = ( event.clientX / window.innerWidth ) * 2 - 1;
|
||||
mouse.y = - ( event.clientY / window.innerHeight ) * 2 + 1;
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<input type="button" value="place start"
|
||||
style="position:absolute; left: 10px; top: 10px; width: 100px; z-index: 100"
|
||||
onclick="placeStart()">
|
||||
<input type="button" value="place end"
|
||||
style="position:absolute; left: 10px; top: 40px; width: 100px; z-index: 100"
|
||||
onclick="placeEnd()">
|
||||
|
||||
<div id="lblDistance" style="position: absolute; width: 20px; z-index: 100;">abc</div>
|
||||
function render() {
|
||||
requestAnimationFrame(render);
|
||||
|
||||
camera.updateMatrixWorld(true);
|
||||
|
||||
vector = new THREE.Vector3( mouse.x, mouse.y, 0.5 );
|
||||
projector.unprojectVector( vector, camera );
|
||||
raycaster.params = {"PointCloud" : {threshold: 0.1}};
|
||||
raycaster.ray.set( camera.position, vector.sub( camera.position ).normalize() );
|
||||
|
||||
scene.traverse( function ( object ) {
|
||||
if ( object instanceof Potree.PointCloudOctree ) {
|
||||
object.update( camera );
|
||||
}
|
||||
} );
|
||||
|
||||
if(placeStartMode || placeEndMode){
|
||||
var intersects = raycaster.intersectObject(pointcloud, true);
|
||||
|
||||
if(intersects.length > 0){
|
||||
var I = intersects[0];
|
||||
|
||||
if(placeStartMode){
|
||||
spStart.position = I.point;
|
||||
}else if(placeEndMode){
|
||||
spEnd.position = I.point;
|
||||
}
|
||||
sConnection.geometry.vertices[0].copy(spStart.position);
|
||||
sConnection.geometry.vertices[1].copy(spEnd.position);
|
||||
sConnection.geometry.verticesNeedUpdate = true;
|
||||
sConnection.geometry.computeBoundingSphere();
|
||||
}
|
||||
}
|
||||
|
||||
// placing distance label
|
||||
var labelPos = spStart.position.clone().add(spEnd.position).multiplyScalar(0.5);
|
||||
projector.projectVector(labelPos, camera);
|
||||
labelPos.x = (labelPos.x + 1)/2 * window.innerWidth;
|
||||
labelPos.y = -(labelPos.y - 1)/2 * window.innerHeight;
|
||||
|
||||
var distance = spStart.position.distanceTo(spEnd.position);
|
||||
var lblDistance = document.getElementById("lblDistance");
|
||||
lblDistance.style.left = labelPos.x;
|
||||
lblDistance.style.top = labelPos.y;
|
||||
lblDistance.innerHTML = distance.toFixed(2);
|
||||
|
||||
var numVisibleNodes = pointcloud.numVisibleNodes;
|
||||
var numVisiblePoints = pointcloud.numVisiblePoints;
|
||||
document.getElementById("lblNumVisibleNodes").innerHTML = "visible nodes: " + numVisibleNodes;
|
||||
document.getElementById("lblNumVisiblePoints").innerHTML = "visible points: " + Potree.utils.addCommas(numVisiblePoints);
|
||||
|
||||
// render skybox
|
||||
cameraCube.rotation.copy( camera.rotation );
|
||||
renderer.render( sceneCube, cameraCube );
|
||||
|
||||
renderer.render(scene, camera);
|
||||
};
|
||||
|
||||
initThree();
|
||||
initGUI();
|
||||
render();
|
||||
|
||||
function placeStart(){
|
||||
placeStartMode = true;
|
||||
placeEndMode = false;
|
||||
}
|
||||
|
||||
function placeEnd(){
|
||||
placeStartMode = false;
|
||||
placeEndMode = true;
|
||||
}
|
||||
|
||||
function onClick(){
|
||||
placeStartMode = false;
|
||||
placeEndMode = false;
|
||||
|
||||
console.log(spStart.position);
|
||||
console.log(spEnd.position);
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -2,131 +2,208 @@
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>lion</title>
|
||||
<title>Lion</title>
|
||||
<style>canvas { width: 100%; height: 100% }</style>
|
||||
</head>
|
||||
<body style="margin: 0; padding: 0">
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
.info{
|
||||
color:white;
|
||||
font-weight: bold;
|
||||
text-shadow: 1px 1px 1px black,
|
||||
1px -1px 1px black,
|
||||
-1px 1px 1px black,
|
||||
-1px -1px 1px black;
|
||||
}
|
||||
|
||||
a:hover, a:visited, a:link, a:active{
|
||||
color: #ccccff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<script src="../libs/three.js/build/three.js"></script>
|
||||
<script src="../libs/other/OrbitControls.js"></script>
|
||||
<script src="../libs/other/stats.min.js"></script>
|
||||
<script src="../libs/other/dat.gui.min.js"></script>
|
||||
<script src="../src/Potree.js"></script>
|
||||
<script src="../src/PointCloudOctree.js"></script>
|
||||
<script src="../src/PointCloudOctreeGeometry.js"></script>
|
||||
<script src="../src/PointCloudOctree.js"></script>
|
||||
<script src="../src/loader/POCLoader.js"></script>
|
||||
<script src="../src/loader/PointAttributes.js"></script>
|
||||
<script src="../src/utils.js"></script>
|
||||
<script src="../src/LRU.js"></script>
|
||||
|
||||
|
||||
|
||||
<div id="lblNumVisibleNodes" class="info" style="position: absolute; left: 10px; top: 80px; width: 400px; color:white"></div>
|
||||
<div id="lblNumVisiblePoints" class="info" style="position: absolute; left: 10px; top: 100px; width: 400px; color:white"></div>
|
||||
|
||||
<div class="info" style="position: absolute; left: 300px; right: 300px; top: 10px; text-align: center;">
|
||||
<a href="http://potree.org" target="_blank">potree.org</a><br>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
var defaultPointSize = 0.03;
|
||||
var defaultLOD = 15;
|
||||
var pointcloudPath = "../resources/pointclouds/lion_takanawa/cloud.js";
|
||||
|
||||
var renderer;
|
||||
var camera;
|
||||
var cube;
|
||||
var scene;
|
||||
var octreeNodesVisible = 0;
|
||||
var pointsVisible = 0;
|
||||
var pointCloud;
|
||||
var pointClouds = [];
|
||||
var pointclouds = [];
|
||||
var cameraCube, sceneCube;
|
||||
var stats;
|
||||
var pointcloudMaterial;
|
||||
|
||||
function loadSkybox(){
|
||||
cameraCube = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 1, 100000 );
|
||||
sceneCube = new THREE.Scene();
|
||||
|
||||
var path = "../resources/textures/skybox/";
|
||||
var format = ".jpg";
|
||||
var urls = [
|
||||
path + 'px' + format, path + 'nx' + format,
|
||||
path + 'py' + format, path + 'ny' + format,
|
||||
path + 'pz' + format, path + 'nz' + format
|
||||
];
|
||||
|
||||
var textureCube = THREE.ImageUtils.loadTextureCube( urls, new THREE.CubeRefractionMapping() );
|
||||
var material = new THREE.MeshBasicMaterial( { color: 0xffffff, envMap: textureCube, refractionRatio: 0.95 } );
|
||||
|
||||
var shader = THREE.ShaderLib[ "cube" ];
|
||||
shader.uniforms[ "tCube" ].value = textureCube;
|
||||
|
||||
var material = new THREE.ShaderMaterial( {
|
||||
|
||||
fragmentShader: shader.fragmentShader,
|
||||
vertexShader: shader.vertexShader,
|
||||
uniforms: shader.uniforms,
|
||||
depthWrite: false,
|
||||
side: THREE.BackSide
|
||||
|
||||
} ),
|
||||
|
||||
mesh = new THREE.Mesh( new THREE.BoxGeometry( 100, 100, 100 ), material );
|
||||
sceneCube.add( mesh );
|
||||
}
|
||||
|
||||
function initGUI(){
|
||||
var gui = new dat.GUI({
|
||||
height : 5 * 32 - 1
|
||||
});
|
||||
|
||||
var params = {
|
||||
PointSize: defaultPointSize,
|
||||
LOD: defaultLOD
|
||||
};
|
||||
|
||||
var pLOD = gui.add(params, 'LOD', 0.5,20);
|
||||
pLOD.onChange(function(value){
|
||||
//pointCloud.LOD = value;
|
||||
for(var i = 0; i < pointclouds.length; i++){
|
||||
pointclouds[i].LOD = value;
|
||||
}
|
||||
});
|
||||
|
||||
var pPointSize = gui.add(params, 'PointSize', 0.01, 0.1);
|
||||
pPointSize.onChange(function(value){
|
||||
pointcloudMaterial.size = value;
|
||||
});
|
||||
}
|
||||
|
||||
function initThree(){
|
||||
stats = new Stats();
|
||||
stats.domElement.style.position = 'absolute';
|
||||
stats.domElement.style.top = '0px';
|
||||
stats.domElement.style.margin = '5px';
|
||||
document.body.appendChild( stats.domElement );
|
||||
|
||||
scene = new THREE.Scene();
|
||||
camera = new THREE.PerspectiveCamera(75, window.innerWidth/window.innerHeight, 0.1, 1000);
|
||||
camera = new THREE.PerspectiveCamera(75, window.innerWidth/window.innerHeight, 0.1, 100000);
|
||||
|
||||
renderer = new THREE.WebGLRenderer();
|
||||
renderer.setSize(window.innerWidth, window.innerHeight);
|
||||
renderer.autoClear = false;
|
||||
document.body.appendChild(renderer.domElement);
|
||||
|
||||
loadSkybox();
|
||||
|
||||
camera.position.z = 6;
|
||||
camera.position.y = 4;
|
||||
camera.position.x = 4;
|
||||
|
||||
var pointLight = new THREE.PointLight(0xffffff);
|
||||
pointLight.position.set(10, 10, 10);
|
||||
scene.add(pointLight);
|
||||
|
||||
var ambientLight = new THREE.AmbientLight(0x111111);
|
||||
scene.add(ambientLight);
|
||||
|
||||
controls = new THREE.OrbitControls(camera);
|
||||
// camera and controls
|
||||
camera.position.z = 25;
|
||||
camera.position.y = 10;
|
||||
camera.position.x = 15;
|
||||
controls = new THREE.OrbitControls(camera, renderer.domElement);
|
||||
controls.target.set( 0, 3, 0 );
|
||||
camera.lookAt(new THREE.Vector3(0,3,0));
|
||||
camera.lookAt(controls.target);
|
||||
|
||||
var material = new THREE.PointCloudMaterial( { size: 0.02, vertexColors: true } );
|
||||
var pco = POCLoader.load("../resources/pointclouds/lion_takanawa/cloud.js");
|
||||
pointcloudMaterial = new THREE.PointCloudMaterial( { size: defaultPointSize, vertexColors: true } );
|
||||
|
||||
pointCloud = new Potree.PointCloudOctree(pco, material);
|
||||
pointCloud.LODDistance = 80;
|
||||
pointCloud.rotation.x = Math.PI;
|
||||
pointCloud.position.x = 8;
|
||||
pointCloud.position.z = -2;
|
||||
pointCloud.position.y = 4;
|
||||
scene.add(pointCloud);
|
||||
//// load pointcloud
|
||||
var pco = POCLoader.load(pointcloudPath);
|
||||
//pointCloud = new Potree.PointCloudOctree(pco, pointcloudMaterial);
|
||||
//pointCloud.LOD = defaultLOD;
|
||||
//pointCloud.rotation.set(Math.PI,-1.2,0);
|
||||
//pointCloud.moveToOrigin();
|
||||
//pointCloud.moveToGroundPlane();
|
||||
//scene.add(pointCloud);
|
||||
|
||||
scene.add(createGrid(8,8,1));
|
||||
for(var i = -2; i <= 2; i++){
|
||||
for(var j = -2; j <= 2; j++){
|
||||
var pointcloud = new Potree.PointCloudOctree(pco, pointcloudMaterial);
|
||||
pointcloud.LOD = defaultLOD;
|
||||
//pointcloud.rotation.set(Math.PI,-1.2,0);
|
||||
pointcloud.rotation.set(Math.PI/2, 0.85* -Math.PI/2, -0.0);
|
||||
pointcloud.moveToOrigin();
|
||||
pointcloud.moveToGroundPlane();
|
||||
pointcloud.position.x += 8*i;
|
||||
pointcloud.position.z += 8*j;
|
||||
|
||||
pointclouds.push(pointcloud);
|
||||
scene.add(pointcloud);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function onDocumentMouseMove( event ) {
|
||||
event.preventDefault();
|
||||
|
||||
mouse.x = ( event.clientX / window.innerWidth ) * 2 - 1;
|
||||
mouse.y = - ( event.clientY / window.innerHeight ) * 2 + 1;
|
||||
}
|
||||
|
||||
function createGrid(width, length, spacing){
|
||||
var material = new THREE.LineBasicMaterial({
|
||||
color: 0xBBBBBB
|
||||
});
|
||||
|
||||
var geometry = new THREE.Geometry();
|
||||
for(var i = 0; i <= length; i++){
|
||||
geometry.vertices.push(new THREE.Vector3(-(spacing*width)/2, 0, i*spacing-(spacing*length)/2));
|
||||
geometry.vertices.push(new THREE.Vector3(+(spacing*width)/2, 0, i*spacing-(spacing*length)/2));
|
||||
}
|
||||
|
||||
for(var i = 0; i <= width; i++){
|
||||
geometry.vertices.push(new THREE.Vector3(i*spacing-(spacing*width)/2, 0, -(spacing*length)/2));
|
||||
geometry.vertices.push(new THREE.Vector3(i*spacing-(spacing*width)/2, 0, +(spacing*length)/2));
|
||||
}
|
||||
|
||||
var line = new THREE.Line(geometry, material, THREE.LinePieces);
|
||||
line.receiveShadow = true;
|
||||
return line;
|
||||
}
|
||||
|
||||
|
||||
var toggle = 0;
|
||||
function render() {
|
||||
|
||||
requestAnimationFrame(render);
|
||||
|
||||
octreeNodesVisible = 0;
|
||||
pointsVisible = 0;
|
||||
scene.traverse( function ( object ) {
|
||||
if ( object instanceof Potree.PointCloudOctree ) {
|
||||
object.update( camera );
|
||||
}else if(object instanceof THREE.PointCloud){
|
||||
if(object.visible){
|
||||
octreeNodesVisible++;
|
||||
pointsVisible += object.numPoints;
|
||||
}
|
||||
}
|
||||
} );
|
||||
|
||||
var numVisibleNodes = 0;
|
||||
var numVisiblePoints = 0;
|
||||
for(var i = 0; i < pointclouds.length; i++){
|
||||
var pointcloud = pointclouds[i];
|
||||
pointcloud.update(camera);
|
||||
numVisibleNodes += pointcloud.numVisibleNodes;
|
||||
numVisiblePoints += pointcloud.numVisiblePoints;
|
||||
}
|
||||
|
||||
// render skybox
|
||||
cameraCube.rotation.copy( camera.rotation );
|
||||
renderer.render( sceneCube, cameraCube );
|
||||
|
||||
renderer.render(scene, camera);
|
||||
|
||||
document.getElementById("lblNumVisibleNodes").innerHTML = "visible nodes: " + octreeNodesVisible;
|
||||
document.getElementById("lblNumVisiblePoints").innerHTML = "visible points: " + pointsVisible;
|
||||
document.getElementById("lblNumVisibleNodes").innerHTML = "visible nodes: " + numVisibleNodes;
|
||||
document.getElementById("lblNumVisiblePoints").innerHTML = "visible points: " + Potree.utils.addCommas(numVisiblePoints);
|
||||
|
||||
stats.update();
|
||||
controls.update(0.1);
|
||||
|
||||
};
|
||||
|
||||
initThree();
|
||||
initGUI();
|
||||
render();
|
||||
|
||||
</script>
|
||||
|
||||
<div id="lblNumVisibleNodes" style="position: absolute; left: 10px; top: 20px; width: 400px; color:white"></div>
|
||||
<div id="lblNumVisiblePoints" style="position: absolute; left: 10px; top: 40px; width: 400px; color:white"></div>
|
||||
<div id="lblControl" style="position:absolute; left: 10px; top: 80px; width: 400px; color: white">
|
||||
Orbit Controls:<br>
|
||||
left mouse button: rotate object<br>
|
||||
right mouse button: pan the screen<br>
|
||||
scrool wheel: zoom in and out
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -1,152 +0,0 @@
|
||||
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Skybox</title>
|
||||
<style>canvas { width: 100%; height: 100% }</style>
|
||||
</head>
|
||||
<body style="margin: 0; padding: 0">
|
||||
<script src="../libs/three.js/build/three.js"></script>
|
||||
<script src="../libs/other/OrbitControls.js"></script>
|
||||
<script src="../src/Potree.js"></script>
|
||||
<script src="../src/PointCloudOctree.js"></script>
|
||||
<script src="../src/PointCloudOctreeGeometry.js"></script>
|
||||
<script src="../src/loader/POCLoader.js"></script>
|
||||
<script src="../src/loader/PointAttributes.js"></script>
|
||||
<script src="../src/utils.js"></script>
|
||||
<script src="../src/LRU.js"></script>
|
||||
<script>
|
||||
var renderer;
|
||||
var camera;
|
||||
var cube;
|
||||
var scene;
|
||||
var pointCloud;
|
||||
var cameraCube, sceneCube;
|
||||
|
||||
/**
|
||||
* see three.js cubemap examples
|
||||
*/
|
||||
function loadSkybox(){
|
||||
cameraCube = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 1, 100000 );
|
||||
sceneCube = new THREE.Scene();
|
||||
|
||||
var path = "../resources/textures/skybox/";
|
||||
var format = ".jpg";
|
||||
var urls = [
|
||||
path + 'px' + format, path + 'nx' + format,
|
||||
path + 'py' + format, path + 'ny' + format,
|
||||
path + 'pz' + format, path + 'nz' + format
|
||||
];
|
||||
|
||||
var textureCube = THREE.ImageUtils.loadTextureCube( urls, new THREE.CubeRefractionMapping() );
|
||||
var material = new THREE.MeshBasicMaterial( { color: 0xffffff, envMap: textureCube, refractionRatio: 0.95 } );
|
||||
|
||||
var shader = THREE.ShaderLib[ "cube" ];
|
||||
shader.uniforms[ "tCube" ].value = textureCube;
|
||||
|
||||
var material = new THREE.ShaderMaterial( {
|
||||
|
||||
fragmentShader: shader.fragmentShader,
|
||||
vertexShader: shader.vertexShader,
|
||||
uniforms: shader.uniforms,
|
||||
depthWrite: false,
|
||||
side: THREE.BackSide
|
||||
|
||||
} ),
|
||||
|
||||
mesh = new THREE.Mesh( new THREE.BoxGeometry( 100, 100, 100 ), material );
|
||||
sceneCube.add( mesh );
|
||||
}
|
||||
|
||||
function initThree(){
|
||||
scene = new THREE.Scene();
|
||||
camera = new THREE.PerspectiveCamera(75, window.innerWidth/window.innerHeight, 0.1, 100000);
|
||||
|
||||
renderer = new THREE.WebGLRenderer();
|
||||
renderer.setSize(window.innerWidth, window.innerHeight);
|
||||
renderer.autoClear = false;
|
||||
document.body.appendChild(renderer.domElement);
|
||||
|
||||
loadSkybox();
|
||||
|
||||
camera.position.z = 5;
|
||||
camera.position.y = 5;
|
||||
camera.position.x = -6;
|
||||
|
||||
var pointLight = new THREE.PointLight(0xffffff);
|
||||
pointLight.position.set(10, 10, 10);
|
||||
scene.add(pointLight);
|
||||
|
||||
var ambientLight = new THREE.AmbientLight(0x111111);
|
||||
scene.add(ambientLight);
|
||||
|
||||
controls = new THREE.OrbitControls(camera);
|
||||
controls.target.set( 0, 3, 0 );
|
||||
camera.lookAt(new THREE.Vector3(0,3,0));
|
||||
|
||||
var material = new THREE.PointCloudMaterial( { size: 0.05, vertexColors: true } );
|
||||
var pco = POCLoader.load("../resources/pointclouds/lion_takanawa/cloud.js");
|
||||
|
||||
var pointCloud = new Potree.PointCloudOctree(pco, material);
|
||||
pointCloud.LODDistance = 80;
|
||||
pointCloud.rotation.x = Math.PI;
|
||||
pointCloud.rotation.y = 2;
|
||||
pointCloud.position.x = -2;
|
||||
pointCloud.position.z = 8;
|
||||
pointCloud.position.y = 4;
|
||||
scene.add(pointCloud);
|
||||
|
||||
scene.add(createGrid(8,8,1));
|
||||
}
|
||||
|
||||
function createGrid(width, length, spacing){
|
||||
var material = new THREE.LineBasicMaterial({
|
||||
color: 0x666666
|
||||
});
|
||||
|
||||
var geometry = new THREE.Geometry();
|
||||
for(var i = 0; i <= length; i++){
|
||||
geometry.vertices.push(new THREE.Vector3(-(spacing*width)/2, 0, i*spacing-(spacing*length)/2));
|
||||
geometry.vertices.push(new THREE.Vector3(+(spacing*width)/2, 0, i*spacing-(spacing*length)/2));
|
||||
}
|
||||
|
||||
for(var i = 0; i <= width; i++){
|
||||
geometry.vertices.push(new THREE.Vector3(i*spacing-(spacing*width)/2, 0, -(spacing*length)/2));
|
||||
geometry.vertices.push(new THREE.Vector3(i*spacing-(spacing*width)/2, 0, +(spacing*length)/2));
|
||||
}
|
||||
|
||||
var line = new THREE.Line(geometry, material, THREE.LinePieces);
|
||||
line.receiveShadow = true;
|
||||
return line;
|
||||
}
|
||||
|
||||
function render() {
|
||||
|
||||
requestAnimationFrame(render);
|
||||
|
||||
scene.traverse( function ( object ) {
|
||||
if ( object instanceof Potree.PointCloudOctree ) {
|
||||
object.update( camera );
|
||||
}
|
||||
} );
|
||||
|
||||
cameraCube.rotation.copy( camera.rotation );
|
||||
renderer.render( sceneCube, cameraCube );
|
||||
renderer.render(scene, camera);
|
||||
|
||||
};
|
||||
|
||||
initThree();
|
||||
render();
|
||||
|
||||
</script>
|
||||
|
||||
<div id="lblControl" style="position:absolute; left: 10px; top: 10px; width: 400px; color: black">
|
||||
Orbit Controls:<br>
|
||||
left mouse button: rotate object<br>
|
||||
right mouse button: pan the screen<br>
|
||||
scrool wheel: zoom in and out
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -1,267 +1,235 @@
|
||||
{
|
||||
"version": "1.1",
|
||||
"octreeDir": "data",
|
||||
"boundingBox": {
|
||||
"lx": -9.55936,
|
||||
"ly": -1.54397,
|
||||
"lz": -4.07171,
|
||||
"ux": -6.15823,
|
||||
"uy": 4.41185,
|
||||
"uz": 1.78639
|
||||
"lx": -2.91016,
|
||||
"ly": -4.06274,
|
||||
"lz": 2.63048,
|
||||
"ux": 4.62238,
|
||||
"uy": 2.93155,
|
||||
"uz": 9.7029
|
||||
},
|
||||
"pointAttributes": [
|
||||
"POSITION_CARTESIAN",
|
||||
"COLOR_PACKED"
|
||||
],
|
||||
"spacing": 0.075,
|
||||
"hierarchy": [
|
||||
["r",12508],
|
||||
["r0", 3282],
|
||||
["r1", 3065],
|
||||
["r2", 3410],
|
||||
["r3", 4894],
|
||||
["r4", 5455],
|
||||
["r5", 453],
|
||||
["r6", 6654],
|
||||
["r7", 1953],
|
||||
["r70", 410],
|
||||
["r72", 4576],
|
||||
["r73", 664],
|
||||
["r76", 324],
|
||||
["r30", 236],
|
||||
["r31", 1226],
|
||||
["r33", 13],
|
||||
["r34", 5456],
|
||||
["r35", 3722],
|
||||
["r36", 1777],
|
||||
["r37", 2673],
|
||||
["r10", 242],
|
||||
["r12", 1051],
|
||||
["r13", 1005],
|
||||
["r14", 1957],
|
||||
["r16", 5782],
|
||||
["r17", 132],
|
||||
["r50", 458],
|
||||
["r52", 1165],
|
||||
["r40", 3998],
|
||||
["r41", 4412],
|
||||
["r42", 1009],
|
||||
["r43", 7111],
|
||||
["r60", 1520],
|
||||
["r61", 4430],
|
||||
["r62", 2443],
|
||||
["r63", 3945],
|
||||
["r64", 1332],
|
||||
["r65", 1049],
|
||||
["r66", 1776],
|
||||
["r67", 2936],
|
||||
["r20", 2065],
|
||||
["r21", 1539],
|
||||
["r22", 1119],
|
||||
["r24", 502],
|
||||
["r25", 1193],
|
||||
["r26", 3151],
|
||||
["r27", 648],
|
||||
["r00", 682],
|
||||
["r01", 175],
|
||||
["r02", 2309],
|
||||
["r03", 334],
|
||||
["r04", 3134],
|
||||
["r05", 27],
|
||||
["r06", 3813],
|
||||
["r07", 61],
|
||||
["r732", 57],
|
||||
["r733", 21],
|
||||
["r736", 9],
|
||||
["r720", 3639],
|
||||
["r721", 1716],
|
||||
["r722", 1978],
|
||||
["r723", 672],
|
||||
["r724", 198],
|
||||
["r726", 164],
|
||||
["r727", 21],
|
||||
["r701", 879],
|
||||
["r702", 117],
|
||||
["r703", 176],
|
||||
["r762", 131],
|
||||
["r370", 1972],
|
||||
["r371", 40],
|
||||
["r372", 391],
|
||||
["r373", 21],
|
||||
["r374", 2511],
|
||||
["r376", 469],
|
||||
["r377", 45],
|
||||
["r350", 4959],
|
||||
["r352", 3686],
|
||||
["r354", 3211],
|
||||
["r356", 2785],
|
||||
["r310", 579],
|
||||
["r314", 3558],
|
||||
["r316", 578],
|
||||
["r340", 80],
|
||||
["r341", 702],
|
||||
["r342", 270],
|
||||
["r343", 126],
|
||||
["r344", 580],
|
||||
["r345", 4745],
|
||||
["r346", 833],
|
||||
["r347", 3461],
|
||||
["r360", 2],
|
||||
["r364", 140],
|
||||
["r365", 2036],
|
||||
["r366", 6],
|
||||
["r367", 1716],
|
||||
["r306", 135],
|
||||
["r334", 37],
|
||||
["r132", 857],
|
||||
["r136", 3008],
|
||||
["r172", 519],
|
||||
["r160", 1805],
|
||||
["r161", 2076],
|
||||
["r163", 6602],
|
||||
["r164", 4971],
|
||||
["r165", 44],
|
||||
["r166", 4489],
|
||||
["r167", 890],
|
||||
["r121", 35],
|
||||
["r123", 175],
|
||||
["r124", 192],
|
||||
["r125", 1504],
|
||||
["r127", 1550],
|
||||
["r140", 107],
|
||||
["r142", 2090],
|
||||
["r144", 870],
|
||||
["r146", 3540],
|
||||
["r104", 74],
|
||||
["r106", 751],
|
||||
["r520", 2005],
|
||||
["r522", 1349],
|
||||
["r526", 356],
|
||||
["r500", 292],
|
||||
["r502", 1188],
|
||||
["r430", 3416],
|
||||
["r431", 3189],
|
||||
["r432", 3034],
|
||||
["r433", 521],
|
||||
["r434", 1587],
|
||||
["r435", 2960],
|
||||
["r436", 2775],
|
||||
["r437", 4786],
|
||||
["r410", 101],
|
||||
["r411", 2179],
|
||||
["r412", 1558],
|
||||
["r413", 4080],
|
||||
["r414", 2827],
|
||||
["r415", 738],
|
||||
["r416", 1783],
|
||||
["r417", 547],
|
||||
["r420", 10],
|
||||
["r421", 2096],
|
||||
["r423", 1014],
|
||||
["r425", 14],
|
||||
["r400", 2123],
|
||||
["r401", 1044],
|
||||
["r402", 3362],
|
||||
["r403", 831],
|
||||
["r405", 2543],
|
||||
["r406", 39],
|
||||
["r407", 3644],
|
||||
["r630", 155],
|
||||
["r631", 353],
|
||||
["r633", 70],
|
||||
["r634", 977],
|
||||
["r635", 2803],
|
||||
["r636", 1388],
|
||||
["r637", 2228],
|
||||
["r610", 1260],
|
||||
["r611", 8],
|
||||
["r612", 541],
|
||||
["r613", 1032],
|
||||
["r614", 4581],
|
||||
["r615", 963],
|
||||
["r616", 1480],
|
||||
["r617", 1858],
|
||||
["r650", 917],
|
||||
["r652", 2202],
|
||||
["r670", 1106],
|
||||
["r672", 760],
|
||||
["r673", 276],
|
||||
["r676", 368],
|
||||
["r677", 79],
|
||||
["r620", 2017],
|
||||
["r621", 890],
|
||||
["r622", 79],
|
||||
["r624", 407],
|
||||
["r625", 1446],
|
||||
["r627", 598],
|
||||
["r601", 112],
|
||||
["r603", 546],
|
||||
["r605", 967],
|
||||
["r607", 2826],
|
||||
["r661", 2103],
|
||||
["r663", 1114],
|
||||
["r667", 42],
|
||||
["r641", 603],
|
||||
["r643", 3673],
|
||||
["r270", 24],
|
||||
["r271", 7],
|
||||
["r274", 224],
|
||||
["r275", 69],
|
||||
["r250", 8],
|
||||
["r252", 287],
|
||||
["r253", 77],
|
||||
["r254", 59],
|
||||
["r256", 252],
|
||||
["r257", 151],
|
||||
["r210", 15],
|
||||
["r212", 68],
|
||||
["r213", 8],
|
||||
["r214", 1061],
|
||||
["r216", 1081],
|
||||
["r217", 2],
|
||||
["r201", 1249],
|
||||
["r202", 78],
|
||||
["r203", 871],
|
||||
["r205", 979],
|
||||
["r206", 13],
|
||||
["r207", 1947],
|
||||
["r220", 135],
|
||||
["r224", 1133],
|
||||
["r225", 63],
|
||||
["r260", 1675],
|
||||
["r261", 535],
|
||||
["r262", 60],
|
||||
["r264", 2100],
|
||||
["r265", 923],
|
||||
["r266", 56],
|
||||
["r241", 94],
|
||||
["r243", 343],
|
||||
["r245", 95],
|
||||
["r012", 126],
|
||||
["r016", 541],
|
||||
["r076", 8],
|
||||
["r077", 34],
|
||||
["r061", 3662],
|
||||
["r063", 3111],
|
||||
["r064", 8],
|
||||
["r065", 3046],
|
||||
["r067", 3444],
|
||||
["r055", 52],
|
||||
["r040", 596],
|
||||
["r041", 1710],
|
||||
["r042", 389],
|
||||
["r043", 1592],
|
||||
["r044", 3145],
|
||||
["r045", 291],
|
||||
["r046", 3502],
|
||||
["r021", 992],
|
||||
["r023", 2142],
|
||||
["r025", 3290],
|
||||
["r027", 2398],
|
||||
["r030", 444],
|
||||
["r032", 5],
|
||||
["r034", 764],
|
||||
["r036", 49],
|
||||
["r003", 1],
|
||||
["r005", 466],
|
||||
["r007", 2175]
|
||||
["r",10452],
|
||||
["r0", 2212],
|
||||
["r1", 211],
|
||||
["r2", 3897],
|
||||
["r3", 5105],
|
||||
["r4", 6221],
|
||||
["r5", 1185],
|
||||
["r6", 5263],
|
||||
["r7", 5897],
|
||||
["r40", 3368],
|
||||
["r41", 1773],
|
||||
["r42", 192],
|
||||
["r43", 8166],
|
||||
["r44", 230],
|
||||
["r45", 1013],
|
||||
["r46", 3262],
|
||||
["r47", 3751],
|
||||
["r02", 196],
|
||||
["r03", 1408],
|
||||
["r05", 445],
|
||||
["r07", 5992],
|
||||
["r12", 153],
|
||||
["r16", 550],
|
||||
["r17", 23],
|
||||
["r52", 3676],
|
||||
["r53", 384],
|
||||
["r54", 282],
|
||||
["r21", 5823],
|
||||
["r23", 1138],
|
||||
["r25", 7114],
|
||||
["r27", 371],
|
||||
["r30", 4773],
|
||||
["r32", 3023],
|
||||
["r34", 5945],
|
||||
["r35", 3337],
|
||||
["r36", 381],
|
||||
["r37", 679],
|
||||
["r61", 5986],
|
||||
["r63", 1789],
|
||||
["r64", 2798],
|
||||
["r65", 5754],
|
||||
["r67", 2846],
|
||||
["r70", 6361],
|
||||
["r71", 3398],
|
||||
["r72", 7515],
|
||||
["r73", 2870],
|
||||
["r76", 2052],
|
||||
["r77", 317],
|
||||
["r401", 1139],
|
||||
["r403", 2068],
|
||||
["r406", 588],
|
||||
["r407", 4803],
|
||||
["r424", 85],
|
||||
["r425", 422],
|
||||
["r410", 882],
|
||||
["r412", 908],
|
||||
["r413", 1833],
|
||||
["r414", 18],
|
||||
["r416", 1558],
|
||||
["r417", 14],
|
||||
["r430", 5802],
|
||||
["r431", 9],
|
||||
["r432", 6088],
|
||||
["r433", 7255],
|
||||
["r434", 4254],
|
||||
["r435", 305],
|
||||
["r436", 5099],
|
||||
["r437", 180],
|
||||
["r460", 34],
|
||||
["r461", 1670],
|
||||
["r463", 979],
|
||||
["r464", 52],
|
||||
["r465", 2132],
|
||||
["r466", 1049],
|
||||
["r467", 3768],
|
||||
["r443", 677],
|
||||
["r452", 950],
|
||||
["r453", 2186],
|
||||
["r470", 4914],
|
||||
["r471", 451],
|
||||
["r472", 6367],
|
||||
["r476", 1684],
|
||||
["r026", 489],
|
||||
["r033", 804],
|
||||
["r037", 3850],
|
||||
["r054", 244],
|
||||
["r056", 25],
|
||||
["r057", 1071],
|
||||
["r070", 641],
|
||||
["r071", 1745],
|
||||
["r072", 2695],
|
||||
["r073", 2571],
|
||||
["r074", 4818],
|
||||
["r075", 1002],
|
||||
["r076", 5922],
|
||||
["r077", 1651],
|
||||
["r122", 33],
|
||||
["r126", 388],
|
||||
["r162", 23],
|
||||
["r163", 22],
|
||||
["r164", 1665],
|
||||
["r165", 58],
|
||||
["r166", 21],
|
||||
["r172", 42],
|
||||
["r174", 8],
|
||||
["r520", 1900],
|
||||
["r521", 186],
|
||||
["r522", 7834],
|
||||
["r523", 2085],
|
||||
["r542", 1007],
|
||||
["r530", 875],
|
||||
["r536", 37],
|
||||
["r537", 40],
|
||||
["r210", 1327],
|
||||
["r211", 2457],
|
||||
["r212", 911],
|
||||
["r213", 3600],
|
||||
["r214", 4148],
|
||||
["r215", 1289],
|
||||
["r216", 1087],
|
||||
["r217", 5700],
|
||||
["r231", 2310],
|
||||
["r235", 1950],
|
||||
["r250", 3354],
|
||||
["r251", 1202],
|
||||
["r252", 1537],
|
||||
["r253", 6186],
|
||||
["r254", 400],
|
||||
["r255", 4505],
|
||||
["r256", 698],
|
||||
["r257", 7027],
|
||||
["r275", 1313],
|
||||
["r300", 2160],
|
||||
["r301", 127],
|
||||
["r302", 2702],
|
||||
["r303", 1979],
|
||||
["r304", 2608],
|
||||
["r305", 1389],
|
||||
["r306", 3511],
|
||||
["r307", 2213],
|
||||
["r320", 4208],
|
||||
["r321", 12],
|
||||
["r324", 6112],
|
||||
["r325", 596],
|
||||
["r340", 10],
|
||||
["r341", 3990],
|
||||
["r342", 6053],
|
||||
["r343", 2556],
|
||||
["r344", 8],
|
||||
["r345", 5254],
|
||||
["r346", 2757],
|
||||
["r347", 441],
|
||||
["r364", 1267],
|
||||
["r367", 7],
|
||||
["r350", 3097],
|
||||
["r351", 90],
|
||||
["r352", 1061],
|
||||
["r353", 2328],
|
||||
["r354", 865],
|
||||
["r355", 10],
|
||||
["r356", 1],
|
||||
["r357", 1529],
|
||||
["r371", 1100],
|
||||
["r375", 461],
|
||||
["r610", 251],
|
||||
["r611", 3535],
|
||||
["r613", 6719],
|
||||
["r614", 1441],
|
||||
["r615", 4298],
|
||||
["r617", 5252],
|
||||
["r631", 4688],
|
||||
["r635", 1561],
|
||||
["r644", 2372],
|
||||
["r645", 2990],
|
||||
["r646", 112],
|
||||
["r647", 2348],
|
||||
["r650", 4412],
|
||||
["r651", 2690],
|
||||
["r652", 1870],
|
||||
["r653", 4781],
|
||||
["r654", 3891],
|
||||
["r656", 2585],
|
||||
["r657", 240],
|
||||
["r671", 5630],
|
||||
["r673", 1439],
|
||||
["r674", 708],
|
||||
["r675", 1971],
|
||||
["r677", 144],
|
||||
["r700", 5132],
|
||||
["r701", 6013],
|
||||
["r702", 6140],
|
||||
["r703", 6533],
|
||||
["r720", 8234],
|
||||
["r721", 3888],
|
||||
["r722", 62],
|
||||
["r724", 7581],
|
||||
["r725", 6507],
|
||||
["r726", 222],
|
||||
["r727", 966],
|
||||
["r760", 1859],
|
||||
["r761", 610],
|
||||
["r762", 3545],
|
||||
["r763", 1022],
|
||||
["r710", 285],
|
||||
["r712", 4409],
|
||||
["r714", 811],
|
||||
["r715", 1424],
|
||||
["r716", 2125],
|
||||
["r717", 2556],
|
||||
["r730", 1010],
|
||||
["r734", 5436],
|
||||
["r735", 2319],
|
||||
["r736", 1180],
|
||||
["r770", 77],
|
||||
["r771", 544],
|
||||
["r772", 335]
|
||||
]
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
y/ÁÐE/¿—Å*Ànscÿ
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
resources/pointclouds/lion_takanawa/data/r026
Normal file
BIN
resources/pointclouds/lion_takanawa/data/r026
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
resources/pointclouds/lion_takanawa/data/r033
Normal file
BIN
resources/pointclouds/lion_takanawa/data/r033
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
resources/pointclouds/lion_takanawa/data/r037
Normal file
BIN
resources/pointclouds/lion_takanawa/data/r037
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
resources/pointclouds/lion_takanawa/data/r054
Normal file
BIN
resources/pointclouds/lion_takanawa/data/r054
Normal file
Binary file not shown.
Binary file not shown.
BIN
resources/pointclouds/lion_takanawa/data/r056
Normal file
BIN
resources/pointclouds/lion_takanawa/data/r056
Normal file
Binary file not shown.
BIN
resources/pointclouds/lion_takanawa/data/r057
Normal file
BIN
resources/pointclouds/lion_takanawa/data/r057
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
resources/pointclouds/lion_takanawa/data/r070
Normal file
BIN
resources/pointclouds/lion_takanawa/data/r070
Normal file
Binary file not shown.
BIN
resources/pointclouds/lion_takanawa/data/r071
Normal file
BIN
resources/pointclouds/lion_takanawa/data/r071
Normal file
Binary file not shown.
BIN
resources/pointclouds/lion_takanawa/data/r072
Normal file
BIN
resources/pointclouds/lion_takanawa/data/r072
Normal file
Binary file not shown.
BIN
resources/pointclouds/lion_takanawa/data/r073
Normal file
BIN
resources/pointclouds/lion_takanawa/data/r073
Normal file
Binary file not shown.
BIN
resources/pointclouds/lion_takanawa/data/r074
Normal file
BIN
resources/pointclouds/lion_takanawa/data/r074
Normal file
Binary file not shown.
BIN
resources/pointclouds/lion_takanawa/data/r075
Normal file
BIN
resources/pointclouds/lion_takanawa/data/r075
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
<EFBFBD>IΑ8σ/?H»=“<><E2809C><EFBFBD>i<EFBFBD>Α¥*?$<15>=<3D>°³<C2B0>ΦEΑh#?|=•<> <EFBFBD>ΙeΑΔ?<Πt=¥±<C2AD>?Αε³?‡n=±ΉΎ<CE89>ψ%ΑfO?‡n=Ά«°<C2AB>ΐ&ΑλΙ?ηT=ΉΒΙ<CE92>3Αƒϊ?uΟΧ;<3B>£¥<C2A3>ίΑΆ
,?,ψΈ=’”™<E2809D>*Αίω-?¤[µ=<3D>΅¥<CE85>Q=Α0Ί(?rI<72>=¥<>―<EFBFBD>fχΑ΄ ,?Ρ―=²¶»<C2B6>+Αλ&?Η…=£<>―<EFBFBD><E28095>χΑs/(?¤=ƒ‡‹<E280A1>ΨδΑ•)*?Ns¬=Ά£¨<C2A3>ΊζΑίω-?&=¦±<C2AD>HΏΑίω-?χ}®=•<><E280A2><EFBFBD>ψΣΑΆξ/?Ό ΄=<3D>¤©<C2A4>ZυΑ€%?R=~=<3D><>–<EFBFBD>i<EFBFBD>ΑX(?Φθ<CEA6>=™›΅<E280BA>±Α+?«p =<3D>•™<E280A2>8Α1™.?(Φ=‘”<E28098><E2809D>±Α‚8'?μV<CEBC>=£¥<C2A3><C2A5>i<EFBFBD>Αο&?X¦„=<3D><>‘<EFBFBD>
TΑΥλ*?9ό΄=<3D>’–<E28099>
TΑ+ή,?Β‡Β=”™<E2809D><E284A2>Ϋ§ΑΝΚ?iτ„=<3D><>¤<EFBFBD>U0Α®σ+?
|
||||
;»=›<>£<EFBFBD>~tΑR·?——‚=‹<>”<EFBFBD>ΐ&ΑρI?nS7=µΐΗ<CE90>#„Α$€?R".<Ά§<CE86><C2A7>j<EFBFBD>ΑγΒ?¤Φ<ΉΐΔ<CE90>1ΑήX?zΏφ<ΈΐΖ<CE90>ΰ-Α‘π?”$=·ΑΘ<CE91>ΎYΑ$€?·τC<Ά¦<CE86><C2A6>
|
||||
BIN
resources/pointclouds/lion_takanawa/data/r122
Normal file
BIN
resources/pointclouds/lion_takanawa/data/r122
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
resources/pointclouds/lion_takanawa/data/r126
Normal file
BIN
resources/pointclouds/lion_takanawa/data/r126
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
resources/pointclouds/lion_takanawa/data/r162
Normal file
2
resources/pointclouds/lion_takanawa/data/r162
Normal file
@ -0,0 +1,2 @@
|
||||
Ě]<5D>ż„ž=żaTÜ@±ş»˙|a‚ż›U?ż0LÜ@«µ´˙Ě]<5D>ż›U?żŚÜ@˘©˙Š<1F>ż&俆8ŕ@˘«¨˙±á<C2B1>ż¸żHŕ@ž¤ ˙Ě]<5D>żâXżŮß@śĄ˘˙=<3D>żŕľż–Cß@§®Ş˙Ĺţ‚ż4!żŁ#ß@ ¦˘˙=<3D>żAń#ż–Cß@¬łŻ˙nŁ<6E>żÔ+%żß@›¤Ł˙A‚‚ż„
/ż°ß@• ś˙|a‚żŚżŮß@¶ż¸˙u‚żrůż·bß@¬ł°˙nŁ<6E>ż‚â'żqß@¶±˙Ě]{ż¶„żšwŕ@Š•‘˙{~żî|żAńß@ť¦Ł˙d]|żÔ+%żxzß@ź¨Ą˙R'€żů 'żPüŢ@<40>™”˙›Użš™)żqß@®·µ˙żM,żôŢ@ˇŞ¨˙q}ż
|
||||
hż=á@ˇŞĄ˙ßŕ{żÔšżá@ˇ«˘˙V~ż‚â'ż·bß@ĽĆÁ˙
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1
resources/pointclouds/lion_takanawa/data/r174
Normal file
1
resources/pointclouds/lion_takanawa/data/r174
Normal file
@ -0,0 +1 @@
|
||||
ŒJZ?ìÀÀ…ëA&:ÿKYV?ÄBÀMóAŒ²vÿgÕW?NÑÀA‡°qÿŒJZ?Ù_À“:AW}5ÿùY?Õ ÀtFA©jÿ~ŒY?€·ÀTRA…¯pÿKYV?f÷ÀjAšÃŠÿu“X?À§yA<>¸‚ÿ
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
1™Α<>ƒ:@»aWΐ<57>§Έ<C2A7>qΑ;<3B>:@ƒ£Vΐ‡<CE90>Ά<EFBFBD>CΉΑΉ<CE91>:@ΐWΐ<57>§Έ<C2A7>ϊαΑs<CE91>:@7Xΐ<58>§·<C2A7>CΉΑΨπ:@q=Xΐ–<CE90>°<EFBFBD>ΈuΑ=
|
||||
;@0ΨUΐ–<CE90>―<EFBFBD>]ΑΔΞ4@ϋ:Vΐgn„<6E>
ύΑOι4@wVΐem<65><6D>οαΑ—β:@νΨVΐ‰‘¤<E28098>ύ$Α;<3B>:@YέVΐ}ƒ—<C692>60Α=
|
||||
;@"ΓVΐ<56>•§<E280A2>ΣΝΑ<>ρ:@†Wΐ<57><CE90>«<EFBFBD>3ΑχΗ3@aύUΐx”<7F>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user