SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 06-04-07, 08:46 PM   #1
DiveMonkey
Torpedoman
 
Join Date: Apr 2005
Posts: 111
Downloads: 0
Uploads: 0
Default [REQ HELP] Need help with Photo shop and icons on map!

Trying to find a way to put text on the map and replace those ugly icons. I convert dds. to jpeg, than open in photo shop.
paint over the icon and insert text, than save, convert back to dds. and this is what I get...DOH!

DiveMonkey is offline   Reply With Quote
Old 06-04-07, 09:03 PM   #2
kv29
Watch Officer
 
Join Date: May 2007
Location: Buenos Aires
Posts: 342
Downloads: 2
Uploads: 0
Default

try the same, but this time export to BMP or TGA, not jpeg.
kv29 is offline   Reply With Quote
Old 06-04-07, 09:25 PM   #3
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,226
Downloads: 901
Uploads: 73


Default

Look at the original dds in word and see what type it was DXT3 etc .
THE_MASK is offline   Reply With Quote
Old 06-04-07, 10:13 PM   #4
l3th4l
Planesman
 
Join Date: May 2005
Posts: 180
Downloads: 10
Uploads: 0
Default

Sounds like you didn't account for the alpha channel.

You say you've "converted" the file to dds etc.? I'd recommend installing the nvidia dds plugin module. That way you eliminate the need to convert files and can simply open and save dds with photoshop directly.

After you've opened the dds file in photoshop you can see the existing alpha channel inside the channel palette beneath four other entries (RGB,R,G,B). A channel is always grayscale and in the case of the alpha channel white means opaque and black transparent. Depending on which type of dds compression is chosen the interpolation between the two varies a bit.

If you started from scratch and created a new psd you need to manually create a new channel which can be done with one of the buttons at the bottom of the channel palette just as you would create a new layer in the layer palette.
l3th4l is offline   Reply With Quote
Old 06-05-07, 01:25 AM   #5
DiveMonkey
Torpedoman
 
Join Date: Apr 2005
Posts: 111
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by l3th4l
Sounds like you didn't account for the alpha channel.

You say you've "converted" the file to dds etc.? I'd recommend installing the nvidia dds plugin module. That way you eliminate the need to convert files and can simply open and save dds with photoshop directly.

After you've opened the dds file in photoshop you can see the existing alpha channel inside the channel palette beneath four other entries (RGB,R,G,B). A channel is always grayscale and in the case of the alpha channel white means opaque and black transparent. Depending on which type of dds compression is chosen the interpolation between the two varies a bit.

If you started from scratch and created a new psd you need to manually create a new channel which can be done with one of the buttons at the bottom of the channel palette just as you would create a new layer in the layer palette.
Excellent plug in for Photo shop
Makes using dds. much easier, No kind of paint guy so this mite take me a while to figure out.

opened in note pad In the upper left corner reads
DDS
DXT5
I take it I should be saving in DXT5?
DiveMonkey is offline   Reply With Quote
Old 06-05-07, 02:41 AM   #6
l3th4l
Planesman
 
Join Date: May 2005
Posts: 180
Downloads: 10
Uploads: 0
Default

Quote:
Originally Posted by DiveMonkey
opened in note pad In the upper left corner reads
DDS
DXT5
I take it I should be saving in DXT5?
sh4 supports all dxt compressions afaik. what it comes down to is size and appearance.

i think dxt5 uses a higher compression than dxt3 and using it should reduce the memory usage slightly. there is also a difference in how the alpha channel is interpreted - it is my understanding that one uses discrete (sp?) levels (dxt3) while dxt5 interpolates which can result in less apparent banding and higher quality.

unless you're compressing normal maps (iirc dxt5 has problems when dealing with that) dxt5 is usually the best choice if the program supports it.

if you don't have any partially opaque parts in your texture you can also experiment with binary alpha, i think dxt2 does that. what that means is that each pixel in your texture is either completely transparent or completely opaque, nothing in between.

also try out some of the options that plugin gives you. error diffusion can make a big difference when there are lots of slight color variations for example.
l3th4l is offline   Reply With Quote
Old 06-05-07, 08:45 AM   #7
kv29
Watch Officer
 
Join Date: May 2007
Location: Buenos Aires
Posts: 342
Downloads: 2
Uploads: 0
Default

guys, jpeg format does NOT support alpha channel, thats why you have to export to bmp or tga.
kv29 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:53 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.