3D floor abuse...

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

User avatar
Lexus Alyus
Posts: 95
Joined: Mon Aug 29, 2005 16:17
Location: Nottingham, UK
Contact:

3D floor abuse...

Post by Lexus Alyus »

I hear about 3D floors in GZdoom... so, I go and make some crazy level with OTT usage of 3D floors :D... but I descover that its quite laggy... this is no fun because I wanna create stupidly complex structures... but it slows things down :(.

Any chance of optimising the 3D floor code?

Heres my crazy abuse of 3D floors. I've noticed that the lighting doesn't work... the areas below the 3D floors should be darker (well, the same light of the control sectors) but they remain at the sectors main light level... what gives?

:twisted:
Attachments
lacrazy.zip
Stupid abuse of 3D floors :D
(13.66 KiB) Downloaded 376 times
LK873
Posts: 29
Joined: Tue Aug 30, 2005 23:57
Location: Ontario, Canada

Post by LK873 »

What lag? I don't have this lag you speak of ;)
AFADoomer
Posts: 43
Joined: Fri Sep 02, 2005 3:23

Post by AFADoomer »

Mine doesn't lag too badly... I'm not exactly getting huge FPS anyway, though.

Interesting bug I just noticed... Try jumping off of a lift right after you hit the switch, and then stand under it while it comes back down...
LK873
Posts: 29
Joined: Tue Aug 30, 2005 23:57
Location: Ontario, Canada

Post by LK873 »

HAHA that needs to be fixed o_O
Phoenix
Posts: 30
Joined: Wed Aug 31, 2005 8:17

Post by Phoenix »

i'm not getting any lag myself. and holy crap, lexus, that is one cool-ass piece of architecture!
Nuxius
Posts: 106
Joined: Fri Sep 02, 2005 9:15
Location: Texas

Post by Nuxius »

Interesting bug I just noticed... Try jumping off of a lift right after you hit the switch, and then stand under it while it comes back down...
<Keanu_Reeves>Whoa.</Keanu_Reeves>
Planky
Posts: 25
Joined: Sun Sep 04, 2005 8:41

Post by Planky »

Have you been able to test it in Legacy (please don't flame me for asking)? The reason being is I am trying to find out whether GZDooms' 3d floor code implementation is more efficient (ignoring slopes for now).

I would test it myself, but Im at work.
User avatar
Hobbs
Posts: 61
Joined: Sun Aug 07, 2005 22:15

Post by Hobbs »

Not much lag to speak of, and on one comp, none at all. Just like the GAZILLION DETAILZORZ maps in regular ZDoom, too much 3D floor use will cause lag on the not so powerful comps (thats my guess).
BFeely
Posts: 24
Joined: Wed Aug 31, 2005 1:40

Post by BFeely »

I've got an Athlon 1400 with 512 MB PC133 SDRAM, and it doesn't lag. What do you have for a video card? I have a GeforceFX 5200.
User avatar
BetaSword
Posts: 132
Joined: Thu Sep 01, 2005 0:01

Post by BetaSword »

Woah, that's a helluva lotta 3D floors.

Oh, and I did a vid_fps 1 test, and it said I was getting somewhere around 273 FPS. And there was definitely no visible slowdown, either. Quite smooth, actually. Here's a shot:

[spoiler]Image[/spoiler]
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

No lag. I will have to check for the lighting and the screwed up collision check though.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

No lag for me either. :D

Cool architecture. 8-)
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Regarding the collision problem, that one is simple. The WAD starts movement of floor and ceiling as different thinkers. It's too bad that that doesn't work but I really can't do anything about it. The ceiling thinker never gets notified that the floor hit the player.

Instead use FloorAndCeiling_Lower/RaiseByValue. That special moves both planes simultaneously and also stops moving both planes if one is blocked.
User avatar
Lexus Alyus
Posts: 95
Joined: Mon Aug 29, 2005 16:17
Location: Nottingham, UK
Contact:

Post by Lexus Alyus »

Ah, cool, thanks for that tip :).

As for the lag, could it be that the ATI Radeon 9200 is a pile of shit? It runs okay and it reports the FPS as a decent 50... but its jerky... kinda like every other fram is being skipped... it can't be anything else cus I have a AMD 64 2800+, 1gb of ram and... urm... a computer that has blue LEDS :D.

I might be tempted to finish this off :). Concerning the lights: the lights of the control sectors aren't being transfered below the 3D floors... am I doing something wrong or is this a bug?

:Edit: Graf, that special you spoke of exhibits the same behavour as before... or are you intending on fixing this for later versions?

:Edit 2: Ignore me about the light thing, I'm being stupid :D. It appears that I'm not used to a GL renderers brightness :D. Performance has been greatly improved BTW... I bumped the res from 1280x1024 to 800x600 :D... maybe the hi-res was the problem :D (how stupid am I being? :D)

:twisted:
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

I think I fixed the elevator types. They simply weren't written with inverted plane use in mind and as a result missed the movement failure.
Locked

Return to “GZDoom”