This message was edited by adrianxw at 2003-5-22 1:33:6
This message was edited by adrianxw at 2003-5-22 1:32:49
: OK, I have written a custom format for my textures that I use in-game. It decreases CPU usage, memory usage, and it speeds up loading times. However, since it is not a bitmap, how would I display the texture in Windoze? I can easily read in the RGB array, but then what? How can I display the RGB array in a window? If you're wondering, the editor uses a STATIC class window for displaying the images.
Load the respective red, green and blue components into a COLOREF structure and use SetPixel(). Slow though.
That what you mean?
Med venlig hilsen,