Posted: 2016-10-05, 17:42 Just discovered this project, inquiries about performance
Hi, I am very glad to discover this project after googling around with the intention of starting something similar
I compiled and have been messing around with the engine and it's impressive, but the performance is bothering me a lot...
It's very very jerky on my computer (top end gaming PC), I can notice lots of stuttering, starting in the main menu when you hover the icons. The map screen jerks a lot when moving heroes around (my mouse cursor even gets stuck in place while a hero is moving around). It's playable, but it's very bothersome.
Is this a know problem or am I doing something wrong? None of this happens in vanilla HoMM, even in very old computers. I have tried all the different renderers available without any change whatsoever. I am yet to try running it in a different OS than Windows, though.
Just tested it on my Linux Mint install, and it runs perfectly smooth, without a single fps drop! Awesome.
But what could be causing that lag in Windows? It's a clean install of Windows 10 (is it supported at all?). I'm at loss here... I already tried messing with all the configurations available
You can see in the screenshot I posted, that just by hovering the main menu icons it eats up a whole core from my quadcore CPU
There is performance dropdown in some cases for me (try to enter town screen, then "shake mouse" to switch between different creature slots at the bottom part of town screen). This causes FPS drop, that is noticeable when looking at animated buildings.
Anyway, VCMI rendering should be replaced at some point, as it uses old SDL 1.2.
Technically it uses SDL 2, but I guess it uses elements from "SDL1", which are included there too, SDL 2 has hardware acceleration when all elements are SDL_Texture, the parts of VCMI code I saw use "legacy" SDL_Surface
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum