resizing custom textures

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
Twig Masters *MBC*
Lance Corporal
Posts: 22
Joined: Tue Jun 03, 2003 6:41 pm

resizing custom textures

Post by Twig Masters *MBC* »

I have figured out how to create custom textures and get them into raident but I cant resize them to fit.
I know one of the settings I saw in the tutorial I followed said to save it in 32bit format.
Is this why I cant resize it? Or did I miss something else?
If it has to be 32 bit, I have another problem. Every program I have for image editing doesnt allow it to be saved in 32 bit.

I have PSP8 and Microsoft "Picture it" for image editing.

HELP !!!!
Twig Masters *MBC*
Twigs-mbc.com

[img]http://twigs_mbc.tripod.com/sigs/twig_sig.gif[/img]
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Have U tried pressing CTRL+f ?
Admin .MAP Forums
Image
Head above heels.
Twig Masters *MBC*
Lance Corporal
Posts: 22
Joined: Tue Jun 03, 2003 6:41 pm

Post by Twig Masters *MBC* »

control+f does the same as hitting the "fit" button at the bottom of raident.
Twig Masters *MBC*
Twigs-mbc.com

[img]http://twigs_mbc.tripod.com/sigs/twig_sig.gif[/img]
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

No it does not. Those buttons work for patch mesh brushes only. But the Radiant interface is a bit non intuitive there. :)

Try CTRL+f instead, or "Textures -> Alignment -> Fit" from the menus.
Admin .MAP Forums
Image
Head above heels.
User avatar
hogleg
General
Posts: 1577
Joined: Tue Sep 09, 2003 5:23 pm
Location: Down South Hillbilly Country

Post by hogleg »

When I was building my loading screen I tried to save my tga as 32 bit but I didn't have the option. The only option was like 24 bit.

Has any1 seen that befoar?
"all the governments in the world are corrupt and in the hands of the Illuminati"
User avatar
diego
Captain
Posts: 245
Joined: Sun Dec 21, 2003 10:47 pm

Post by diego »

24 bit is for your Red, Green, and Blue channels of your image. 8 bits for each channel.

32 bit TGA images have an extra Alpha channel for transparency. So if you don't need transparency in your image or texture, your are better off saving as a jpeg file.

If you do need tranparency, you need to find out how to add that info with your image editor. I only use photoshop, so I can't help you with that.

But for my load screen, I just used a 640x480 jpeg image.
Diego
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

HogLeg wrote:When I was building my loading screen I tried to save my tga as 32 bit but I didn't have the option. The only option was like 24 bit.

Has any1 seen that befoar?
if i remember correctly, someone said in an earlier thread, that u'd have to save 24bit in PSP with alpha channel (which would be the remaining 8 bits). so, try to find this option in PSP and u'll get ur 32bit targa. Nevertheless, without transparency, stay with jpg. quality will be the same and the file size is much smaller.
fuhrer
Captain
Posts: 253
Joined: Sun Mar 14, 2004 3:36 am

Post by fuhrer »

thought i would reply to this as i have had still having, that problem with psp..

i can see the option for alpha channel but its blanked out and i cant figure out how to make it 32 bit,

does anyone know?
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

I think you need to have at least 2 layers in the image, one for the pic, and one for the alpha layer.
Admin .MAP Forums
Image
Head above heels.
fuhrer
Captain
Posts: 253
Joined: Sun Mar 14, 2004 3:36 am

Post by fuhrer »

i dunno what its all about i managed to split it into rgb but all i could do was reassemble it back with no alpha, i dunno how its created
User avatar
diego
Captain
Posts: 245
Joined: Sun Dec 21, 2003 10:47 pm

Post by diego »

I'm not sure about PSP. In Photoshop, you don't actually add a separate alpha channel to the image. You just make the RGB layer more transparent with the slider for that layer.

Here is an idea:
Look through your MOHAA pk3 files. Find a texture in the game that DOES have an alpha channel. It will be a .tga file. Maybe a window texture would work for you. Load that up into PSP and see what the difference is between that image and what you are making.

If you are having trouble finding one, go to Wacko's recyclebin with that link above. There is a junk map in there called UFO. That one has some good textures for the ufo that have transparency. And the shaders for them are good reference as well.
Diego
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

Bdbodger once wrote:
it is possible to make a 32 bit TGA with paitshop pro . What you do paint the part you want to make a alpha channel from black . on the top menu click mask , new , from image . A dialog box will open and you select any none zero value . after you do that select masks , view mask . Then select masks , edit mask and edit it the way you want it . You should see a mask icon in the layer window , it looks like a little face . Then save it as a 24 bit TGA . It is actually a 24 bit TGA with an alpha channel so it will work even though it seems to be only 24 bit .
but maybe use the search button urself :wink:
LABYRNTH
Lance Corporal
Posts: 11
Joined: Thu Mar 25, 2004 6:22 pm

Using PSP

Post by LABYRNTH »

Ok there is no 32 bit in PSP Correct......... but!

You may open the TGA file Edit what you like then click close.

Do not click save or saveas just close and say yes to the changes this will keep the TGA just like it was when you opend it but your changes will be saved to it.
If you make it they will come !
Post Reply