Page 1 of 1
strange result importing CSV
Posted: Fri Apr 24, 2015 1:56 am
by hwilde
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!
Re: strange result importing CSV
Posted: Sat Apr 25, 2015 3:33 pm
by daniel
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).
Re: strange result importing CSV
Posted: Sun Apr 26, 2015 10:22 am
by hwilde
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