[fpc-pascal]GIF 87a/89a

Balogh, Karoly (Charlie/iNQ) charlie at scenergy.dfmk.hu
Tue Nov 19 16:38:42 CET 2002


Hi,

On 19-Nov-02, Cabuzel Thierry wrote:

>> Of course, everyone uses plain raw or BMP images for Putimage 
>> and such routines. But i see no reason why you couldn't use some 
>> compressed image format to store pictures on the HDD, and convert 
>> to raw chunky or BMP format at load-time. 
> If The game could load ALL images at the start (true for a space invader),
> there is not so much problem.

And this is our case now, since we're talking about a space invader. :)

> But in the case of a very large 3D environment where textures are 
> loaded as needed, it could be OK if LoadOfCompressedImage + 
> TimeToDecompress <= LoadOfUncompressedImage.

Not necessarily with a fast decompression routine. If you load from
a slow device (eg. CD or such) loading a lot smaller compressed image
might be a lot faster, since there is a plenty of free CPU bandwith,
but not that much I/O bandwith... 

Anyway, 3D is a complettely different thing, since most modern 
3D-capable devices can texture using compressed textures, so in this
case you don't need to implement your own compression, of course. 

Bye,
-- 
Charlie/iNQ
.:%[ Cybernetic Hydraulic Android Responsible for ]%:. 
.:%[    Logical Infiltration and Exploration      ]%:.
.:%[         Member of TeamOS/2 Hungary           ]%:.
.:%[     Member of Hungarian Amiga User Group     ]%:.





More information about the fpc-pascal mailing list