xeokit / xeokit-xkt-utils

Deprecated JavaScript tools to generate .XKT files; replaced by https://github.com/xeokit/xeokit-convert
Other
11 stars 9 forks source link

Mirroring Issue with las-files #29

Open steege252 opened 3 years ago

steege252 commented 3 years ago

When I use this tool to convert a las-file into XKT, everything seems to be mirrored vertically. (there are two sets of stairs in the scan, they are supposed to go from bottom left to top right, in the XKT-Version they go from bottom right to top left)

I commented out the coordinate-change-part in "parseLASIntoXKTModel" and tried again. Now it seems to be right. I didn't see any command line options to disable the rotation.

I'm not sure if there is something wrong with the conversion or with my input file. (If I open the input file with cloud compare, it's also right, though)

neonexxa commented 2 years ago

could not found the coordinate-change-part in the code.. mind show where you change it.. i tried comment out the rotateX in the "parseLASIntoXKTModel" in https://raw.githubusercontent.com/xeokit/xeokit-xkt-utils/master/dist/convert2xkt.cjs.js .. but its not as same as switching mirror