How to load *.tga for terrain

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
jl0206
Posts: 55
Joined: Mon Jun 07, 2004 4:56 am

How to load *.tga for terrain

Post by jl0206 »

hi everyone , I haven't online for a long time .
I play the game "Beach Head" , and I want make map use the *.tga ,but how to load *.tga for heightmap ?? I just can use *,jpg or *.bmp . when I use *.tga for heightmap there is wrong . So how to load tga for map???
Asterisk Man
Posts: 62
Joined: Wed Jun 09, 2004 5:51 am

Post by Asterisk Man »

Tga files are still being implemented into the engine, so you might just want to convert the .tga files into .bmp or .jpg, at least for the time being.
Guest

Post by Guest »

Or if you really wanted to, you could get libtga and add in Irrlicht support for loading tgas using that.
jl0206
Posts: 55
Joined: Mon Jun 07, 2004 4:56 am

Post by jl0206 »

Thanks for help. BTW, can you tell me which tool can change tga to bmp??
Robomaniac
Posts: 602
Joined: Sat Aug 23, 2003 2:03 am
Location: Pottstown, PA
Contact:

Post by Robomaniac »

IrfanView
The Robomaniac
Project Head / Lead Programmer
Centaur Force
thesmileman
Posts: 360
Joined: Tue Feb 10, 2004 2:20 am
Location: Lubbock, TX

Post by thesmileman »

or xnview or imagemagick or photoshop or gimp or paintshop pro or ...
Post Reply