OpenGL, texturing...and...more OpenGL

This is a discussion on OpenGL, texturing...and...more OpenGL within the Game Programming forums, part of the General Programming Boards category; Greetings, fellas! How are you doing? A few days ago I posted a thread asking for some help on where ...

  1. #1
    Registered User Sunny's Avatar
    Join Date
    Nov 2001
    Posts
    101

    OpenGL, texturing...and...more OpenGL

    Greetings, fellas! How are you doing? A few days ago I posted a thread asking for some help on where to learn OpenGL. And someone-can't remember who now- replyed and posted a link to a very nice site. Anwy. I submerged myself in OpenGL the last week and have really LOVED it. It's a really nice programming env.
    However, in my last program I tried to load a texture. So, the program workd, and it can load a texture, but, instead of having the texture how it really looks, its faded and it's turned very blue-ish. I mean, you can see the patterns and all, but it's like converted to blue. And, yes, I am using some form of Mip maps.

    If you can help, please do...I am facing a little dilemma here

    Thank you.

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,267
    are the colors inverted?

    post the code you call glTexImage2D() with. we'll start there...
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  3. #3
    Registered User VBprogrammer's Avatar
    Join Date
    Mar 2002
    Posts
    175
    If you use glcolour and a texture you will get this effect, try setting the object colour to 1.0f,1.0f,1.0f that should fix your problem.
    VC++ 6

Popular pages Recent additions subscribe to a feed

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