Results 1 to 7 of 7

Thread: Rectangle Textures MINIMUM size?

  1. #1
    Senior Member Regular Contributor
    Join Date
    Sep 2003
    Location
    Ireland
    Posts
    135

    Rectangle Textures MINIMUM size?

    Hi all,

    Do rectangle textures (specifically ARB_texture_rectangle and EXT_texture_rectangle) have a minimum size limit?

    I know the minimum POT size is 64, but have been unable to discover if there is a minimum limit for the rectangle extensions.

    Cheers, charliejay

  2. #2
    Senior Member OpenGL Pro Zengar's Avatar
    Join Date
    Sep 2001
    Location
    Germany
    Posts
    1,931

    Re: Rectangle Textures MINIMUM size?

    Minimum size of a texture (any texture) is 1x1. Where did you get 64 for POT from?

  3. #3
    Senior Member Regular Contributor
    Join Date
    Sep 2003
    Location
    Ireland
    Posts
    135

    Re: Rectangle Textures MINIMUM size?

    Got 64 from the GL Red Book. You reckon I should be able to define a base (zero) level 32 x 16 texture, for instance, that isn't a mipmap level, then?

    I could have sworn that the Red Book said that the texture dimensions were >required< to be "at least 64", whereas the opengl specs site (specifically http://www.opengl.org/documentation/...eximage2d.html ) certainly says something a little different.

    It's not that I'm having trouble with small dimensions for rectangle textures, I just want to know if I can reasonably expect that to be the case on other systems, too...

  4. #4
    Senior Member OpenGL Pro
    Join Date
    Sep 2004
    Location
    Prombaatu
    Posts
    1,386

    Re: Rectangle Textures MINIMUM size?

    I think 64 is the minimum value for MAX_TEXTURE_SIZE.

    It's a minmax sort of thing...

  5. #5
    Senior Member Regular Contributor
    Join Date
    Sep 2003
    Location
    Ireland
    Posts
    135

    Re: Rectangle Textures MINIMUM size?

    I think some testing with POT textures is in order, then. It certainly sounds like small dimensions shouldn't be a problem for rectangle textures, if they aren't for POT textures...

    Thanks for the replies, folks.

  6. #6
    Senior Member Regular Contributor
    Join Date
    Sep 2003
    Location
    Ireland
    Posts
    135

    Re: Rectangle Textures MINIMUM size?

    Yeah, did the Red Book a dis-service, there - it says the same thing as the online spec.

  7. #7
    Senior Member OpenGL Pro
    Join Date
    Sep 2004
    Location
    Prombaatu
    Posts
    1,386

    Re: Rectangle Textures MINIMUM size?

    The GL3 spec ups the minmax to 1024 - same low price.

Similar Threads

  1. What is the minimum Texture size for OpenGL?
    By thimal in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 06-30-2017, 02:43 AM
  2. minimum matrix palette size
    By wycwang in forum OpenGL ES
    Replies: 1
    Last Post: 10-03-2007, 02:50 AM
  3. how to limit the GLUT window resize to a minimum size
    By yalmar in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 11-22-2006, 01:07 PM
  4. Rectangle Textures (Once again)
    By Jcl in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 01-11-2005, 08:52 AM
  5. Minimum and maximum size of 1d texture
    By Gorg in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 02-04-2002, 01:24 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