Mesh painting

Blitz3D Forums/Blitz3D Programming/Mesh painting

You modify the TextureBuffer using 2D drawing commands. Actually, I think the best way is to do your modifications on an ImageBuffer and then CopyRect over to the TextureBuffer once you are done, but I'm not certain since I haven't messed with this kind of thing much.

You can get at what pixels in the image to modify by looking at the Uv coordinates of the vertices.

I'm actually thinking of doing this as a cheap way to do facial animation. Most of the texture image stays the same but I'll be altering the facial features in the corner to animate characters' faces.