window?
Moderators: MR.D, Moderators
Re: window?
Of course you can make a window.
Making it semi-transparent is the hard part.
Currently in the texture layers, we only have support for on/off Aplha-Test transparency, which means a section that is set to be transparent is either fully invisible, or completely solid.
There is supposed to be a workaround for doing transparency like what glass would need, but its done with LUA and can be a bit tricky to make it work properly.
Making it semi-transparent is the hard part.
Currently in the texture layers, we only have support for on/off Aplha-Test transparency, which means a section that is set to be transparent is either fully invisible, or completely solid.
There is supposed to be a workaround for doing transparency like what glass would need, but its done with LUA and can be a bit tricky to make it work properly.
- Pressure Line
- Posts: 2283
- Joined: 21 May 2007, 02:09
Re: window?
Yes, it is. but i *can* do it. just not in an easy-to-use manner.MR.D wrote:There is supposed to be a workaround for doing transparency like what glass would need, but its done with LUA and can be a bit tricky to make it work properly.
Re: window?
thats what i meanMR.D wrote:
Making it semi-transparent is the hard part.

Re: window?
The problem with translucenct textures is the order in which polygons are rendered in. They need to be sorted depending on the angle you look at stuff which costs a lot of computing power.

As you can see the glass is transparent and there are red circuits behind it, but it stops half way (this depends on the normal of the face you are looking through I think). That's how it is.

As you can see the glass is transparent and there are red circuits behind it, but it stops half way (this depends on the normal of the face you are looking through I think). That's how it is.
Re: window?
hmmm it doesnt has to be a real window, if it looks like a window, im making a car want to be able to see the driver
Re: window?
viewtopic.php?p=268377#p268377
Re: window?
Zsinj's link to that picture of the SWS transport is 404'd..
-
- Posts: 1176
- Joined: 23 Aug 2007, 19:46
Re: window?
Was is that one?
http://www.moddb.com/games/5816/star-wa ... r#imagebox
http://www.moddb.com/games/5816/star-wa ... r#imagebox
Re: window?
yeh, thats what i mean, how did they do that 

Re: window?

That's what the primary/secondary skins look like for the windshield on that model. For the exact process, you'll have to wait on an answer from Zsinj. It's not transparent at all, it's an entirely solid piece.
-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59
Re: window?
Honestly I just darkened the area where I knew you'd most likely be seeing *something* behind, and then made it highly reflective. As I said in the other thread, it works in some angles, and in angles where it doesn't, you just assume it's part of a natural variation on the glass.
My suggestion is to just draw a fuzzy outline of a person (very fuzzy, use a high gaussian blur, on highly reflective glass. It's not going to work in all situations; you're probably best off going for either 100% transparent glass, or completely opaque but reflective glass.
My suggestion is to just draw a fuzzy outline of a person (very fuzzy, use a high gaussian blur, on highly reflective glass. It's not going to work in all situations; you're probably best off going for either 100% transparent glass, or completely opaque but reflective glass.