One-sided mirror possible? (impossible)
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.
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.
- 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?
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.
Re: One-sided mirror possible?
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.
- The Zombie Killer
- Posts: 1528
- Joined: Thu Jul 14, 2011 12:06 am
- Location: Gold Coast, Queensland, Australia
Re: One-sided mirror possible?
Could you technically fake it using camera textures?
Re: One-sided mirror possible?
Well that wouldn't even make any sense. Mirror projection is based on the point of perception. A camera would be a static point.
- Arctangent
- Posts: 1235
- Joined: Thu Nov 06, 2014 1:53 pm
- Contact:
Re: One-sided mirror possible?
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.
... 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.
- The Zombie Killer
- Posts: 1528
- Joined: Thu Jul 14, 2011 12:06 am
- Location: Gold Coast, Queensland, Australia
Re: One-sided mirror possible?
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 there is multiplayer compatibility.
Re: One-sided mirror possible?
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.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: One-sided mirror possible?
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.)