Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Ayumi), 1,384 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Glass/Transparent? #172614
12/13/07 04:30
12/13/07 04:30
Joined: Nov 2007
Posts: 24
W
Wulf Offline OP
Newbie
Wulf  Offline OP
Newbie
W

Joined: Nov 2007
Posts: 24
I am making a street lamp(historical kind) with MED and was wondering how to make the glass transparent?

I'm using A7 med.

I'll post some picy's after i find out how to get that fixed =_).

Re: Glass/Transparent? [Re: Wulf] #172615
12/13/07 05:34
12/13/07 05:34
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Quote:

I am making a street lamp(historical kind) with MED and was wondering how to make the glass transparent?





I'm not sure but from what i've seen and read about transparency
is that it has something to do with alpha channel.
Also maybe the my.alpha I think it is in your script.
The glass itself has to be a seperate entity as well.

Do a search in the forums I'm sure you'll find something usefull
to your needs.

Last edited by Nidhogg; 12/13/07 05:35.

Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus
Re: Glass/Transparent? [Re: Nidhogg] #172616
12/13/07 09:15
12/13/07 09:15
Joined: Aug 2006
Posts: 652
Netherlands
bstudio Offline
User
bstudio  Offline
User

Joined: Aug 2006
Posts: 652
Netherlands
Just make sure that the part of the glass in your texture has a transparent alpha channel

Info about the alpha channel:
http://www.coniserver.net/wiki/index.php/The_Alpha_Channel

Last edited by bstudio; 12/13/07 09:17.

BASIC programmers never die, they GOSUB and don't RETURN.
Re: Glass/Transparent? [Re: bstudio] #172617
12/13/07 19:35
12/13/07 19:35
Joined: Nov 2007
Posts: 24
W
Wulf Offline OP
Newbie
Wulf  Offline OP
Newbie
W

Joined: Nov 2007
Posts: 24
I followed the directions(tested one with Gimp and one with Adobe PS), but when I go to Alapha Texture File and try to load it, it says wrong texture format(and they're in tga).


Any ideas?

Re: Glass/Transparent? [Re: Wulf] #172618
12/13/07 20:40
12/13/07 20:40
Joined: Jun 2005
Posts: 4,875
broozar Offline
Expert
broozar  Offline
Expert

Joined: Jun 2005
Posts: 4,875
don't use tga texture compression. it's a saving option.

Re: Glass/Transparent? [Re: broozar] #172619
12/13/07 20:51
12/13/07 20:51
Joined: Nov 2007
Posts: 24
W
Wulf Offline OP
Newbie
Wulf  Offline OP
Newbie
W

Joined: Nov 2007
Posts: 24
i'm confused?


Transparent=tga?



if i just load it up like a normal skin image, no change.

And if it i don't make it tga it wont be transparent.

what to do?

Re: Glass/Transparent? [Re: Wulf] #172620
12/13/07 20:55
12/13/07 20:55
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline
Serious User
D3D  Offline
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
There is a Alpha Channel tutorial on the wiki.


smile
Re: Glass/Transparent? [Re: D3D] #172621
12/13/07 21:14
12/13/07 21:14
Joined: Nov 2007
Posts: 24
W
Wulf Offline OP
Newbie
Wulf  Offline OP
Newbie
W

Joined: Nov 2007
Posts: 24
Yeah thats the one i looked at. I followed it step by step, and used two different programs.


Created image, saved as TGA.


The question is though where/what do i do to apply this to the selected area.

Does the transparency not show up in med?

Re: Glass/Transparent? [Re: Wulf] #172622
12/13/07 21:45
12/13/07 21:45
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
Just try to run it and it should be fine. MED+skin-editor+WED does not show transparency.

Re: Glass/Transparent? [Re: Scorpion] #172623
12/18/07 17:43
12/18/07 17:43
Joined: Nov 2007
Posts: 24
W
Wulf Offline OP
Newbie
Wulf  Offline OP
Newbie
W

Joined: Nov 2007
Posts: 24
WOOT my lamp's glass is finally transparent ^^.

I'll post some picy's later.


Thanks much for help =_). Turns out I had it set right I just didn't realize you had to build/run the game to actually see the transparency .


Moderated by  HeelX, rvL_eXile 

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