/usr/share/radiance/globe.cal is in radiance-materials 4R1+20120125-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | {
Coordinate mapping for globe onto unit sphere
assuming uniform projection of latitude and longitude
A1 = image height/width
}
globe_u = if(A1-1, 1, 1/A1) * (.5 + Atan2(Py, Px)/(2*PI)) ;
globe_v = if(A1-1, A1, 1) * (1 - Acos(Pz)/PI) ;
|