Does anyone know of any freeware converters that support TGA.
I use the GIMP to brew my images, but the TGA support is incompatable with NeHe''s. I need one which supports transparancy, so the one I sugested a while ago, here wont work.
Can anyone help?
SLARTIBARTFAST00
PLEASE SELECT WITTY .SIG:
TGA converters
SLARTIBARTFAST00
PLEASE SELECT WITTY .SIG: NoneWho is General Failure and why is he reading my disk?Microwave: Signal from a friendly micro...Multitasking: Screwing up several things at once...How do I set my laser printer on stun?Sarr! The spellchecker kinna take this abuse!
November 10, 2000 09:04 PM
Goto www.wotsit.org and get the TGA spec. Then you can write code that supports anything you need.
Hmmn... I was thinking of doing this later, but for the time I want to be able to do it without any extra code. Thanks anyway.
SLARTIBARTFAST00
PLEASE SELECT WITTY .SIG:
SLARTIBARTFAST00
PLEASE SELECT WITTY .SIG:
SLARTIBARTFAST00
PLEASE SELECT WITTY .SIG: NoneWho is General Failure and why is he reading my disk?Microwave: Signal from a friendly micro...Multitasking: Screwing up several things at once...How do I set my laser printer on stun?Sarr! The spellchecker kinna take this abuse!
Have a look on tucows or even go look for paint shop pro. it''s an amazing program that gives you full features with a 30 day time limit. of course, there''s nothing stopping you from reinstalling after that time...
S.
S.
Hmm. I once had a demo of paintshop pro 4 that didn''t expire. The days counter kept on going up and up. Nifty bug that was.
SLARTIBARTFAST00
PLEASE SELECT WITTY .SIG:
SLARTIBARTFAST00
PLEASE SELECT WITTY .SIG:
SLARTIBARTFAST00
PLEASE SELECT WITTY .SIG: NoneWho is General Failure and why is he reading my disk?Microwave: Signal from a friendly micro...Multitasking: Screwing up several things at once...How do I set my laser printer on stun?Sarr! The spellchecker kinna take this abuse!
BTW, Tucows sucked. Of course, I have tried most of those sites anyway. Does anyone have an actual URL or program name?
SLARTIBARTFAST00
PLEASE SELECT WITTY .SIG:
SLARTIBARTFAST00
PLEASE SELECT WITTY .SIG:
SLARTIBARTFAST00
PLEASE SELECT WITTY .SIG: NoneWho is General Failure and why is he reading my disk?Microwave: Signal from a friendly micro...Multitasking: Screwing up several things at once...How do I set my laser printer on stun?Sarr! The spellchecker kinna take this abuse!
I''m using an ancient version of Photoshop. I''ve noticed that Paint Shop Pro incorrectly exports greyscale images as 8-bit paletted images - that causes some headaches.
Try:
http://home.clara.net/paulyg/tgaload.zip
from my site, it supports alpha and a whole bunch of other stuff.
Paul Groves
pauls opengl page
Try:
http://home.clara.net/paulyg/tgaload.zip
from my site, it supports alpha and a whole bunch of other stuff.
Paul Groves
pauls opengl page
Paul Grovespauls opengl page
Photoshop (okok it''s expensive) does it quite ok, but as you are on a Linux platform I think you can do it with a trick:
Write the 24bit TGA picture in file A and an 8 bit ''alphamap'' in file B. (that''s the transparency layer). Then, you first load the TGA file A into a 32bitsperpixel array and for the alphabytes you load the file B, and merge the data into the array that already contains the 24bitpp TGA file.
below is my TGA loader. I''ve also mailed this source to NeHe, so he''ll probably include it in his libs somewhere in time.
--
Get productive, Get DemoGL: http://www.demogl.com
Write the 24bit TGA picture in file A and an 8 bit ''alphamap'' in file B. (that''s the transparency layer). Then, you first load the TGA file A into a 32bitsperpixel array and for the alphabytes you load the file B, and merge the data into the array that already contains the 24bitpp TGA file.
below is my TGA loader. I''ve also mailed this source to NeHe, so he''ll probably include it in his libs somewhere in time.
|
--
Get productive, Get DemoGL: http://www.demogl.com
--
Get productive, Get DemoGL: http://www.demogl.com
Get productive, Get DemoGL: http://www.demogl.com
Of course I forgot the .h stuff 
(put this in a .h file you include in the sourcefile where you use the tga loader)
(arg... this source converter has serious bugs)
--
Get productive, Get DemoGL: http://www.demogl.com
Edited by - Otis on November 11, 2000 4:31:56 AM
Edited by - Otis on November 11, 2000 4:34:56 AM

(put this in a .h file you include in the sourcefile where you use the tga loader)
(arg... this source converter has serious bugs)
|
--
Get productive, Get DemoGL: http://www.demogl.com
Edited by - Otis on November 11, 2000 4:31:56 AM
Edited by - Otis on November 11, 2000 4:34:56 AM
--
Get productive, Get DemoGL: http://www.demogl.com
Get productive, Get DemoGL: http://www.demogl.com
(BTW, I actualy usualy use Windows for my development. I have the Windows port of the GIMP)
I have fixed the problem, I have made a program that can have the exported C-source of the GIMP copied into it, and compiled to produce a file I call a simple texture (*.stx)
Basicly it saves width, hight, depth and the image data.
Then I did a little modification of the TGA code to load in my textures.
If anyone wants the code, just e-mail me.
Thanks for the help though,
SLARTIBARTFAST00
PLEASE SELECT WITTY .SIG:
I have fixed the problem, I have made a program that can have the exported C-source of the GIMP copied into it, and compiled to produce a file I call a simple texture (*.stx)
Basicly it saves width, hight, depth and the image data.
Then I did a little modification of the TGA code to load in my textures.
If anyone wants the code, just e-mail me.
Thanks for the help though,
SLARTIBARTFAST00
PLEASE SELECT WITTY .SIG:
SLARTIBARTFAST00
PLEASE SELECT WITTY .SIG: NoneWho is General Failure and why is he reading my disk?Microwave: Signal from a friendly micro...Multitasking: Screwing up several things at once...How do I set my laser printer on stun?Sarr! The spellchecker kinna take this abuse!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement