One-sided mirror possible? (impossible)

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
Tormentor667
Posts: 13556
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Re: One-sided mirror possible?

Post by Tormentor667 »

I still don't understand it why you can't make it one-sided reflecting. All the limitations seem to have something to do with room behind the mirror but nothing actually with looking through it without mirroring from one side.
User avatar
edward850
Posts: 5890
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: One-sided mirror possible?

Post by edward850 »

It's expected to be a 1 sided line. Just how exactly are you expected to see a side that doesn't exist? What you seem to be suggesting implies you're placing mirrors on 2 sided lines, which they must absolutely must not be, as pointed out several times.
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: One-sided mirror possible?

Post by The Zombie Killer »

Could you technically fake it using camera textures?
User avatar
edward850
Posts: 5890
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: One-sided mirror possible?

Post by edward850 »

Well that wouldn't even make any sense. Mirror projection is based on the point of perception. A camera would be a static point.
User avatar
Arctangent
Posts: 1235
Joined: Thu Nov 06, 2014 1:53 pm
Contact:

Re: One-sided mirror possible?

Post by Arctangent »

In other word, yes, but it'd look like some really early FPS trying to fake it without having the available tech to do so.

... which, when you think about it, is exactly what doing that is, but it'd look really out of place in anything that tries to be modern. Heck, it'd probably raise more than a few eyebrows in something intentionally made to be extremely generic 90's FPS.
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: One-sided mirror possible?

Post by The Zombie Killer »

I wonder if you could use an ACS script to reposition the camera based on the player's angle and position to fake it further.
The obvious issue there is multiplayer compatibility.
User avatar
edward850
Posts: 5890
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: One-sided mirror possible?

Post by edward850 »

And the movement bob. And everything inbetween the movements for uncapped framerates, resulting drunk vision. And seeing as I just remembered, it would reintroduce the software rendering limitations in the GL renderer (camera has to exist physically in the vectored opposite of the perceiver relative to the mirror), thus nulling the entire request in the first place, and in fact making things worse.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: One-sided mirror possible?

Post by Graf Zahl »

The Zombie Killer wrote:I wonder if you could use an ACS script to reposition the camera based on the player's angle and position to fake it further.
The obvious issue there is multiplayer compatibility.

The obvious issue is that the engine already does this when rendering the mirror, only that it takes into account all those things Edward mentions.
The problem nobody seems to realize is the stuff that lies between the mirrored camera and the backside of the mirror. While some of that can be clipped away, not everything can (thus recommending some void space to avoid this problem.)
Locked

Return to “Editing (Archive)”