Updated quite a lot: now does 3D, exports PLY files with colors or normals