-
Hi, https://github.com/NVlabs/instant-ngp/blob/master/src/nerf_loader.cu I am still confused as in where should I save the .dat file, and if it should be a single .dat file or one per image? I tried to find one of these .dat files to see the format, but could not find one. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi :) It looks like you need to generate a dat file per image with the same name next to the image like : and this dat binary file needs to match the number of pixels in this image to provide this structure per pixel: struct Ray {
Eigen::Vector3f o;
Eigen::Vector3f d;
}; |
Beta Was this translation helpful? Give feedback.
-
Well, it took a while :) I found the way to generate the origin and direction rays in the proper (nerf) way. I followed the procedure in the original nerf code
As @JoanCharmant pointed out, make sure you use float32, not float64 |
Beta Was this translation helpful? Give feedback.
Well, it took a while :) I found the way to generate the origin and direction rays in the proper (nerf) way. I followed the procedure in the original nerf code
As @JoanCharmant pointed out, make sure you use float32, not fl…