strange result importing CSV
strange result importing CSV
Hello I am having strange results trying to import a simple CSV file. The structure of the CSV file is simple X, Y, Z, intensity (scalar for color). Attached are the import dialog screenshot and the result screenshot in CloudCompare. There are only two tiny points at the extreme corners. No amount of viewing or camera settings yields any better rendering. The sample csv file is also attached. Please help!
- Attachments
-
- cloudcompare-screenshot2.png (155.61 KiB) Viewed 2516 times
-
- cloudcompare-screenshot1.png (37.34 KiB) Viewed 2516 times
-
- velo_in_rtk_frame_output_1423594562.849-xyz.csv.zip
- (22 Bytes) Downloaded 295 times
Re: strange result importing CSV
Hard to tell, because the zip file is empty (?!).
I guess there must be some points in the file with coordinates very different from the others (maybe default (0,0,0) or equivalent points).
I guess there must be some points in the file with coordinates very different from the others (maybe default (0,0,0) or equivalent points).
Daniel, CloudCompare admin
Re: strange result importing CSV
For the record the problem was the first line in the file was the header, the second line was always (nan, nan, nan...)
On import if I pick Skip 2 lines, then it works ok. If the first line is nan, then it produces the strange corners behavior. I fixed the problem upstream to filter out nan values.
Thanks
On import if I pick Skip 2 lines, then it works ok. If the first line is nan, then it produces the strange corners behavior. I fixed the problem upstream to filter out nan values.
Thanks