TGA image supporting applications

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Postby Alien » Wed Oct 08, 2008 6:51 pm

No. I'll explain you on irc later then. The bad image is also transparent, I've only posted rgb view without alpha channel.
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby Taiyo.uk » Wed Oct 08, 2008 8:47 pm

GIMP doesn't handle the alpha channel correctly in TGA files, this is a known issue. When making photosoup textures (such as SimonOC's terrain textures) I need to save as an RGB tga and a separate greyscale version. Then I use ImageMagick to mogrify the RGB tga by adding the greyscale version as the alpha channel.
Taiyo.uk
Alien trapper
 
Posts: 436
Joined: Mon Apr 17, 2006 8:48 pm
Location: Reading, IN-GER-LUND!!!

Postby Alien » Thu Oct 09, 2008 7:30 am

Taiyo.uk wrote:GIMP doesn't handle the alpha channel correctly in TGA files, this is a known issue. When making photosoup textures (such as SimonOC's terrain textures) I need to save as an RGB tga and a separate greyscale version. Then I use ImageMagick to mogrify the RGB tga by adding the greyscale version as the alpha channel.


Why? It works for me.
Image

Use transparent background and later set colour opacity when texturing.

Original tga file - made with Gimp only
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby divVerent » Thu Oct 09, 2008 8:51 am

GIMP IIRC saves TGA wrong if in Grayscale mode. Change to RGB mode before saving as TGA, if you have an alpha channel.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Previous

Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron