Looking for GOOD tuturial/example on loading bitmaps....
Looking for GOOD tuturial/example on loading bitmaps into DirextX with Direct3D.
i havent been able to find any good tutorial places that give an example on loading 2d bitmaps with Direct3D.
If anyone can help me find a place. I would be apperciated.
And if anyone has a tutorial or a book that they can refer to me that will be really helpful.
Im all ears.
C#
C++
This of course ignores all of the leg work in setting up the device, or actually rendering the bitmap. The Drunken Hyena tutorials are good for a more in-depth look at basic usage.
Texture bmp=TextureLoader.FromFile(<Direct3D.Device>,"filename.bmp");
C++
IDirect3DTexture9 *bmp;D3DXCreateTextureFromFile(<Direct3D.Device>,"filename.bmp",&bmp);// TODO: error checking.
This of course ignores all of the leg work in setting up the device, or actually rendering the bitmap. The Drunken Hyena tutorials are good for a more in-depth look at basic usage.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement