diff --git a/README.md b/README.md index 791d78ad..5566aa78 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,6 @@ # README * [Getting Started](./docs/getting_started.md) -* [Changelog](./docs/changelog.md) -* [User Interface](./docs/user_interface.md) -* [FAQ](./docs/faq.md) -* [File Format](./docs/file_format.md) ## About @@ -14,10 +10,9 @@ Potree is a free open-source WebGL based point cloud renderer for large point cl It is based on the [TU Wien Scanopy project](https://www.cg.tuwien.ac.at/research/projects/Scanopy/) -  -At the moment, this project is continued as master thesis under the [Harvest4D Project](https://harvest4d.org/) +Potree was part of the [Harvest4D Project](https://harvest4d.org/) Newest information and work in progress is usually available on [twitter](https://twitter.com/m_schuetz) diff --git a/docs/changelog.md b/docs/changelog.md deleted file mode 100644 index d03ce2b8..00000000 --- a/docs/changelog.md +++ /dev/null @@ -1,98 +0,0 @@ - - -## 2015.03.17 - -### features - -* Update file format to 1.6. (see [Potree File Format](https://github.com/potree/potree/blob/master/docs/file_format.md) ) - * Removed hierarchy from cloud.js and store it in smaller chunks. - * Node-files in ./data are now grouped into a directory hierarchy. - * RGB, INTENSITY and CLASSIFICATION can be written to the binary format in any order and combination. -* Added EarthControls. This navigation mode provides faster and more precise -navigation in large but flat 3d models such as landscapes from LIDAR data. -* Point picking and height profile queries return all available point attributes, -instead of positions only. (see https://github.com/potree/potree/issues/124) -* Height profile queries return a project() helper function that unrolls the -queried points along the x-axis. Can be used to draw 2D height profile images. -(see https://github.com/potree/potree/issues/124) -* Added an angle measurement tool. (Thanks to @Maartenvm ) - -### changes - -* Update to three.js r70. -* Load bin files in a WebWorker to take off work from the main thread. - -### bugfixes - -* Lots of bugfixes, most importantly regarding point picking and canvas resizing. - - -## 2014.30.12 - -### features -* Rebuild the profile tool to behave more like the distant measure tool. -Visible points inside the profile can be retrieved with -``` -var points = pointcloud.getPointsInProfile(profileTool.profiles[0], maxOctreeDepth); -``` - -* Added clip modes: DISABLED, CLIP_OUTSIDE, HIGHLIGHT_INSIDE. Clip mode can be set with -``` -pointcloud.material.clipMode = Potree.ClipMode.CLIP_OUTSIDE; -``` - -* Added support for potree format 1.4. This format stores coordinates as integers instead of floats (for uniform precision). Additionaly, the *.bin extension has been added to all data/* files in order to avoid problems that occur with files witout extensions. - -* Added [High Quality Splatting](http://graphics.ucsd.edu/~matthias/Papers/HighQualitySplattingOnGPUs.pdf) for screen aligned quads. See examples/viewer.html with quality set to "Splats". - - - - -## 2014.12.17 - -### features -* Added Area and Volume measurement tools. -* Made tool markers draggable. -* See examples/viewer.js for a demo of all measurement tools. In this demo, the volume can be translated, scaled and rotated by pressing e, r and t. -* Attenuated point sizes are differently scaled. Now, the point size specifies the radius of the point in scene coordinates. -* Adaptive point sizes are differently scaled. A size of 1 means that the point size is choosen to optimaly cover holes. Due to this it is now necessary to pass the renderer to the pointcloud.update() function: - - ``` - pointcloud.update(camera, renderer); - ``` - - - -### bugfixes -* LAS and LAZ format now support point picking, too. -* Using mediump precision instead of highp. Highp is not supported on all devices and it seems like it's generaly adviced not to use it. - - -## 2014.12.03 - -* Made measurement tool independant of scale. Spheres and Labels are displayed at the same size regardless of the distance to the camera. - MeasurementTool now has to be rendered using - ``` - // render scene first, then measuring tool over the scene - renderer.render(scene, camera); - measuringTool.render(); - ``` - -* Support for binary files with .bin extension. Files without extension have shown to cause problems with FTP Uploaders and some WebServers. -* Added classification, return number and point source ID to Potree.PointColorType. These color modes only work with LAS and LAZ files. -* Replaced synchronous requests in favour of async requests. - You must now provide a callback method in order to add a pointcloud to the scene: - - ``` - var pco = POCLoader.load(pointcloudPath, function(geometry){ - pointcloud = new Potree.PointCloudOctree(geometry); - ... - scene.add(pointcloud); - }); - ``` - You must also make sure that the pointcloud has been loaded before operating on it: - ``` - if(pointcloud){ - // now you can safely use the pointcloud object - } - ``` diff --git a/docs/documentation.md b/docs/documentation.md deleted file mode 100644 index 13e5dd35..00000000 --- a/docs/documentation.md +++ /dev/null @@ -1,50 +0,0 @@ - -# Documentation - -* [Getting Started](getting_started.md) -* [Changelog](changelog.md) -* [User Interface](user_interface.md) -* [Converting Point Clouds](converting.md) -* [FAQ](faq.md) -* [Measuring](measuring.md) -* [File Format](file_format.md) - -## About - -Potree is a free open-source WebGL based point cloud renderer for large point clouds. -Similar to map software like Google Maps or OpenStreeMap, only data inside the visible area and up to a certain level of detail are loaded. - - - -At the moment, this project is continued as master thesis under the [Harvest4D Project](https://harvest4d.org/) - -Newest information and work in progress is usually available on [twitter](https://twitter.com/m_schuetz) - -General infos, downloads, showcase, etc. at [potree.org](http://potree.org/) - -## Downloads - -* [PotreeConverter windows binary (2014.12.30)](http://potree.org/downloads/PotreeConverter/PotreeConverter_2014.12.30.zip) - -## Showcase - -Take a look at the [potree showcase](http://potree.org/wp/demo/) for some live examples. - -## Compatibility - -| Browser | OS | Result | -| -------------------- |:-------:|:-------------:| -| Chrome 39 | Win7 | works | -| Firefox 34 | Win7 | works | -| Internet Explorer 11 | Win7 | partially works; performance issues | -| Firefox | Android | partially works, GUI and stability issues | -| Opera | Android | partially works, GUI and stabilty issues and slow | - - -## Credits - -* The multi-res-octree algorithms used by this viewer were developed at the Vienna University of Technology by Michael Wimmer and Claus Scheiblauer as part of the [Scanopy Project](http://www.cg.tuwien.ac.at/research/projects/Scanopy/). -* [Three.js](https://github.com/mrdoob/three.js), the WebGL 3D rendering library on which potree is built. -* [plas.io](http://plas.io/) point cloud viewer. LAS and LAZ support have been taken from the laslaz.js implementation of plas.io. Thanks to [Uday Verma](https://twitter.com/udaykverma) and [Howard Butler](https://twitter.com/howardbutler) for this! -* [Harvest4D](https://harvest4d.org/) Potree currently runs as Master Thesis under the Harvest4D Project -* [Martin Isenburg](http://rapidlasso.com/), [Georepublic](http://georepublic.de/en/), [Sigeom Sa](http://www.sigeom.ch/), [SITN](http://www.ne.ch/sitn), [Pix4D](http://pix4d.com/) as well as all the contributers to potree and PotreeConverter and many more for their support. diff --git a/docs/faq.md b/docs/faq.md deleted file mode 100644 index 6f958d0c..00000000 --- a/docs/faq.md +++ /dev/null @@ -1,46 +0,0 @@ - -# FAQ - -If you encounter any problem in the browser, try to open the developer console (ctrl + shift + i in firefox and chrome) and look for error messages. Some of the messages are covered in this FAQ. - -If your problem is not covered in this FAQ, either create a new issue at the [github -repository](https://github.com/potree/potree) or send an email to -mschuetz@potree.org. - - -## I've uploaded the point cloud to a web server but it is not visible. - -### Did it work on a local web server? -If yes and the error console shows the following error, then it is likely that your uploader altered the data/r* files: -``` -Uncaught RangeError: byte length of Float32Array should be a multiple of 4 -``` - -To solve this, tell your uploader to treat files as BINARY rather than ASCII. -In Filezilla you can do this here: -Edit -> Settings -> Transfers -> File Types -> Default Transfer Type - -Another option is to pack all your data into a zip file, upload it and unpack it on the server. - -### Are you using IIS? - -IIS may cause problems with files that have no extension, such as the data/r* files for potree format up to 1.3. - -In this case, you can try to configure IIS: -http://www.serverintellect.com/support/iis/enable-no-extensions/ - -## The converted point cloud is black - -As of now, the PotreeConvert expects rgb colors in LAS or LAZ files in a range of 0-65536. -If you have colors in a 0-255 range, you will have to upscale them before conversion. -You can use the [lastools](http://rapidlasso.com/lastools/) to do this: - -``` -las2las -i pointcloud.las -scale_rgb_up -``` - - - -## Can I use potree for commercial projects? - -Yes, the license allows you to do this free of charge. If you do use potree, please consider supporting this project with a donation. diff --git a/docs/file_format.md b/docs/file_format.md deleted file mode 100644 index eb67092d..00000000 --- a/docs/file_format.md +++ /dev/null @@ -1,144 +0,0 @@ -# File Format - -Version 1.6 - -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 | - -## Directory Hierarchy - -The potree file format is actually a collection of files: -* ./cloud.js - A JSON file that contains meta data such as bounding box, spacing, etc. -* ./data/ - This directory contains node and hierarchy files. - -For each octree node, 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. - -Files inside the data directory are grouped into a hierarchical directory structure. -Each directory contains nodes for up to _X_ levels of the octree -and a hrc file that contains _(X + 1)_ levels of hierarchy for a given node, -where _X_ is the _hierarchyStepSize_. -Subsequent nodes are stored in sub directories. - -This image shows the contents of data/r for a step size of 5. It contains nodes for octree levels 0 to 4 and r.hrc which contains the hierarchy for octree levels 0 to 5. -Contents for level 5 to 9 and 10 to 12 are stored in subsequent directories. - - - -## Hierarchy Chunks -The hierarchy of a node is stored in .hrc files, in packets of 5 bytes. This list of 5-byte packets is a breadth-first traversal of the tree, starting in itself. -* 1 byte with a mask of this node's children. E.g: 00000011 in the file r.hrc refers to the nodes r0 and r1 -* 4 bytes (unsigned long int) storing the number of points in that node. - -For example, consider the following output of PotreeConverter: -* ./data/r -* ./data/r.bin -* ./data/r.hrc -* ./data/r/r0.bin -* ./data/r/r1.bin - -The file ./data/r.hrc will contain 2 packs of 5-bytes with the following data: -* (3,$number_of_points_in_r.bin) -* (0,$number_of_points_in_r0.bin) -* (0,$number_of_points_in_r1.bin) - -* The byte containing the value 3 (00000011 in binary) shows that the root contains the nodes r0 and r1. The tree is traversed breadth-first, so the following two lines correspond to r0 and r1, respectively: -* r0 has a value 0 for the mask (so no more children) -* r1 has a value 0 for the mask (so no more children) - -The depth of the hierarchy in a .hrc file depends on the hierarchyStepSize which -is set to 5 as of now. This means that at every 5th level there are .hrc files -that contain 6 levels of hierarchy (the node itself and the next 5 levels of descendants). - - -## Octree Hierarchy - -Child nodes are arranged like this: - - - -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. - -* __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. This bounding box is cubic and aligned to fit to the octree root. -* __tightBoundingBox__ - This bounding box thightly fits the point data. -* __pointAttributes__ - Declares the point data format. May be "LAS", "LAZ" or in -case if the BINARY format an array of attributes like ["POSITION_CARTESIAN", "COLOR_PACKED", "INTENSITY"] - * __POSITION_CARTESIAN__ - 3 x 32bit signed integers 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. - -``` -{ - "version": "1.6", - "octreeDir": "data", - "boundingBox": { - "lx": -4.9854, - "ly": 1.0366, - "lz": -3.4494, - "ux": 0.702300000000001, - "uy": 6.7243, - "uz": 2.2383 - }, - "tightBoundingBox": { - "lx": -4.9854, - "ly": 1.0375, - "lz": -3.4494, - "ux": -0.7889, - "uy": 6.7243, - "uz": 1.1245 - }, - "pointAttributes": [ - "POSITION_CARTESIAN", - "COLOR_PACKED" - ], - "spacing": 0.03, - "scale": 0.001, - "hierarchyStepSize": 5 -} -``` - -## Node-Files - -The node files in the data directory contain the point data. -Node files can be BINARY, LAS, LAZ or anything else. This section will describe -the contents of the BINARY format. - -The pointAttributes property in cloud.js describes the contents and the -order of each attribute in the BINARY format. - -| Attribute Name | Format | Description | -| ------------- |:-------------:| -----: | -| POSITION_CARTESIAN | 3 x 4 byte unsigned integer | decode with: (xyz * scale) + boundingBox.min | -| COLOR_PACKED | 4 x 1 byte unsigned char | RGBA in range 0 - 255 | -| INTENSITY | 1 x 2 byte unsigned short | Intensity in range 0 - 65536 | -| CLASSIFICATION | 1 x 1 byte unsigned char | - | - -All data is stored in little endian order. diff --git a/docs/getting_started.md b/docs/getting_started.md index 60c5c622..a0b73fef 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -1,8 +1,6 @@ # Getting Started -Read the [FAQ](faq.md) if you encounter any problems. - ### Download PotreeConverter * [PotreeConverter](https://github.com/potree/PotreeConverter) diff --git a/docs/user_interface.md b/docs/user_interface.md deleted file mode 100644 index 90c7ddda..00000000 --- a/docs/user_interface.md +++ /dev/null @@ -1,82 +0,0 @@ - -# User Interface - - - - - - __Fly-Navigation__ - -ASDW or Arrow Keys: Move through scene - -Left Mouse: Rotate camera - - - __Orbit-Navigation__ - -Left Mouse: Rotate camera around pivot. - -Right Mouse: Pan camera & pivot. - - __Zoom to Point Cloud__ - -Moves camera so that the whole point cloud is within the view area. - - __Flip Y and Z__ - -Flips y and -z coordinates. Some software uses y as the up vector(WebGL, three.js, potree), others use z. - - __Distance Measurement__ - -Left Mouse: Insert Measurement Point - -Right Mouse: Finish insertion - -Drag&Drop: Move Measurement Points - -Distance between measurement points will be displayed on the edge. - - __Area Measurement__ - -Left Mouse: Insert Measurement Point - -Right Mouse: Finish insertion - -Drag&Drop: Move Measurement Points - -Distance between measurement points will be displayed on the edge and the -total area on the centroid. -The area is calculated on the ground plane. The height does not affect the result. -Crossings should be avoided. - - __Volume Measurement__ - -Left Mouse: Insert Volume or Select Inserted Volume - -E, R, T: Switch between translation, scale and rotation mode. - -Volume will be displayed on the objects centroid. - - __Height Profile__ - -Left Mouse: Insert Profile Marker - -Right Mouse: Finish insertion - -Drag&Drop: Move Profile Marker - -ctrl + Drag&Drop: Drag upwards to increase or downwards to decrease the profile width - -Depending on the Clip Mode, points inside the profile will be highlighted or points outside the profile will be clipped. - - - __Clip Volume__ - -Left Mouse: Insert Volume or Select Inserted Volume - -E, R, T: Switch between translation, scale and rotation mode. - -Depending on the Clip Mode, points inside the volume will be highlighted or points outside the volume will be clipped. - - - diff --git a/examples/annotations.html b/examples/annotations.html index 32336f18..39aa1950 100644 --- a/examples/annotations.html +++ b/examples/annotations.html @@ -2,7 +2,6 @@
- diff --git a/examples/arena4d.html b/examples/arena4d.html index d45822fc..4994a8f6 100644 --- a/examples/arena4d.html +++ b/examples/arena4d.html @@ -2,7 +2,6 @@ - diff --git a/examples/clipping_volume.html b/examples/clipping_volume.html index 482c48d5..d0e53a41 100644 --- a/examples/clipping_volume.html +++ b/examples/clipping_volume.html @@ -2,7 +2,6 @@ - diff --git a/examples/elevation_profile.html b/examples/elevation_profile.html index 00f13bb8..f4e3047c 100644 --- a/examples/elevation_profile.html +++ b/examples/elevation_profile.html @@ -2,7 +2,6 @@ - diff --git a/examples/lasmap.html b/examples/lasmap.html index 960b799c..fd659b10 100644 --- a/examples/lasmap.html +++ b/examples/lasmap.html @@ -2,7 +2,6 @@ - diff --git a/examples/lines.html b/examples/lines.html index 354755a6..3bd8824a 100644 --- a/examples/lines.html +++ b/examples/lines.html @@ -2,7 +2,6 @@ - diff --git a/examples/lion.html b/examples/lion.html index 249f6eda..7521bf55 100644 --- a/examples/lion.html +++ b/examples/lion.html @@ -2,7 +2,6 @@ - diff --git a/examples/lion_las.html b/examples/lion_las.html index e2ae7596..6048451c 100644 --- a/examples/lion_las.html +++ b/examples/lion_las.html @@ -2,7 +2,6 @@ - diff --git a/examples/lion_laz.html b/examples/lion_laz.html index 49bc7ef5..1ca2f637 100644 --- a/examples/lion_laz.html +++ b/examples/lion_laz.html @@ -2,7 +2,6 @@ - diff --git a/examples/measurements.html b/examples/measurements.html index 4e283a46..16cda25d 100644 --- a/examples/measurements.html +++ b/examples/measurements.html @@ -2,7 +2,6 @@ - diff --git a/examples/meshes.html b/examples/meshes.html index 50e9ad05..37e1a424 100644 --- a/examples/meshes.html +++ b/examples/meshes.html @@ -2,7 +2,6 @@ - diff --git a/examples/multiple_pointclouds.html b/examples/multiple_pointclouds.html index 61cdbec8..772ab869 100644 --- a/examples/multiple_pointclouds.html +++ b/examples/multiple_pointclouds.html @@ -2,7 +2,6 @@ - diff --git a/examples/viewer.html b/examples/viewer.html index 5cf6db45..05a0ef26 100644 --- a/examples/viewer.html +++ b/examples/viewer.html @@ -2,7 +2,6 @@ -