Improve screen redraw timings?

Post bug reports and ask for game support here.
Post Reply
User avatar
Shadrach
Posts: 767
Joined: Tue Oct 16, 2001 8:00 am
Location: Oslo, Norway
Contact:

Improve screen redraw timings?

Post by Shadrach »

Not a big deal, but would it be possible to improve the screen drawing when moving around the map?

While the map itself is smooth, the borders around the panels redraw much later, causing visual glitches since it's about half a second or more before they are painted. It just looks untidy.

Might be something special about my system though but I've seen it in other videos so it's not just me.

I made a short video showing the issue.
https://www.youtube.com/watch?v=qf4cKxAct_A
OUW (Order of the Upgrade Wars)
Image
There are folks out there with way too much time on their hands.
- Norm Koger
Splatsch
Posts: 104
Joined: Mon Dec 26, 2016 11:03 pm
Location: France

RE: Improve screen redraw timings?

Post by Splatsch »

ORIGINAL: Shadrach

Not a big deal, but would it be possible to improve the screen drawing when moving around the map?

While the map itself is smooth, the borders around the panels redraw much later, causing visual glitches since it's about half a second or more before they are painted. It just looks untidy.

Might be something special about my system though but I've seen it in other videos so it's not just me.

I made a short video showing the issue.
https://www.youtube.com/watch?v=qf4cKxAct_A
It's not just you ! I'm having the exact same issue, and was typing a new thread about it XD

I noticed too that when I move with mouse on edge of the screen, if there is a tooltip it encounters same kind of issue (which is may be related to my another issue with tooltips turning into blackboxes here ?)
Here I'm scrolling map with my mouse on top of screen to go north, and you can see a huge rectangle around the tooltip who "remember" the terrain while scrolling.

Image
Attachments
scroll2.jpg
scroll2.jpg (220.09 KiB) Viewed 306 times
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Improve screen redraw timings?

Post by ralphtricky »

That's one of those compromises, I'm afraid. 1/2 second is a lot longer than I'm seeing.

Each of the dialogs has a 15 pixel clear border around it to allow for the shadow effect. The code only redraws the dialog when it's 'dirty' otherwise it just copies it over top, and it includes the border.

I can look at whether or not I can not redraw the borders when scrolling the map. It won't make it perfect, but it will help. I can also look at hiding the tooltip while scrolling.

Ralph
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
User avatar
Shadrach
Posts: 767
Joined: Tue Oct 16, 2001 8:00 am
Location: Oslo, Norway
Contact:

RE: Improve screen redraw timings?

Post by Shadrach »

Yeah - I get there's needs to be done some compromises to enable those with low-spec computers to also enjoy the game, absolutely. Maybe I'm spoiled by having a relatively high-end PC (4-5 years old).

I just think it's very ugly and kind of distracting, but it's not a huge deal for me. Possibly if it can be optimized it would help to make the game look even better.

Not sure it needs to be drawn on every time the map scrolls but once it stops scrolling it should update faster than what it does now.
OUW (Order of the Upgrade Wars)
Image
There are folks out there with way too much time on their hands.
- Norm Koger
Splatsch
Posts: 104
Joined: Mon Dec 26, 2016 11:03 pm
Location: France

RE: Improve screen redraw timings?

Post by Splatsch »

ORIGINAL: ralphtricky

That's one of those compromises, I'm afraid. 1/2 second is a lot longer than I'm seeing.

Each of the dialogs has a 15 pixel clear border around it to allow for the shadow effect. The code only redraws the dialog when it's 'dirty' otherwise it just copies it over top, and it includes the border.

I can look at whether or not I can not redraw the borders when scrolling the map. It won't make it perfect, but it will help. I can also look at hiding the tooltip while scrolling.

Ralph
Hiding the tooltip while scrolling could be really nice.

For the borders, it's really not a big issue, simply not aesthetic. If something can be improved, that's nice, if not, it's not a big deal ;)
ORIGINAL: Shadrach
Not sure it needs to be drawn on every time the map scrolls but once it stops scrolling it should update faster than what it does now.
I think I agree : while scrolling it's really not a big deal to not have an always updated boarder, but when you stop moving, it would be better that it updates faster.
Post Reply

Return to “Tech Support”