Now that m.nviz.image is working (thanks devs!), I'm trying to simulate aerial (UAV) images.
Is this possible?
Playing around with the parameters, I can't seem to get a nadir-looking image. If I set the height of the 'camera' to something like 500 meters (it's a coastal area, elevations are all below 40m), the resulting image looks like a nadir observation, but as the height becomes smaller, say 120 meters, the surface is tilted (much like in Google Earth) and the observation is an oblique view of the surface.
I tried setting the 'focus' parameter to the central coordinate of the region, but the result is the same.
One issue that might be causing some confusion in my head is that some parameters expect 'model coordinates' (0-1), while others expect map units...
Another point is the 'perspective' param. What does it mean? Should I use the field of view of my real camera here?
This is the region:
projection: 1 (UTM)
I want the view to be on the center of the image, so position=0.5,0.5 (right?)
set focus to center point (in map units, from SW corner - corner of what? the raster? the region?)