Comments (2)
Maybe it's because
v = static_cast<int32_t>(detail::sround((value - offset) / scale));
overflows for x and y but not z?
One problem could be that offset is always 0 and therefore we already lose quite a bit of the integer range.
Offset should probably be the min value of the bounding box or something like that.
I've only initialized the bounding box in https://github.com/potree/PotreeConverter/blob/master/PotreeConverter/include/LASPointWriter.hpp
and was under the impression that it automatically initializes the offset but maybe that is not the case since one of the las files I've converted has a 0 0 0 offset.
A warning, or even better abortion, should occur if the integer range is not enough to hold all values for a given scale and bounding box extent.
And maybe a warning if scale is < 0.001 because hardly any 3d scanner has a sub mm accuracy. Besides, laz compression suffers from unnecessary low scale.
from potreeconverter.
Could be. X and Y values are around 900, while Z is between 0 and 12.
from potreeconverter.
Related Issues (20)
- PotreeConverter.exe: slow output HOT 1
- Removed duplicated points are still included metadata
- PotreeConverter doesn't get past displaying a number of threads
- Converter Manual Testing Not Working/Picking Up Points HOT 1
- -- help & conversion progress
- Title converse
- type_error: [json.exception.type_error.302] type must be number, but is null HOT 4
- New single-file Potree format HOT 1
- Cannot load exported .dxf files into Civil 3D
- Stopping after creating chunks
- HTML page converted looks different in anything that is not chrome HOT 1
- Exit with code 3221225477 when Poisson-disk sampling
- Potree Converter not working with latest Potree Release HOT 1
- Issue While Building Potree 1.6 in Ubuntu 22.04 jammy version HOT 1
- 使用PotreeConverter_windows_x64转换成功后的点云无法显示
- the program is not recognized HOT 1
- Large Conversion Crashes at 100% - Not Duplicate Related HOT 2
- Converting coordinates after setting position of pointcloud to (0, 0, 0)
- Is potree_to_laz.h work?
- Crash when using BROTLI encoding
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from potreeconverter.