PeterouZh / CIPS-3D

3D-aware GANs based on NeRF (arXiv).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to set the near and far plane in NeRF network?

cwchenwang opened this issue · comments

Thanks for your excellent work. I am curious why you set the ray_near and ray_end to 0.88 and 1.12? (and for other variables like h_stddev etc.) Is that set empirically?

捕获

Because the FOV is set to 12 degrees, 0.88/1.12 is to ensure that X Y Z range from -0.1xx to 0.1xx. So we can easily scale XYZ coordinates to the range between -1 and 1.

h_stddev is set empirically according to datasets.