I am using visual basic 6 and direct x 9. In direct x one loads a texture from a .dds or .bmp file. In visual basic, one can create a picture box and draw graphics on it and then save it as a .bmp file. In order to transfer the contents of a picture box to a texture, one must save the picture as a .bmp file to disk, then reload the texture from disk as a .bmp file. Is there a way to transfer the picture to the texture without going through the process of saving to and loading back from disk. Is there an alternative process that I could use, bearing in mind that I want to do realtime texture modifications in the same way that one would use say the picture.line function to draw a line on a picture, I want to be able to draw a line on a mesh ?
Then, does anyone know if it is possible to texture an object in dx9 with an avi file ?