Closed wodndb closed 5 years ago
I can't remember exactly but I think points acquired from RealSense contains some irregular positions (like (inf, inf, inf) or (NaN, NaN, NaN)). How about adding a "sanitizing" filter that excludes irregular points before writing them to a file?
I already excluded irregular positions in RealSense before writing them to file. But I didn't use sanitizing filter, I will try to use this filter to RealSense. Thanks.
I have two problems.
First, point color of my original point cloud data is broken. I fixed it and I validate point cloud data.
Second, my point cloud data has coordinate of point and color. So I deleted below ply headers
element face 0
property list uchar int vertex_indices
It works well.
Thx.
where is the texture variable (byte[]) from?
@Max-Stricker that is field of class which has the method `SaveToPly()'.
Could you show me please?
@UnityDevSan Do you want to save vertex color? Actually I only use ply to save mesh without color now. So the source code for ply color is not exist now.
short explanation: i get the same error as here. https://github.com/IntelRealSense/librealsense/issues/4820#issue-490678410 i can't export a ply file, so i wanted to copy your solution
@UnityDevSan
https://github.com/wodndb/ExportPlyForRealSense
I create example project for export point cloud to ply. Try it.
I make ply file base on RealSense.
However, I can't Import this and I don't know how to debug this file.
ply file what I make has ascii type header and binary_little_endian type body.
[Source code]
[Error Message]