OpenGL Discussion and Help Forums - Math and Algorithms
https://www.opengl.org/discussion_boards/
Discussion about 3D math and linear algebra that is essential as a background to OpenGL codingenWed, 23 Aug 2017 02:24:06 GMTvBulletin60https://www.opengl.org/discussion_boards/images/misc/rss.pngOpenGL Discussion and Help Forums - Math and Algorithms
https://www.opengl.org/discussion_boards/
<![CDATA[How do I do "soft" bends with a mesh]]>
https://www.opengl.org/discussion_boards/showthread.php/199865-How-do-I-do-soft-bends-with-a-mesh?goto=newpost
Thu, 03 Aug 2017 17:15:16 GMTSo the simple way of animating a mesh is to have one segment rotate into the other. So if it were a tube, you'd see a sharp bend, but how do I do a soft bend such that I'd see a round corner without having to manipulate each point outside of the shader? In my case I'm storing the mesh as a list of points, and a list sets of 3 indexes for each of the faces. Can it be done such that I have two matrix, one being the position of the original position and the other either being next transformation or the product of that transformation?
]]>Math and AlgorithmsMrUNOwenhttps://www.opengl.org/discussion_boards/showthread.php/199865-How-do-I-do-soft-bends-with-a-mesh