The online racing simulator
DDS compressed Fileformat
(3 posts, started )
DDS compressed Fileformat
Hi,

does somebody help me. I want to program an 3D - Editor in Delphi for painting and simulating ect.

Therefore I want to import the DDS(DXT) Textur Bitmaps and dont want to loose much time by developing the texturimporter.

Does anybody have notice of sourcecode for importing or calculating the DDS bitmaps in Delphi, pascal, or C++. The DDS Textures seem to be compressed in DX1 Format.

Some helpfull links for downloads would be nice.
Attached images
TEMP.JPG
You can read about DDS files at MSDN. Here's one link but you'll probably have to search around some more.

http://msdn.microsoft.com/libr ... cs_reference_dds_file.asp

There are DirectX functions to load textures in various formats including dds, bmp, jpg, etc and i think you can save as bmp and dds. The functions are something like LoadSurfaceFromFile and SaveSurfaceToFile.

Sorry i can't help in great detail, i just learned what i needed to know when i coded it up, to convert raw files to dds for use in card memory and to save download size.

DDS compressed Fileformat
(3 posts, started )
FGED GREDG RDFGDR GSFDG