Advertisement

Maybe you can help me with this one

Started by November 18, 2000 11:52 PM
6 comments, last by Wavarian 24 years, 2 months ago
I recently implemented the tga loading code into my program, and now for some strange reason, after converting my .bmp files to .tga files and loading them into my game, i get this: The image on the left is supposed to look like the image on the right. Has this ever happened to anyone else? Can anyone help me with this problem?? thanks -Wav Edited by - wAVaRiaN on 11/18/00 11:54:35 PM
What program are you using to do the coverting of the formats from .BMP to .TGA? Because i used a Castle.bmp that i got off a cd of mines and threw it into 3DExploration than did the converting of it from .BMP to a .TGA and it worked fine for me i opened the .TGA file in 3DExploration and it looked just like it did before i even changed it to Targa file.

Just to let you know if you wanted to DL the program i used, the lastest version of 3DExploration is 1.5.10
--------------------------I shall thrash his bloody head in, cut it from upon his shoulders, and as his blood flows effortlessly down my blade, I shall taste it's sweetness. Blade Runner’s Entertainment Nothing much right now...
Advertisement
maybe theres a bug in your TGA loading code? or the tga is in a different format?
Not sure what could be wrong.. i used NeHe''s tga code, made sure it was the same.. i used Adobe Photoshop 5.5 to convert my bitmaps.. I re-opened them again, and they look exactly like the bitmaps..

I''ll try that program you mentioned, to make sure that the conversion of the tutorial wasn''t stuffed in the beginning.. =)

thanks guys.
it appears that 3d explorer compresses its .tga files, and now my textures wont work at all..

any other ideas? is there a way to prevent this program from compressing these files; or a way to uncompress these images in my game?

Maybe your files textures are a little to much for converting try cuting back on something, or maybe you can find some sort of editing and painting program on the Internet, i tried to dl Jasc Paint Shop Pro 7.0 but it would not install i got and error every time i tried to install it so maybe i''ll just buy it.

I''m broke.
--------------------------I shall thrash his bloody head in, cut it from upon his shoulders, and as his blood flows effortlessly down my blade, I shall taste it's sweetness. Blade Runner’s Entertainment Nothing much right now...
Advertisement
I''d just like everyone who has delphi to know that the delphi port of lesson 25 (the tga loading one) doesnt work properly. The file loading system is not one which should be used by delphi (for some reason it''s losing or misinterpreting information contained within the targa files). I recently played around with the code and ended up making my own which now works 100% accurately (i think )

Thanks for your help guys, it is unfortunate that the tutorial didnt work as properly as it should have.. :/

-- Wav
Cool, glad to help man.
--------------------------I shall thrash his bloody head in, cut it from upon his shoulders, and as his blood flows effortlessly down my blade, I shall taste it's sweetness. Blade Runner’s Entertainment Nothing much right now...

This topic is closed to new replies.

Advertisement