2D to 3D image conversion using heightfeilds in OpenGL