How can I draw a simple JPG or BMP in DirectX 9.0 (C++) ??

This is a discussion on How can I draw a simple JPG or BMP in DirectX 9.0 (C++) ?? within the Windows Programming forums, part of the Platform Specific Boards category; Hi, how can I draw a BMP or a JPEG with C++ using DirectX 9.0? I know how to draw ...

  1. #1
    Registered User
    Join Date
    Apr 2005
    Location
    New Brunswick, Canada
    Posts
    8

    How can I draw a simple JPG or BMP in DirectX 9.0 (C++) ??

    Hi, how can I draw a BMP or a JPEG with C++ using DirectX 9.0? I know how to draw text, but not an image...

    Someone can help me out?

  2. #2
    Chief Code Coloniser!
    Join Date
    Apr 2005
    Posts
    121
    Learn to search

  3. #3
    Registered User
    Join Date
    Apr 2005
    Location
    New Brunswick, Canada
    Posts
    8
    Well, I can't find it for DX9... (probably I'm too dumb, and I'm missing something)

  4. #4
    ResurgentBarbecue UnclePunker's Avatar
    Join Date
    May 2002
    Posts
    128
    Quote Originally Posted by TheColonial
    Learn to search

    I don't see why people have to be like that, if you don't want to help then don't help. Leave it to someone who does want to.
    Compiler == Visual C++ 6.0
    "Come Out Fighting."

  5. #5
    Chief Code Coloniser!
    Join Date
    Apr 2005
    Posts
    121
    LegendBreath: The differences between DX8 and DX9 when it comes to this kind of thing aren't particularly huge. You could read up on some tutorials for DX8, and then play with the DX9 sdk to try and implement what you've learned. Alternatively, you could to go sites such as Ultimate Game Programming, Drunken Hyena or 32Bits.co.uk and have a read through the large collection of tutorials on each of those sites.

    Not knowing how to make this work doesn't make you "too dumb" at all, it just means you have something to learn! So check out the links and read the tutorials, they're very helpful.

    UnclePunker: I was running out of time to write a full explanation. So rather than give a half-hearted answer, I decided to point out a few resources while making the point that searching can yield much faster results than posting to forums with questions such as this. I was not "being like that" at all, so would you kindly not imply that I'm being nasty

    Cheers.

  6. #6
    ResurgentBarbecue UnclePunker's Avatar
    Join Date
    May 2002
    Posts
    128
    Fair enough. Your second explanation of the situation was a much nicer and more coherent way of saying he could find out more using the power of google than saying "Learn to search". But I apologise for getting the wrong end of the stick.
    Compiler == Visual C++ 6.0
    "Come Out Fighting."

  7. #7
    Chief Code Coloniser!
    Join Date
    Apr 2005
    Posts
    121
    No problems I can understand how it might have sounded harsh given the shortness of my response, so no offence taken

    Cheers guys!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Load jpg or bmp file to window
    By Skull in forum C++ Programming
    Replies: 7
    Last Post: 01-11-2008, 10:24 AM
  2. C# and DirectX Downloads? (Simple Q, Please reply)
    By Zeusbwr in forum Windows Programming
    Replies: 2
    Last Post: 05-06-2005, 10:31 AM
  3. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 04:00 PM
  4. Simple DirectX question
    By Crossbow in forum Windows Programming
    Replies: 1
    Last Post: 12-12-2001, 12:44 AM
  5. jpg, gif, bmp... ect
    By goofyprogram in forum C Programming
    Replies: 1
    Last Post: 11-20-2001, 01:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21