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:

One-sided mirror possible? (impossible)

Post by Tormentor667 »

I am aware of the line special for mirrored lines but is there a way to make the line only mirror one side and not the other?
Last edited by Tormentor667 on Thu May 07, 2015 6:47 am, edited 1 time in total.
User avatar
Caligari87
Admin
Posts: 6240
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: One-sided mirror possible?

Post by Caligari87 »

Not sure if it's possible with a double-sided line, although I might be wrong. I thought mirrors had to be one-sided anyway.
Otherwise, I guess you could just do another non-mirrored line on the other side with the correct midtexture, placed very close.

8-)
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 »

That's the problem actually :) It needs to be mirroring from one side and see-through from the other ;)
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 mechanics of mirrors pretty much prohibit such a scenario. Remember: Void space behind!
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 »

Sad actually, as this feature would make up for some pretty interesting workarounds and hacks.
User avatar
Kappes Buur
 
 
Posts: 4197
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: One-sided mirror possible?

Post by Kappes Buur »

Is the void space absolutely required for GZDoom?
I don't seem to have a problem with a short space behind the mirror.

Example map
Spoiler:
as seen with GZDOOM
Spoiler:
as seen with ZDOOM
Spoiler:
User avatar
Caligari87
Admin
Posts: 6240
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: One-sided mirror possible?

Post by Caligari87 »

It doesn't require the full mirror void space like ZDoom does, but it does require a void.

8-)
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 »

Precisely. The hardware renderer has better means to clip the geometry but it's not completely immune from problems here. The biggest problem is that sprites get collected per sector so the very least that should be done is to ensure that no sector can be in front and behind the mirror line.
User avatar
Kappes Buur
 
 
Posts: 4197
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: One-sided mirror possible?

Post by Kappes Buur »

So, with GZDoom something like this is possible

Example map
Spoiler:
as seen in GZDOOM
Spoiler:
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 »

Don't count on that setup being completely glitch free.
User avatar
Leonard2
Posts: 313
Joined: Tue Aug 14, 2012 6:10 pm

Re: One-sided mirror possible?

Post by Leonard2 »

Kappes Buur wrote:as seen in GZDOOM
Spoiler:
Could you share the map please?
User avatar
Kappes Buur
 
 
Posts: 4197
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: One-sided mirror possible?

Post by Kappes Buur »

Leonard2 wrote:Could you share the map please?
Attachments
mirror102.wad
map for GZDoom with 3 mirror walls
(9.93 KiB) Downloaded 131 times
User avatar
Raziel236
Posts: 313
Joined: Tue Jul 02, 2013 7:26 pm
Contact:

Re: One-sided mirror possible?

Post by Raziel236 »

got a mirror of that? XD
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 »

So, why isn't it possible then to only make a line one-sided mirroring?
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 »

Because you shouldn't be able to see the other side of a mirror in the first place. Even in GZDoom, the lack of void space is not actually considered safe for rendering reflections (even if it is more lax on how much space is actually required, due to it being a view portal, rather than a BSP redraw), and all sorts of weird sorting issues can manifest due to the lack of occlusion. Plane reflections are more easily broken, for example, in situations where if the surrounding area below isn't properly cleared.
Locked

Return to “Editing (Archive)”