Results 1 to 3 of 3

Thread: Help with the textures

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2009
    Location
    Moldova
    Posts
    8

    Help with the textures

    Hi, I have drawn some figure & now I have to load some .bmp image & put that image on the surface of my figure. I really don't know how to do that (((. I searched for some examples but most of all (at least the ones that were clear to me ) were with the use of GlAux library, but I do use Glut ... Basically I don't know how to load my image into memory (they use "auxDIBImageLoad") .... Please give me some link where I could find some complete example ....

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Feb 2006
    Location
    Sweden
    Posts
    744

    Re: Help with the textures

    The code on these pages describe how to load bmps using the methods that use GlAux without actually needing GlAux.
    Doesn't mean you should however, you should be using tga files they are way nicer for OpenGL.

  3. #3
    Junior Member Newbie
    Join Date
    Apr 2009
    Location
    Moldova
    Posts
    8

    Re: Help with the textures

    Thanks a lot, I included the 2 files in my project & everything worked fine

Similar Threads

  1. Applying textures to a sphere. I know nothing about textures.
    By ElFlautas in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-28-2018, 03:47 AM
  2. model textures being redirected to font textures
    By Tcll5850 in forum OpenGL: Advanced Coding
    Replies: 7
    Last Post: 09-07-2014, 10:43 PM
  3. FBO Attached Textures Reused as Shader Source Textures
    By Rennie Johnson in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 06-22-2012, 09:43 PM
  4. Lots of small textures or fewer large textures?
    By jlamanna in forum OpenGL: Advanced Coding
    Replies: 30
    Last Post: 01-12-2004, 03:53 AM
  5. are GL_COLOR_INDEX textures converted to RGBA-Textures?
    By TB-Rex in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 12-18-2000, 06:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean