window?

window?

Share and discuss visual creations and creation practices like texturing, modelling and musing on the meaning of life.

Moderators: MR.D, Moderators

Post Reply
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

window?

Post by Hoi »

is it possible to make a window?
User avatar
MR.D
Posts: 1527
Joined: 06 Aug 2005, 13:15

Re: window?

Post by MR.D »

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.
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Re: window?

Post by Pressure Line »

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.
Yes, it is. but i *can* do it. just not in an easy-to-use manner.
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: window?

Post by Hoi »

MR.D wrote:
Making it semi-transparent is the hard part.
thats what i mean :-)
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: window?

Post by rattle »

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.

Image
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.
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: window?

Post by Hoi »

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
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: window?

Post by rattle »

viewtopic.php?p=268377#p268377
User avatar
MR.D
Posts: 1527
Joined: 06 Aug 2005, 13:15

Re: window?

Post by MR.D »

Zsinj's link to that picture of the SWS transport is 404'd..
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Re: window?

Post by [Krogoth86] »

User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: window?

Post by smoth »

Image
hur hur I can use view image.
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: window?

Post by Hoi »

yeh, thats what i mean, how did they do that :?:
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Re: window?

Post by Gnomre »

Image

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.
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Re: window?

Post by Warlord Zsinj »

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.
Post Reply

Return to “Art & Modelling”