"SetLineMirror" Translucency Addition

Moderator: Graf Zahl

User avatar
Tormentor667
Stronghold Team
Posts: 3555
Joined: Sun Nov 13, 2005 23:15
Location: Germany

"SetLineMirror" Translucency Addition

Post by Tormentor667 »

This would be for OpenGL mode only I think but I love the following idea: Giving the SetLineMirror special for lines an additional parameter that indicates the "mirroring strength" or the "opacity" of the mirror wall. For example 0 makes the wall mirror it's surrounding area fully, and with 255 you will only see the texture on the mirror, not the mirror effect itself. It's something between 120 and 130, you will see the texture as well as a mirroring effect, 50% each visible!
If the wall with the mirror effect applied is two-sided and has no middle texture (also with 120 - 130), you can see through the wall but also the mirrored stuff :) That would be awesome!
User avatar
Shinjanji
Posts: 198
Joined: Sun Nov 06, 2005 16:45
Location: Pennsylvania, USA

Post by Shinjanji »

The first part can easily be faked with a line bearing a translucent texture right in front of the mirror. As for the second bit, I think that the way mirrors are done makes that kind of hard, if not impossible right now.
User avatar
Tormentor667
Stronghold Team
Posts: 3555
Joined: Sun Nov 13, 2005 23:15
Location: Germany

Post by Tormentor667 »

Afaik, the mirrors are done by rendering the same sector in the mirror again, just "mirrored", wouldnt it be possible to just draw it with 50% opacity or something like this to the screen?
User avatar
BlazingPhoenix
Posts: 488
Joined: Sun Aug 28, 2005 5:11

Post by BlazingPhoenix »

It's a mirror Torm, I don't think it's possible to see through a mirror =\.

But then again, this is a pretty good suggestion!
User avatar
Enjay
Developer
Developer
Posts: 4753
Joined: Tue Aug 30, 2005 23:19
Location: Scotland

Post by Enjay »

Silver Sonic wrote:It's a mirror Torm, I don't think it's possible to see through a mirror =\
You've never seen your own reflection in a pane of glass? ;)
User avatar
Phobus
Posts: 227
Joined: Sat Sep 03, 2005 11:48
Location: Orpington, Kent, England

Post by Phobus »

No, but there was this bloke who reminded me of somebody I knew staring back. I find it wierd because if I look out at night, with my lights on, he's there, floating in the air. I think I'm being haunted.

:mrgreen:
User avatar
Enjay
Developer
Developer
Posts: 4753
Joined: Tue Aug 30, 2005 23:19
Location: Scotland

Post by Enjay »

:lol:
User avatar
TheDarkArchon
Posts: 1000
Joined: Wed Jul 06, 2005 11:58
Location: What's that fucking smell

Post by TheDarkArchon »

Silver Sonic wrote:It's a mirror Torm, I don't think it's possible to see through a mirror =\.

But then again, this is a pretty good suggestion!
I think he's talking along the lines of the reflective floors.
User avatar
Enjay
Developer
Developer
Posts: 4753
Joined: Tue Aug 30, 2005 23:19
Location: Scotland

Post by Enjay »

TheDarkArchon wrote:I think he's talking along the lines of the reflective floors.
Yeah, I think he is, but he is also talking about something that would work on a 2S line (like glass) I think. I suspect 1 may be possible but 2 may be less easy given the problems that geometry behind mirrors has caused in the past, even though that is now much improved.
User avatar
chopkinsca
Posts: 183
Joined: Thu Dec 29, 2005 8:09

Post by chopkinsca »

The first one, while easily being able to be done with extra lines, would be easier if it was a single line. If floors can have a reflectivity, I don't see why walls couldn't.

The second would have to be openGL only if it was implemented at all. As far as I can tell, only software mode needs an equal amount of space behind the mirror.
User avatar
Tormentor667
Stronghold Team
Posts: 3555
Joined: Sun Nov 13, 2005 23:15
Location: Germany

Post by Tormentor667 »

chopkinsca wrote: The second would have to be openGL only if it was implemented at all. As far as I can tell, only software mode needs an equal amount of space behind the mirror.
Yeah, I won't worry if this is only possible in GL :)
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

Why should it? There is nothing to prevent this from being done in software mode, except that Randy has to add it.
User avatar
Tormentor667
Stronghold Team
Posts: 3555
Joined: Sun Nov 13, 2005 23:15
Location: Germany

Post by Tormentor667 »

So any news on that?

Return to “Closed Feature Suggestions”