functionalities for bmp files
I am using the masking concept demonstrated by NeHe in his tutorial no. 20. The textures i want to map are all with black background and white foreground so the white area is the only thing i want to display. Therefore the mask of this texture can be generated by simply inverting the black and white regions ie inverting the colors of the bmp. But i want to automate the process of making the mask ie the user should only give the original bmp and the program generates the mask all by itself and generates the masked texture in the scene.
Could anyone please guide me to some resource that has some library for .bmp file related functions e.g. inverting the colors, generating new bmp etc. Is there anything in the msdn related to this? I have been searching on msdn for quite a while but havent been able to find what i require.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement