|
![](/i/fill.gif) |
AlpVir <ugo### [at] libero it> wrote:
> I am looking for a way to create, from a file DEM (W020N90.DEM for example), a
> 360-degree panorama seen from a point of Lt Latitude (degree), Lg longitude
> (degree) and H height (meter).
> I saw that perhaps POV-ray has this possibility, but I do not know how I act as
> an absolute beginner in this program.
> The end result should be an image similar to that found at the link
> www.lalpinistavirtuale.it/Panorami/img/example.jpg.
> Thanks for your attention.
This should get you started:
camera
{ spherical
location <0, 0, 0>
look_at <0, 0, 1>
angle 360
}
light_source { <1000, 5000, -500>, 1 }
sky_sphere
{ pigment
{ gradient y color_map
{ [0 rgb 1]
[.5 rgb z]
}
}
}
// Some cylinders to mark the four compass directions:
cylinder { -y*5, y*5, .1 pigment { rgb x } translate z } // north
cylinder { -y*5, y*5, .1 pigment { rgb y } translate -z } // south
cylinder { -y*5, y*5, .1 pigment { rgb z } translate -x } // west
cylinder { -y*5, y*5, .1 pigment { rgb x+y } translate x } // east
// An example heightfield:
#include "functions.inc"
height_field
{ function 200, 200 { f_noise3d(x*10, y*10, z*10) }
pigment { rgb <1, .6, .2> }
translate <-.5, -.8, -.5>
scale <100, 10, 100>
}
Post a reply to this message
|
![](/i/fill.gif) |