zipnerf-pytorch icon indicating copy to clipboard operation
zipnerf-pytorch copied to clipboard

viewdirs vs direction in cast_rays

Open bring728 opened this issue 1 year ago • 0 comments

Hi! Thank you for your wonderful work.

I have a question about https://github.com/SuLvXiangXin/zipnerf-pytorch/blob/4de3d21ebb9e15412d36951b56e2d713fddd812b/internal/render.py#L146 this function. Why do you use the directions vector instead of the normalized vector viewdir? I guess basis_matrix should be a rotation matrix and each column should be a normalized vector. So shouldn't I use viewdir instead of directions?

bring728 avatar Oct 24 '23 10:10 bring728