|
Size: 1045
Comment:
|
Size: 1191
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| ## page was renamed from surface_imager.e | |
| Line 4: | Line 5: |
| = surface_imager.e = | = surface_imager = |
| Line 19: | Line 20: |
| {{{#!Example | {{{Example |
| Line 22: | Line 23: |
| 90 ,0 60,60 |
90, 0 60, 30 <- low sun angle |
| Line 29: | Line 30: |
{{attachment:surf_example.jpg}} ---- CategoryPrograms CategoryMercator |
This code was developed for the Mercator Project (LASER Program). The code uses Gaskell's basic infrastructure and data files.
surface_imager
The program takes a bigmap and will generate a surface image as if you are standing on (or near) the surface. It is designed to have a 100mm focal length lens and generate a 1024x1024 image.
Input - files
- none
Input - stdin
- Bigmap name
- Location of the point of view (x, y, z). X and Y are pixel position within the map. Z is in meters above the surface.
- Direction that you are looking (azimuth and elevation - in degrees). Zero azimuth is looking due north. Zero elevation is looking at the horizon.
- Sun position (azimuth and elevation (azimuth and elevation - in degrees). Zero azimuth has the Sun due north. 90 elevation is the Sun straight up.
