Looking for GOOD tuturial/example on loading bitmaps....

Started by
1 comment, last by PlaGuED 18 years, 3 months ago
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.
Advertisement
C#
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.
hmm... i have checked that site out... but its always got an sql error.

This topic is closed to new replies.

Advertisement