This project use OpenGL render depth map from different positions. I just copy the code from LearnOpenGL.com[1] and change a little,and includes and libs are same as the code of learnopengl.com.It need a ply file as input and output depth map as png files.
reference:
1.Learn OpenGL
2.Code envs