The Combine Forum - View Single Post - Options for creating elevation maps for a farm?
View Single Post
post #36 of (permalink) Old 07-08-2019, 11:42 PM
Senior Member
Join Date: Aug 2012
Location: Vermilion Alberta Canada
Posts: 5,741
Mentioned: 19 Post(s)
Quoted: 2504 Post(s)
In computer gaming there is a technique called mesh based terrain. The section paths in AOG are made by using triangle strips. You only have to have the first two points then subsequent triangles need only a new point and use the previous two. This way you require roughly 1/3 the points to make a strip made up of triangles. Put a bunch of strips side by side and you have a plane - or a terrain. Now you add the vertical dimension at each point to make it 3d where the points come from a heightfield usually in the form of an image where the pixel value determines the height (elevation) of that point. Wrap a texture over the mesh, and you have a world to run around in.

Easy enough to do in AOG, drive around capturing height and position data, create an xy grid, create a triangle strip mesh, with the heightfield information and voila, you have an accurate as you want elevation map.
BrianTee is offline  
For the best viewing experience please update your browser to Google Chrome