Immutable level sections

These are not rejected - but are not considered highly important right now.

Moderator: Developers

Immutable level sections

Postby Major Cooke » Fri Mar 02, 2018 2:43 pm

Graf Zahl wrote:What may be doable is to designate larger areas as immutable (i.e. you are not allowed to make any changes whatsoever to its geometry) so that they can be excluded from the BSP and rendered as one large batch from static data. But that's not something that's quickly added and it will require mapper intervention. But yes, that could at least partially solve the outside area performance problems.


Yes. Yes, yes, all my yes. This is something so powerfully needed in a few maps I know of with SUPERNatural, and I sure don't want this lost in the Closed section.
User avatar
Major Cooke
Slaughterer of Sewers
 
Joined: 28 Jan 2007
Discord: Major Cooke#0846

Re: Immutable level sections

Postby Graf Zahl » Fri Mar 02, 2018 2:55 pm

And I'm still moving this to "on hold". This is not something 'just' to be added. Otherwise I'd have done this long ago.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Immutable level sections

Postby Major Cooke » Sun Mar 25, 2018 2:02 pm

Only curious... While I know this may affect things like vertex/floor/ceiling heights and slopes, what about color changing? Would that also be prohibited for the immutable sectors?
User avatar
Major Cooke
Slaughterer of Sewers
 
Joined: 28 Jan 2007
Discord: Major Cooke#0846

Re: Immutable level sections

Postby Graf Zahl » Sun Mar 25, 2018 2:23 pm

Sure. Anything that alters the properties would be off limits, otherwise it wouldn't be immutable, would it?
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Immutable level sections

Postby Major Cooke » Sun Mar 25, 2018 2:35 pm

GL lights affecting the surfaces too?
User avatar
Major Cooke
Slaughterer of Sewers
 
Joined: 28 Jan 2007
Discord: Major Cooke#0846

Re: Immutable level sections

Postby Rachael » Sun Mar 25, 2018 2:41 pm

GZDoom has always needed a static lighting system of some sort, we just got away with not having one because for the most part hardware has advanced to the point of not suffering huge performance losses by not having them.

But that being said, even in immutable levels on Unreal/Quake, movable objects that carry lights have always been allowed to illuminate immutable sections on their own. It does not make sense not to allow that.
User avatar
Rachael
QZDoom + Webmaster
 
Joined: 13 Jan 2004

Re: Immutable level sections

Postby Major Cooke » Sun Mar 25, 2018 2:56 pm

dpJudas from Discord wrote:dpJudas - Today at 2:39 PM
btw it IS feasible to update things only when they change
its just that nobody has volunteered to write the function that marks what the playsim just invalidated


Well, I do think this would be of help.
User avatar
Major Cooke
Slaughterer of Sewers
 
Joined: 28 Jan 2007
Discord: Major Cooke#0846

Re: Immutable level sections

Postby Graf Zahl » Sun Mar 25, 2018 3:10 pm

dpJudas from Discord wrote:dpJudas - Today at 2:39 PM
btw it IS feasible to update things only when they change
its just that nobody has volunteered to write the function that marks what the playsim just invalidated


Some may be easy, others are not. It definitely gets messy if vertices are getting moved around.
The main issue here is not the marking but setting the whole thing up so that it actually results in a performance gain - and that is far from trivial.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to On Hold Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest