wbhu / Tri-MipRF

Tri-MipRF: Tri-Mip Representation for Efficient Anti-Aliasing Neural Radiance Fields, ICCV'23 (Oral, Best Paper Finalist)

Home Page:https://wbhu.github.io/projects/Tri-MipRF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question for the radiuses r

SYSUykLin opened this issue · comments

commented

@staticmethod def compute_ball_radii(distance, radiis, cos): inverse_cos = 1.0 / cos tmp = (inverse_cos * inverse_cos - 1).sqrt() - radiis sample_ball_radii = distance * radiis * cos / (tmp * tmp + 1.0).sqrt() return sample_ball_radii

What is the meaning of the cos? Sound like the calculation is different from the paper. Thanks

The cos means the cosine value of the angle between the ray and the principal axis of the camera. Please refer to https://github.com/wbhu/Tri-MipRF/blob/main/dataset/utils/cameras.py#L86