Question

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?

Was it helpful?

Solution

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

Take a look at this link

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top