raw or bitmap. stick to bitmap, though - you''ll only need Paint to convert images to this format... Check out this place. Also, remember that color bytes are stored in reverse order in a bitmap (bgr) - so you''ll need to swap them. Furthermore, refrain from using the WinAPI bitmap header structs, and write your own. No biggie. Why? Portability.
Crispy
Texture Loading without glaux library
quote:Original post by moore52
pack your bmps with rar for example download unrar.dll library
I''ve never used texture packing, but simple tests show that .rar, while being my personal favorite and better than .zip, is hopelessly slower than the latter (packing 2 s vs 7 s, unpacking 1 s vs 2 s), so if possible use some faster packing algorithm. Quake3 uses zip-compression for its textures, afair, so maybe there''s a free lib out there - not sure - too lazy to run a search, too
Crispy
quote:Original post by CrispyOriginal post by moore52
pack your bmps with rar for example download unrar.dll library
I''ve never used texture packing, but simple tests show that .rar, while being my personal favorite and better than .zip, is hopelessly slower than the latter (packing 2 s vs 7 s, unpacking 1 s vs 2 s), so if possible use some faster packing algorithm. Quake3 uses zip-compression for its textures, afair, so maybe there''s a free lib out there - not sure - too lazy to run a search, too
Crispy
http://www.gzip.org/zlib/
Fe doeyr, Frender Doeyr,Ein sjoelv doeyr paa sama vis.
Eg veit et som aldri doeyr, dom over kvar ein doed.
Cattle die, Friends die, You yourself will also die.
I know something that never dies, the memory of every dead.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement