Kai-46 / nerfplusplus

improves over nerf in 360 capture of unbounded scenes
BSD 2-Clause "Simplified" License
911 stars 101 forks source link

intersect_sphere #57

Closed BaiBF closed 9 months ago

BaiBF commented 9 months ago

Thank you for sharing such a great code! but i have a question, the fn "intersect_sphere" (in ddp_train_nerf.py) 's return d1+d2, In my understanding, is the ratio of vector ray_d. why fg_far_depth(d1+d1) does not multiply by ray_d . like fn"depth2pts_outside"in(ddp_model) line 27. hope you can answer the reason, thanks

BaiBF commented 9 months ago

Subsequent operations multiplied by ray_ D