Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (dr_panther, Ayumi, 7th_zorro), 877 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 5 1 2 3 4 5
Re: image format [Re: MMike] #229349
09/26/08 17:32
09/26/08 17:32
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
All photoshop effects will still be there when you save the image to TGA or DDS.

I don't think that we need a PSD Viewer in Gamestudio.

Re: image format [Re: jcl] #229403
09/27/08 08:12
09/27/08 08:12
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
not quite real..

try to add a circle and then a red glow layer effect, then save that image as TGA with alpha map, and a red glow will mix with the background (usually turned white when exporting the TGA) and the final effect wont be the red but a mix with red and white. same for shadows.

I can explain better if you want:


on the picture above, i created some circles, one with a black color for the background color, and then transparent and then red, and added to the circles the same glow effects.

after exporting to TGA, and importing the picture to game studio, this is the result:


As you can see the A is almost what we want because we used blackcolor , but B is the perfect one, because we used a red color background, that matches the glow color we used, and the color is just there, and the alpha map do the glow transparency effect.

the other methods^(using tranparent layer) and using blacklayer turned to be imperfect.
Note that the transparent layer, mixed the red glow with some white as you can see on the picture! thats why a psd reader would be useful, but you guys keep saying no. its ok, just more work on photoshop and everythime we want to use layer we need to paint the background acoording the the color we want to glow -.-


Last edited by MMike; 09/27/08 08:22.
Re: image format [Re: MMike] #229404
09/27/08 08:48
09/27/08 08:48
Joined: Jul 2006
Posts: 503
Australia
A
adoado Offline

User
adoado  Offline

User
A

Joined: Jul 2006
Posts: 503
Australia
I think its a little over-kill...

In the psd format is ALL the information required to change the image and keep all the layering, blending, etc.. This is not necessary when only viewing the image, such as in a game..

Simply rasterising (I think thats the right work :P) it to be 'pure pixels' (such as a targa or bitmap) is much more efficient. It may turn out that all the overhead will outweigh the benefits..

Thanks,
Adrian


Visit our development blog: http://yellloh.com
Re: image format [Re: adoado] #229405
09/27/08 09:13
09/27/08 09:13
Joined: Sep 2008
Posts: 29
L
log2 Offline
Newbie
log2  Offline
Newbie
L

Joined: Sep 2008
Posts: 29
Also, it's not a good idea because it would still render the same (aka with the white background) also, psd is specific to Photoshop, where photoshop, even though it is a primary image editor, not everyone uses it, and even though most major paint programs do support a psd exporter, not all do, so not everyone would be able to use that feature, and not everyone would want to buy a $200+ paint program, depending on which one you buy, just to be able to get the same effect, so it's not worth anyones time to implement a format that wouldn't be used properly

Plus PSD would use a layered format which wouldn't be read properly by a renderer anyway, it would replace the blank (transparent layer) with 255, 255, 255 aka White

Re: image format [Re: log2] #229407
09/27/08 10:16
09/27/08 10:16
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
oh good answer.
thanks.

Well i thought there could mean alot of advantadges, but now if you say transparent would turn white that would be useless.

Last edited by MMike; 09/27/08 10:38.
Re: image format [Re: MMike] #229422
09/27/08 12:22
09/27/08 12:22
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
Originally Posted By: MMike
Its not because of the alpha channel of course!! im not stupid, its because of the glow effects, bevel effects and everything that gives the layers effects to read them... same for shadow effect,it would simplify alot some effects, and im saying this because im working and i know what work you have to wast just to use glow effects with alpha channel.


Perhaps are you using effects that blend, mix with or use the background image beneath?

That won't work exactly the same within 3DGS as the effects won't work there. Setting a layer to 'multiply' for example, won't have the Photoshop multiply effect within 3DGS.

A small hint though; make a screenshot of your project and do all your effect testing there. Make sure none of the lower layers do any kind of multiplying or other effects using the layer beneath it (your screenshot). Then you should have no problems. Also, yes.. transparent can turn into white,

Cheers


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Re: image format [Re: PHeMoX] #229426
09/27/08 12:59
09/27/08 12:59
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
well i have a rectangle box and i add blend layer effect (shadow) the layer benith is transparent, so the TGA should go well but that wont happen.. i have to later paint the layer to the shadow color.. because transparent will turn white.

Re: image format [Re: MMike] #229429
09/27/08 13:59
09/27/08 13:59
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
I don't quite understand your problem. I do not need to paint the background the color of the glow at all, no offense but I'm quite sure you're doing something wrong.

The layer beneath should never be a layer that blends with the transparent background with some kind of effect, as that won't have any effect inside 3DGS. TGAs save transparency and also color, but not if it should multiply with everything beneath it and so on.

Can you describe step by step what you're doing? Perhaps I can solve your problem. smile

Quote:
because transparent will turn white.


As far as I know this happens with 24bit TGAs only.

Cheers

Last edited by PHeMoX; 09/27/08 14:05.

PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Re: image format [Re: PHeMoX] #229469
09/27/08 19:39
09/27/08 19:39
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
He _IS_ doing something wrong. I never had any of those problems with TGA files in the past 8 years.


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: image format [Re: Michael_Schwarz] #229492
09/27/08 22:28
09/27/08 22:28
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
Yeah, same here. No problems at all.

I know what he's doing wrong, it's what usually happens when a. you make a 24bit TGA instead of a 32bit or b. if you don't take care about layer effects which work in photoshop, but not in 3dgs once it becomes a TGA file,

Cheers


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Page 2 of 5 1 2 3 4 5

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1