I made a nice Pointcloud of our garden with VisualSFM.
It generated a PLY ASCII textfile which iam able to view in meshlab.
I tryd already to use the Import Script from Dan Yargici "DY_CreatePointcloudFromPLY" which actually imports my point cloud with color information.
Unfortunatly it distributes all particles on a sphere. (Which is Photosynth related i guess..)
Since the text file format is very simple i thought it must be possible to achieve a parsing with ICE.
the nx ny nz data is actually not required.
Code: Select all
ply
format ascii 1.0
element vertex 111089
property float x
property float y
property float z
property float nx
property float ny
property float nz
property uchar diffuse_red
property uchar diffuse_green
property uchar diffuse_blue
end_header
16.1584 -0.103792 -0.377599 -0.934338 0.197876 -0.296407 151 145 117
16.1552 -0.0861699 -0.492039 -0.869241 0.344342 0.354752 116 124 90
16.1431 -0.101317 -0.522853 -0.970747 0.205974 0.123388 145 154 115
16.3199 -0.11485 -0.787862 -0.888426 0.342091 0.30606 134 93 84
16.1982 -0.100074 -0.903862 -0.703254 0.674441 -0.224866 135 90 84
16.1748 -0.0971197 -0.914778 -0.712424 0.701012 -0.0321534 131 88 83
16.1968 -0.098827 -0.907985 -0.739968 0.596807 0.310273 137 91 86
....
Maybe someone could point me in the right direction on how to do this?