gmum / points2nerf

Points2NeRF
70 stars 10 forks source link

How to sample the point cloud and choose the bound? #3

Open maobenz opened 2 years ago

maobenz commented 2 years ago

Hello, Thanks for sharing the code. I have seen the preprocessed data includes point cloud with 2048 color points. I want to ask how you choose the points? Just randomly choosing 2048 points from the original point cloud? And I see the code that near and far are 2 and 6, why do you set these values? Another question is that how much time to train the whole model? Thanks!

Ideefixze commented 1 year ago

Hi,

sorry for the delayed response.

Yes, choosing randomly 2048 points from original point cloud (or other 3D shape) should be okay as data. Remember, that you also need images and camera poses to train it.

Near and far arguments are for NeRF rendering. They describe minimum and maximum distance for point sampling along the ray. We set up those values to fit our objects in this distance. For example: we don't need a 'near' to be set up to a small value because object is a bit away from the camera.

As for training time, it took us up to 2 weeks as minimum for one ShapeNet class, but for better results or bigger dataset it could be trained another week or two.