Page 1 of 1

using example pointCloudFromCameraImage to save .ply file

Posted: Sun Dec 01, 2019 5:01 pm
by Boris94
i tried this example ...

it is supposed to create point cloud from camera data, but it creates only rays to depth points. what i want is to save this data as XYZ points and create .ply file from camera. i tried to save vector newTo, because it looked like they are the points where ray ends, but result in meshlab looked nothing like scene. Can you please tell which data should i save to create regular point cloud from scene? thanks