Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/DNA-Rendering/DNA-Rendering
/ focal2fov
Function
focal2fov
scripts/3DGS/utils/graphics_utils.py:99–100 ·
view source on GitHub ↗
(focal, pixels)
Source
from the content-addressed store, hash-verified
97
return
pixels / (2 * math.tan(fov / 2))
98
99
def
focal2fov(focal, pixels):
100
return
2*math.atan(pixels/(2*focal))
Callers
3
readColmapCameras
Function · 0.90
readCamerasFromTransforms
Function · 0.90
readCamerasDNARendering
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected