Results 1 to 3 of 3

Thread: Loading different sized images

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2009
    Posts
    1

    Loading different sized images

    How in openGL is it possible to load up images of sizes not of the power 2 onto textures? If someone could link me to a tutorial or give me a hint how i'd appreciate it a lot.

  2. #2
    Junior Member Newbie
    Join Date
    Nov 2009
    Posts
    11

    Re: Loading different sized images

    Depending upon your drivers you can either use NPOT textures, Texture Rectangles, or pad the image to fit within power of 2.

    http://www.nvidia.com/dev_content/nv...wer_of_two.txt
    http://www.opengl.org/registry/specs..._rectangle.txt

  3. #3
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: Loading different sized images


Similar Threads

  1. loading tga images
    By Riuzaki90 in forum OpenGL: Linux
    Replies: 2
    Last Post: 02-18-2012, 10:12 AM
  2. standard sized 2D images on OpenGL
    By CeccOman in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 12-16-2003, 04:57 AM
  3. Replies: 8
    Last Post: 12-01-2003, 08:35 AM
  4. loading images please help
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-07-2002, 02:49 AM
  5. Loading Images
    By Sajjad in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-20-2001, 01:36 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