Texture troubles

This is a discussion on Texture troubles within the Game Programming forums, part of the General Programming Boards category; Hi folks; I'm new to game programming and I am trying to apply textures to my objects. I am programming ...

  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    5

    Texture troubles

    Hi folks;

    I'm new to game programming and I am trying to apply textures to my objects. I am programming in OpenGL in C and I've surfed the Web for examples but I've come up with a lot of glaux examples, however I'm not using glaux. Can anyone out there direct me to some tutorials on texturing in OpenGL in C that does not use glaux?

  2. #2
    'AlHamdulillah
    Join Date
    Feb 2003
    Posts
    790
    uhm... go to www.wotsit.org and look up the file format for the image you are looking to make a texture from. Then , using the document, develop structures and functions to load that image and decompress if necessary. This is all very easy. Then you can just feed the resulting buffer of data to the same texture generating functions you use, such as glGenTexture2D(),etc..
    there used to be something here, but not anymore

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. d3d9 c++ texture wrapper... again...
    By yaya in forum Game Programming
    Replies: 0
    Last Post: 04-01-2009, 01:08 PM
  2. D3d Texture Wrapper == ARRRGGGGHHH
    By yaya in forum Game Programming
    Replies: 1
    Last Post: 03-25-2009, 06:41 PM
  3. Replies: 4
    Last Post: 02-27-2008, 02:10 PM
  4. OpenGL - look trough surface -nehe lesson
    By GanglyLamb in forum Game Programming
    Replies: 8
    Last Post: 08-24-2006, 11:06 PM
  5. Pong is completed!!!
    By Shamino in forum Game Programming
    Replies: 11
    Last Post: 05-26-2005, 10:50 AM

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