Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Photoshop and transparency

Author
Message
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 4th May 2004 21:49
Hello.

I have been using Adobe Photoshop to make images with transparency and saving them in PNG format for use in DBP. However, I can no longer get Photoshop to save the transparency detail.

The checkbox for saving alpha channels has become ghosted and when I save a PNG I get white where I should get transparency.

It must be something I have done within Photoshop but I don't know what and so I don't know how to undo it.

I realise I could save in BMP and use a colorkey for transparency but that is not the point. I need to know why photoshop won't let me save alpha channels anymore.

Does anybody have any ideas?

Thanks

Need a reference manual for Tokamak? How about one for Nuclear Glory Collision? Or maybe BlueGUI?
S.O.S. Site Of Scraggle
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 4th May 2004 22:08
Check what Mode you're in. Unless it's RGB you won't be able to save the Alpha channels.

Cheers,

Rich

With our species on the edge of extermination,
with no prospect but a horrible death,
we actually played games.
Cassi
21
Years of Service
User Offline
Joined: 6th Sep 2003
Location:
Posted: 4th May 2004 22:28
Thanks for the reply Rich.

Unfortunatley, it is the first thing I checked and it is in RGB.
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 4th May 2004 22:30
Oops, my girlfriend Sheree (Cassi) was logged in from the 'Girl Coders' post.

Need a reference manual for Tokamak? How about one for Nuclear Glory Collision? Or maybe BlueGUI?
S.O.S. Site Of Scraggle
Mussi
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 4th May 2004 23:07
your girlfriend is also into programming? if so, so cool!

you could try setting it to png-24



Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 4th May 2004 23:22
Thanks Mussi

I don't have a PNG-24 option.

I'm using Photoshop 7 so I can't imagine I'm missing something.
Is PNG-24 a photoshop CS option? If so I will have to wait a week or so because I have it on order but it takes a few days to get to Cyprus.

And yes, she is 'into' programming, in her own way. She can't grasp 3D movement on screen so her stuff is generally 2D - and pink!

I read something in 'Focus' magazine about the differences in male/female brains which means that females can't do the spacial awarness thing. But she doesn't like to be told that it is her brain that can't cope with 3D environments!

Need a reference manual for Tokamak? How about one for Nuclear Glory Collision? Or maybe BlueGUI?
S.O.S. Site Of Scraggle
Dennuz666 v2
20
Years of Service
User Offline
Joined: 21st Jan 2004
Location: Netherlands
Posted: 5th May 2004 09:22
It has nothing to do with the version you use. I use 7 too without problems. You don't want to know this, but i can't help you. I tried a lot of things but can't get photoshop to 'grey' the tranparancy button. Try creating a new document with a tranparant background and copy the layers into it and try again. Maybe that helps?

Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 5th May 2004 09:58
try saving it through the 'save to web' button; if that doesn't work make sure you have the image looking how you want it exported and export as a TGA 32bit


AthlonXP 2500+ | 256MB DDR PC2700 | GeForce FX 5200 44.04 | DirectX 9.0 | Audigy2 | Crystal Clean OS
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 5th May 2004 10:20
The transparent option works ok for png as well as DDS which a plugin for shop can be found in the nvida developers section of the site.

I have made an example as well for download here

http://www.dbforums.co.uk/indi/dbp_examples/dds_opacity_test.zip


fall down seven times, stand up eight
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 5th May 2004 11:54 Edited at: 5th May 2004 11:59
Thanks for the replies.

I tried 'Save For Web' and found the PNG-24 option in there and I could also select save with transparency there - so I did.

When I used the PNG image in DBP however, it did not have transparency but when I loaded it back into photoshop it did indeed have transparency - weird!

I tried your example indi - thanks. It works but which website are you referring to? I assumed you meant the nvida developers section of Adobe.com but I could not find it.

However, my main problem remains. Why is the alpha channels checkbox ghosted out when I try to save PNG or TGA?

I also tried 'Export Transparent Image' from the help menu but although everything seemed to work OK, I still found that the saved image had NO transparency!

Need a reference manual for Tokamak? How about one for Nuclear Glory Collision? Or maybe BlueGUI?
S.O.S. Site Of Scraggle
AlecM
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Concord, MA
Posted: 5th May 2004 13:36
my experience is this:
You need to manually apply the texture again in DBP then use the transparency commands. Its really odd but its the only thing that would work on Roswell Racer.

indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 5th May 2004 16:34
I found a link to it here

http://www.quest3d.com/download/NVIDIA_DDS_PhotoShop_Plugin.zip


fall down seven times, stand up eight
Mussi
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 5th May 2004 22:04
yup, you need to manualy apply the textures in DBP like Froggermon said else it won't work



Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 6th May 2004 04:27
that only applies to objects that dont have inbuilt textures already applied as in the case of a uv wrap.

for primitives and so forth it would apply.


fall down seven times, stand up eight
walaber
21
Years of Service
User Offline
Joined: 22nd Oct 2003
Location: Los Angeles, CA
Posted: 6th May 2004 07:19
yeah I use lots of objects with transparent .png textures. the only thing you have to do is set object transparency obnjum, 1 in the code, to make the alpha channel active.

not sure about the problem in Photoshop though...

Go Go Gadget DBPRO!

Athlon XP 2400+ || DDR-SDRAM 1GB || Nvidia GeForce 4 Ti4200 AGP 8x 128MB
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 6th May 2004 08:19 Edited at: 6th May 2004 08:25
Thanks for all the replys but I still can't get it working! It is all the more annoying that this has never been a problem before.

Here is my object setup code:


Which I believe is what I am being told here but this is the result:


I get the same result with DDS files also - Thanks Indi, great link!

The Photoshop problem is no longer an issue because using 'Save for web' I can save PNG-24 with transparency and I can now save DDS - also with transparency. What I can't do is get that transparency to work with DBP.

What am I doing wrong??!!?!

[Edit] My shadow should look like this:

I had to convert the PNG to JPG for upload but you get the idea.

indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 6th May 2004 09:32
drop me a line via email since my ftp isnt working at the moment and ill send you a working example with the working files.


indi_frost@yahoo.com.au


fall down seven times, stand up eight
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 6th May 2004 12:50
Wow!!!

las6
22
Years of Service
User Offline
Joined: 2nd Sep 2002
Location: Finland
Posted: 6th May 2004 14:07
try remove the ghosting part.
what's mode 4 anyway?


| Keyboard not detected. Press F1 to continue. |
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 6th May 2004 15:13
Thanks indi. However I tried doing as las6 said and turned off the ghosting and it works.



I was using ghosting to give the whole shadow a transparent effect much like the crosshair in this screenshot of the crosshair in 'Cue Balls Eye' view.


But now that I have seen it, I don't think it is necessary to have it ghosted.

@las6 You wanted to know what mode 4 was. What can I say? It is one of the 5(?) modes available for ghosting and it gives an image like the cross hair above. The other modes give different results - I liked this one`.

Thanks everyone for all your help!

Lord Ozzum
21
Years of Service
User Offline
Joined: 29th Oct 2003
Location: Beyond the Realms of Death
Posted: 7th May 2004 01:10
yeah, his email is on his website
but never seen it mentioned before

You forgot to read your fortune cookie. It says you're sh!t out of luck.
Welcome to the Electric Funeral!!!
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 7th May 2004 03:38
yay problem solved, good work


fall down seven times, stand up eight
walaber
21
Years of Service
User Offline
Joined: 22nd Oct 2003
Location: Los Angeles, CA
Posted: 7th May 2004 08:35
very nice screenshots! 

if you use ghosting, you don't want an image with an alpha channel. you usually want a standard greyscale image.

if you use an alpha channel, you shouldn't need to ghost it, the transpareny should do the trick.

Go Go Gadget DBPRO!

Athlon XP 2400+ || DDR-SDRAM 1GB || Nvidia GeForce 4 Ti4200 AGP 8x 128MB
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 7th May 2004 20:29 Edited at: 7th May 2004 20:30
Hi.

I thought I had this one cracked but unfortunately not!

My shadows penumbra has a visible edge to it almost like a halo but I have no Idea why. It should just fade away.



Can anyone please explain why?

Thanks

Mussi
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 7th May 2004 20:46
no, but you could try to set the transperency to 2 instead of 1 and set a ,1 flag behind the load image command to disable mipmapping



Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 7th May 2004 21:19
Thanks Mussi

Sadly it didn't help. I tried both those things but the result is the same.

Mussi
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 7th May 2004 21:46
another suggestion is to leave some space between the edge of your image and the end of the shadow, hope it helps



Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb

Login to post a reply

Server time is: 2024-11-25 05:31:32
Your offset time is: 2024-11-25 05:31:32