문제

I am trying to present a point cloud and its projection with OpenGL on the plane normal to the line connecting the two most distant points. I have succeed in presenting the point cloud on the scene with an orthonormal system. I have found the two farthest point in the cloud. And I found the plan on which I projected.

I tried to make this projection but envin. I tried with the transformation matrices as GL_PROJECTION but envin.

Can someone give me hand?

도움이 되었습니까?

해결책

You can calculate the coordinates of the projected points by mathematical formulas, then draw them with OpenGL.

Take a look at this link

다른 팁

You can drop a perpendicular from each point to your found plane, and compute its foot point on the plane. Then draw another point there.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top