Thread: Texture Problem(I got the NeHe tut working, but I have a problem)

  1. #1
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Lightbulb Texture Problem(I got the NeHe tut working, but I have a problem)

    I got the NeHe tutorial to work. But when it runs, the texture isn't there. I have the full NeHe code and I put in my BITMAP location, but I can't see it. What do I do?
    Website(s): http://www16.brinkster.com/trifaze/

    E-mail: [email protected]

    ---------------------------------
    C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
    DirectX Version: 9.0b
    DX SDK: DirectX 8.1 SDK

  2. #2
    Sayeh
    Guest
    Use a debugger and step through the code. Likely, you've got a pointer this futzed and your writing in memory some where.

    Also, make sure you understand the difference between a pixmap and a bitmap. pixmap is color and has a different calculation than a bitmap, which is black and white.

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    its hard to address the problem without seeing some code, attach some source to your post.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. problem working with char array
    By bradleym83 in forum C Programming
    Replies: 4
    Last Post: 07-27-2005, 10:57 AM
  2. Dialog Problem! not working,
    By C+noob in forum Windows Programming
    Replies: 5
    Last Post: 07-16-2005, 01:04 PM
  3. Animation class not working
    By VirtualAce in forum Game Programming
    Replies: 5
    Last Post: 03-02-2005, 06:48 AM
  4. MFC Multi-threading is working ... Now another problem :(
    By SyntaxBubble in forum Windows Programming
    Replies: 3
    Last Post: 11-13-2003, 08:39 PM
  5. inStream practice problem not working?
    By correlcj in forum C++ Programming
    Replies: 2
    Last Post: 10-27-2002, 05:58 PM