GZDoom is powerful and amazing and my friend, but it's still Doom under the surface and for some things you need to work with that in mind, otherwise you're basically going to spend all of your time trying to smash square-shaped pegs into round-shaped holes and getting frustrated.

Yes, you're wrong. GZDoom is meant to, and will always be a Doom engine. At some point, a line is drawn.

You want something more, you should consider Unity or Unreal Engine 4.

Kinsie wrote:GZDoom is powerful and amazing and my friend, but it's still Doom under the surface and for some things you need to work with that in mind, otherwise you're basically going to spend all of your time trying to smash square-shaped pegs into round-shaped holes and getting frustrated.

If you thought that Unreal/Unity dont have some silly restrictions, your wrong. I dont touch it at all, but from my experience from working with other "home made" game engine, (serious sam/dawn of war/half life/disciples/HoMM/etc. engine) Im sure that it have some. But thanks to programmers from Epic/Unity it it contains very few of such restrictions. Most famous "free" game engine after all.But that question to Marisa, since it only significant person here which know thing or two about it.

What I meant, the only differences of gzdoom from nowadays game engine that it runs only on one core and that the renderer try to render ALL that player POSSIBLE can see, instead if draw all that player ACTUALLY can see. From all other point of view, it generic nowadays game engine, since it have materials, shaders, Vulkan API (in near future), models, can runs in windows 10, etc. Or even more, since it have JIT compiler.So now gzdoom in position "too far to reach, too low to get up" from the point of game engine, in my opinion.

Excuse me but in here there are people who know more than me about those engines. I'm only specialized in Unreal Engine 1 and 1.5. You give me too much credit.

And I can tell you that UE1 also has trouble with slowness (or even crashing) caused by too many actors (in fact, slowness tends to happen with actor counts in the hundreds, not thousands). The engine is single threaded, runs at a much higher tick rate (a variable one, even) and it has even more stuff to deal with for just one actor than GZDoom.

You should notice two things: FPS going up as I move back, and the groups disappearing in the distance.

I only place the VisLinkers on one side of the map so the difference in FPS could be noticed.

But those are all in view, you may say, well... I've already started using these on a real map where you can't see all these cosmetic actors at once and I've already noticed an improvement on ~20FPS in some areas.

So actors that can not be seen by the player and are within the view frustum are still taking rendering time. Which means GZDoom has no occlusion culling or its implementation isn't that good.

I suppose another way to do this would be to segment your map by hand and turn the actors invisible/visible as the player passes segments, but then that sounds awful similar to what other engines like Doom 3 already do with visportals.

SuaveSteve wrote:So actors that can not be seen by the player and are within the view frustum are still taking rendering time. Which means GZDoom has no occlusion culling or its implementation isn't that good.

The big time waster here isn't processing an actor for rendering but hitting a cache miss for most of them. Even for the most trivial of checks the actor's data needs to be read which most likely involves one cache miss. After that all the rest becomes mostly irrelevant. As long as an actor is linked to a sector that gets rendered it needs to be looked at at least once.