Skip to content

Commit

Permalink
Small improvement on readme (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
jianhuang01 committed Jan 10, 2020
1 parent 0de4ec2 commit 2678dcd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions cpp/Model3DTiler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Command line build

```
...
cmake -DCMAKE_BUILD_TYPE=Release -DLASZIP_INCLUDE_DIRS=[ABSOLUTE_PATH_TO_LASTOOLS]/LAStools/LASzip/dll -DLASZIP_LIBRARY=[ABSOLUTE_PATH_TO_LASTOOLS]/LAStools/LASzip/src/build/liblaszip.dylib ..
cmake -DCMAKE_BUILD_TYPE=Release -DLASZIP_INCLUDE_DIRS=[ABSOLUTE_PATH_TO_LASTOOLS]/LAStools/LASzip/dll -DLASZIP_LIBRARY=[ABSOLUTE_PATH_TO_LASTOOLS]/LAStools/LASzip/build/src/liblaszip.dylib ..
make
Expand All @@ -63,13 +63,13 @@ Create Xcode project

```
...
cmake -DLASZIP_INCLUDE_DIRS=[ABSOLUTE_PATH_TO_LASTOOLS]/LAStools/LASzip/dll -DLASZIP_LIBRARY=[ABSOLUTE_PATH_TO_LASTOOLS]/LAStools/LASzip/src/build/liblaszip.dylib -G Xcode ..
cmake -DLASZIP_INCLUDE_DIRS=[ABSOLUTE_PATH_TO_LASTOOLS]/LAStools/LASzip/dll -DLASZIP_LIBRARY=[ABSOLUTE_PATH_TO_LASTOOLS]/LAStools/LASzip/build/src/liblaszip.dylib -G Xcode ..
```

## Model3DTiler Usage

Converts las/laz file to the cesium 3D tile format.
Converts las/laz file to the cesium 3D tile format (PNTS).

Examples:

Expand All @@ -78,3 +78,6 @@ Examples:

# convert data.las with draco compression in 8 quantization bits
./Model3DTiler ~/Documents/data.las -o ~/test --output-format PNTS --draco --position-bits 8 --latitude 37.789874 --longitude -122.400326 --altitude -8.0

# convert data.las with smaller point spacing by setting diagonal fraction to 1000 (Default is 200)
./Model3DTiler ~/Documents/data.las -o ~/test --output-format PNTS --draco --position-bits 8 --latitude 37.789874 --longitude -122.400326 --altitude -8.0 -d 1000

0 comments on commit 2678dcd

Please sign in to comment.