Player.png in the demo
by Neil Marshall · in Torque Game Engine · 06/22/2003 (9:26 am) · 6 replies
What's up with the player.png file in the demo?
If I look at it in photoshop all I get is little hints that there is an image there. If I load it up in ACDSee then I can see the actual image.
On a side note I've been messing with the setSkinName() function and I renamed player.png to base.1.png and created a green.1.png. When I switch skins in the game all I see is the reflection of the environment map... something tells me it has to do with the fact that I can't see the image portion of the png in photoshop, just this weird alpha channel. Are the alpha channels used to control the intensity of the reflection?
If I look at it in photoshop all I get is little hints that there is an image there. If I load it up in ACDSee then I can see the actual image.
On a side note I've been messing with the setSkinName() function and I renamed player.png to base.1.png and created a green.1.png. When I switch skins in the game all I see is the reflection of the environment map... something tells me it has to do with the fact that I can't see the image portion of the png in photoshop, just this weird alpha channel. Are the alpha channels used to control the intensity of the reflection?
#3
06/22/2003 (10:19 am)
Opening with SuperPNG didn't change a thing. I still see a mostly transparent image.
#4
06/22/2003 (11:59 am)
Use The Gimp :)
#5
As for exporting though you will have to use the SuperPNG if you want your specific alpha channel exported, otherwise if you use the "Export to Web" PNG option, the transparency of the pixels will be used to generate the transparnecy channel for the PNG.
Logan
06/22/2003 (12:17 pm)
Actually you can load the file up correctly in Photoshop if you use "Open As" instead of just Open.As for exporting though you will have to use the SuperPNG if you want your specific alpha channel exported, otherwise if you use the "Export to Web" PNG option, the transparency of the pixels will be used to generate the transparnecy channel for the PNG.
Logan
#6
06/22/2003 (6:21 pm)
Nope, "open as" didn't work in photoshop 7.0 either. I tried with both the normal png and superpng. Anyone have another suggestion?
Torque Owner Anthony McCrary
You either need to get SuperPNG or use a version of the PNG plugin before 5.5. (I use version 5.0 and it works great).
I'm not sure if SuperPNG cost money, but I can give you the old version of png.8bi or whatever. It's probably against the Adobe PS EULA, but they really should have fixed the PNG problem a while ago.