   Project - Deformation object (opengl, c++)
  Hi everyone, it's my first post.I'm a studentI'm working on project called Deform objet in openglthe subject:We start with a 3D mesh.We apply all or part of the mesh (cursor control) a 3D deformation like:- compression- twisting- pinching- bendingI'm currently working on it, i have made several class struct for vertices, edges and faces.Any kind of help will be useful.When i'll be able to made this, i want to continue with advanced deformation using Free-Form-Deformation like this video:very awesome !Thanks everyone   
  What's your question? :)   ;  thanks GeirGrusomi've several questions like:How can i deform an 3D object mesh or a part of this ? I thought about moving the vertices of the mesh with mouse but I' don't know how to start.Or using function like void compresion (vertices point, interval ...etc)void pinching (vertices point, interval ...etc)void bending (vertices point, interval ...etc)void twisting (vertices point, interval ...etc)to do this.   ;  you will achiev must of these effects with combinations of different kindes of matrix transformation of the verticesfor example twisting:problem:twist a cube around the y axisapplie to each vertex a rotation matix where the rotation depends on the y value of the vertex.;  I think he is asking how to select vertices.You can do this by rubber band selection, which means you use the mouse to trace a rectangle. All vertices in the rectangle get selected.In order to know that a vertex is in the rectangle, you would transform the vertex from object space to window space. You can use glProject to achieve this.   ;  Thanks Danny02 but it's not what i want to do.V-man is right i want to select one or more vertices of the object and make them move.I will try what you have said with a rubber band selection and glProject. Thank you V-man.Thanks for helping me, all.i'll keep you inform of my project, continue to bring some ideas.thanks   