I want to create an openGL application for manipulating Digital Terrain Model, I got some DTM files but i cant understand the structure of file how to use that data for creation of coordinates in OpenGL. Please help me to understand to know the format of DTM files how i get the proper data to draw maps or different shape from DTM files.

Thank you in Advance.