nerfacc icon indicating copy to clipboard operation
nerfacc copied to clipboard

about sampling or ray marching

Open zsy950116 opened this issue 1 year ago • 6 comments

I notice that sence_aabb is required in the ray sampling, if the ray does not pass through the aabb, whether the sampling point is empty?

zsy950116 avatar May 16 '23 04:05 zsy950116

In addition, there are two sampling methods in the new version. I use version 0.3. Which sampling method is used for the ray_marching function

zsy950116 avatar May 16 '23 04:05 zsy950116

Yeah no intersection leads to zero samples.

The OccGridEstimator has a sampling() function that is basically the old ray_marching function but with some API changes.

Please check the CHANGELOG.md for the api changes between the latest version and the 0.3.x version

liruilong940607 avatar May 16 '23 06:05 liruilong940607

您好,您的邮件我已经接收。

zsy950116 avatar May 16 '23 06:05 zsy950116

Yeah no intersection leads to zero samples.

The OccGridEstimator has a sampling() function that is basically the old ray_marching function but with some API changes.

Please check the CHANGELOG.md for the api changes between the latest version and the 0.3.x version

following the same question. I am using the OccGridEstimator with aabb [-1, -1, -1, 1, 1, 1]. But I always got 0 element returns. Even I pass estimator(rays_o=rays_o, rays_d=-rays_0), which means all the input rays will pass through the origin. Could you also give me a hint on this?

DJNing avatar Jan 05 '24 15:01 DJNing

您好,您的邮件我已经接收。

zsy950116 avatar Jan 05 '24 15:01 zsy950116

@DJNing Hi, I have the same problem, have u address it? Could u give me some help?

Hmartin1978 avatar Mar 05 '24 08:03 Hmartin1978