Jump to content

Performance Testing


Josh
 Share

Recommended Posts

13 minutes ago, Josh said:

Are some of the icons not appearing on top of those transparent backgrounds?

Yep. This is how it  looked before:

image.thumb.png.6dda97ab0b9bd276607eb17342236146.png

13 minutes ago, Josh said:

What else should I be testing? Just the game in general, or something more specific?

I guess just in general. At most heavy map where fps drops almost by half it happens if few dynamic lights on screen. On RTX 2070 is low on any map tho.

900 here:

image.thumb.png.3c1a9380203ac60a1a431601456b5d89.png

~500 here:

image.thumb.png.5ecfc605bb371c3adf5b44685223537d.png

This map loads with New Game button.

Make sure you have latest version from "master" branch. Not sure why localization was not working for you tho. It should work fine if you have "English.local" at "Quake Tactics\Resources\Localization" and .exe in Quake Tactics folder

  • Thanks 1
Link to comment
Share on other sites

btw 2500 fps on TestLevel now and 2200 on same map on prev build before z-sorting update. 1000 fps on Easy map which basically is just bigger. Also main menu have only ~1000 fps.

Take in mind maps are made with many cube brushes for every tile. Maybe it's not optimal but i started a project before Ultra got an Editor :D

image.thumb.png.b7a5725ce89f82d33c64c260c13a2346.png

Link to comment
Share on other sites

Added HUD toggle to see if visible GUI affects performance - barely any difference (F11 key be default).

Did test with RTX 2070:

150-160 in menu and at Easy map on both builds. 700 fps at TestLevel with disabled z-sorting and 650 on prev build with enabled z-sorting

  • Thanks 1
Link to comment
Share on other sites

I am going to comment out the z-sorting modification in the release of 0.9.7 that goes out on the stable build, and then we can go back to testing it. I am pretty sure I can make it smart enough to detect when there is a solid background, but I would rather have it working correctly in the stable build and then experiment with it some more on the beta branch.

  • Thanks 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

  • Josh changed the title to Performance Testing

I am testing your latest build on a GEForce 1080 at 1920x1080 resolution. Framerate is about 240.

Is there a simple way to disable the fog boxes?

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

8 minutes ago, Josh said:

Is there a simple way to disable the fog boxes?

Replace AirTile.cpp content with:

#include "UltraEngine.h"
#include "AirTile.h"
#include "GroundTile.h"
#include "../../Game/GameEditor.h"
#include "../../Game/Game.h"

AirTile::AirTile() {
	name = TILE_AIR;
	walkable = false;
}

void AirTile::Start() {
	Tile::Start();
	auto entity = GetEntity();
	if (!entity) {
		return;
	}
	entity->AddTag(TILE_AIR);
	return;
}

void AirTile::initPosition() {
	tileHeight = TILE_LENGTH;
	Tile::initPosition();
}

void AirTile::updateVisibility(shared_ptr<Unit> movedUnit) {
	return;
}

bool AirTile::isVisible() {
	return true;// fogBox->GetHidden();
}

void AirTile::Update() {

}

shared_ptr<Component> AirTile::Copy() {
	return std::make_shared<AirTile>(*this);
}

Almost no difference for performance for me

Link to comment
Share on other sites

Okay, I am just hitting "New Game" and leaving the camera in the starting area:

  • With fog: 240
  • Without fog: 253

Not a huge difference, so I will look at some other things and see what has the biggest impact.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...