|
|
"Martin Lacher" <fue### [at] gmxch> wrote:
> Hi,
>
> For a school project with my class, we drew a mesh over mount Pilate
> (switzerland) and extracted all heights from the map. I already plotted a
> 3D-surface in Excel, but I thought, using povray I could somehow take a satelite
> picture of the area a render a nice image of the mountain.
> My problem is that I didn't use povray for a long time and thus don't know how
> to do this in a quick way.
> As far as I saw, I can't use height field. Should I use mesh or mesh2? How to
> get my texture picture over the mesh?
>
> Maybe somebody out there can solve my problem in no time... ;) Thanks in
> advance!
>
> Regards,
>
> Martin
If I understand your problem correctely mesh will be easier than mesh2. You
define a triangle for every triangle in your Excel-data and specify the
uv-vectors as the x and z component of your triangle, if y is up, or the x and y
component, if z is up. With mesh2 you have to bother about the indices of the
Vertices. Internally both objects are the same.
If you have defined proper uv-vectors you can texture your mesh with something
like
texture{
uv_mapping pigment{ Image_map { jpeg "YourSatelliteImage.jpg"} }
}
Since I never plottet surfaces with Excel, I have no idea how your data are
arranged. So I can give you this hints only.
Best regards,
Michael
Post a reply to this message
|
|