Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: Texture Mapping

  1. #1
    Guest

    Texture Mapping

    Hi,

    What is the best file format to use in texture mapping?
    Bitmap file is to large (but fast), JPG file is compresed but decompresing algorithm runs to long, maybe TGA or what?

    thanks for any help

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Aug 2000
    Location
    Cardiff University
    Posts
    668

    Re: Texture Mapping

    bmp is too large, what size textures you using!

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Location
    Fargo, ND
    Posts
    1,797

    Re: Texture Mapping

    What format you use really makes little difference to OpenGL. So far as OpenGL is concerned, you are simply passing in an array of bytes no matter which of these formats you use.

    No matter which of the formats you use, you still need to know how to get the appropriate array of bytes. So, whatever you feel best about getting that data from would be best for you. I tend to like TGA simply because it's simple and has an optional alpha channel.
    Deiussum
    Software Engineer and OpenGL enthusiast

  4. #4
    Super Moderator OpenGL Guru dorbie's Avatar
    Join Date
    Jul 2000
    Location
    Bay Area, CA, USA
    Posts
    4,388

    Re: Texture Mapping

    Try PNG, it has some lossless compression, supports alpha and has fast decompress (LZ + arithmetic swizzle).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •