Can the matrix be changed in the middle of a draw?

Hello,

So I recently tried modify view matrix in between a glBegin and glEnd() with no luck. Is there a mode I have to be in for this to work, or is it just not possible? If it’s just a matter of enabling something, what draw backs are there to enabling it?

It’s not possible.

So in cases where you have one whole model, but you want to bend one joint, what’s the standard practice for that? Is it all just done on the application layer?

Traditionally, they just did the transforms on the CPU. In modern days, you use a shader. Each vertex is tagged with which matrices it uses and how much to weigh each one. And you just pass all the matrices that you need to the shader.

To extend what Alfonse said, there are a number of ways nowadays you can effectively change/augment the MODELVIEW transform in the middle of a draw call, but you need to use shaders to do it.

You can pass in matricies/transforms/quaternions/whatever as vertex attributes and use them in the shader to augment MODELVIEW. And/or you can pass in bone indices via vtx attribs, and use them to index into other things, a uniform arrays of matrices/quats/etc. or a texture (buffer, 2D, etc.) containing matrices/quads/etc.