View Full Version : Texture Mapping
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
08-29-2002, 11:49 PM
bmp is too large, what size textures you using!
08-30-2002, 04:26 AM
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.
08-30-2002, 07:11 AM
Try PNG, it has some lossless compression, supports alpha and has fast decompress (LZ + arithmetic swizzle).
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.