[done]Reflective floors or ceilings?

Moderator: Graf Zahl

User avatar
Apothem
Posts: 113
Joined: Fri Jul 08, 2005 14:19

[done]Reflective floors or ceilings?

Post by Apothem »

Worth any thought? I think it would be a cool effect to add to the 3d floors.
User avatar
Enjay
Developer
Developer
Posts: 4753
Joined: Tue Aug 30, 2005 23:19
Location: Scotland

Post by Enjay »

I'm sure the olde ZdoomGL by Kokak could do this (IIRC the first level of Zanzan did it). It did look pretty.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

Shouldn't really be harder than stacked sectors. The way to implement it is almost the same.
Phoenix
Posts: 30
Joined: Wed Aug 31, 2005 8:17

Post by Phoenix »

i trust it would work better than stacked sectors currently do in zdoom?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

Stacked sectors are far more stable in GZDoom than in ZDoom. The hardware renderer isn't bothered by the clipping issues and as a result there's far less HOM (although it's still easy to create some.)
User avatar
BetaSword
Posts: 132
Joined: Thu Sep 01, 2005 0:01

Post by BetaSword »

Ooh, nice. Reflective floors are always spiffy for various things, like puddles fo water and stuff :)
User avatar
Cutmanmike
Posts: 482
Joined: Sat Sep 03, 2005 23:34

Post by Cutmanmike »

Floor mirrors too? Also while we're here, would a new mirror system be possible in GL mode? It's a bit of a pain with having to have a empty space behind each line.
User avatar
Enjay
Developer
Developer
Posts: 4753
Joined: Tue Aug 30, 2005 23:19
Location: Scotland

Post by Enjay »

Cutmanmike wrote:It's a bit of a pain with having to have a empty space behind each line.
Yeah, there have been plenty of times I've wanted to place a mirror somewhere but without rearranging the level I can't get enough space behind the line to allow it.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

GZDoom's mirrors are more stable than ZDoom's because I am performing one additional clipping step that discards all geometry behind the mirror. That means that in many (not all!) cases you don't need any empty space - although having it is still preferred.

Getting rid of this limitation completely isn't really possible. There are some restrictions imposed by the way a level is handled that can't simply be ignored.
User avatar
justin023
Posts: 165
Joined: Wed Sep 21, 2005 10:51
Location: Illinois

Post by justin023 »

This would be cool, i am already thinking of things I could do with it.
Graf Zahl wrote:Stacked sectors are far more stable in GZDoom than in ZDoom.
I can actually walk around inside the upper area without crashing the game!!! I definetly have to make use of this.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

Image


It isn't quite done yet though. (But for technical reasons it won't work for slopes and 3D-floors.)
User avatar
Enjay
Developer
Developer
Posts: 4753
Joined: Tue Aug 30, 2005 23:19
Location: Scotland

Post by Enjay »

Ohh prettyness. Is the level of reflectiveness customisable?

/expects a trademarked Graf "of course" ;)
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

Of course. Anything else wouldn't much sense, would it?
User avatar
Enjay
Developer
Developer
Posts: 4753
Joined: Tue Aug 30, 2005 23:19
Location: Scotland

Post by Enjay »

Good news.

I forsee mods with nice shiny marble floors (etc etc). :)
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

But you have to be careful. For each plane the entire visible geometry has to be rendered again. If you build some long stairs that can easily create slowdowns.

Return to “Closed Feature Suggestions”