Open techarek opened 2 years ago
I have the same question,and how to render zdepth with finding weight
@techarek Hi, may I ask if you have already added the gradients of the depth?
I found that the output depth is not accurate after I check the code. Some rays can' t reached the far distance depth which more than 1.2.
@ChenLu-china Can we discuss this issue together? My Wechat is chiu_jing_chun, we could add WeChat each other for further discussing if it is convenient for you :)
I am trying to get the gradients of the voxels of the depth instead of the radiance. The radiance gradients are computed in
volume_render_fused
and I am wondering how I can change this to get gradients of depth. I presume I have to change thevolume_render_cuvol_fused
cuda function which callsrender_ray_kernel
andrender_ray_backward_kernel
with arguments of rgb_out not depth. Currently the depth is computed involume_render_depth
which doesn't compute gradients.Is there an easier way to do this so that
render_ray_backward_kernel
can outputd(rgb_out)/d(voxel)
andd(depth)/d(voxel)
?