Severed bunny head
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > Broken statusbar graphics
 
Author
All times are GMT. The time now is 04:28. Post New Thread    Post A Reply
entryway
Forum Staple


Posts: 2709
Registered: 01-04


Eternity fucks statusbar graphics after <Esc> or <Tab> or ...

Doom2.wad
http://prboom-plus.sf.net/eternity_01.gif

Epic2.wad
http://prboom-plus.sf.net/eternity_02.gif

Old Post 11-05-10 12:23 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 5763
Registered: 08-00


What the hell? o_O

Here's why I'm frustrated with the whole caching scheme >_>

Old Post 11-05-10 14:43 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
RjY
anARCHy


Posts: 930
Registered: 05-02



Quasar said:
What the hell? o_O

Here's why I'm frustrated with the whole caching scheme >_>

You mean the stuff that tries to only redraw the parts of the status bar that need redrawing?

When I redid the status bar and HUD code in rboom I removed difference drawing entirely. I felt a bit bad about taking a sledgehammer to a surgery but that was four years ago and since then I have not noticed any performance loss that was enough to care about.

In short I think on modern systems you can just redraw the status bar every frame and forget about it.

Old Post 11-05-10 15:24 #
RjY is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 5763
Registered: 08-00



RjY said:
You mean the stuff that tries to only redraw the parts of the status bar that need redrawing?

When I redid the status bar and HUD code in rboom I removed difference drawing entirely. I felt a bit bad about taking a sledgehammer to a surgery but that was four years ago and since then I have not noticed any performance loss that was enough to care about.

In short I think on modern systems you can just redraw the status bar every frame and forget about it.


Yeah, EE already does this in Heretic and doesn't seem to suffer. Oh no, I might lose ~5 ms of time :P It's probably at least partially made up for by simplification of the logic, memory savings by not having to allocate an entire extra screen buffer, and better cache performance by not having to copy this junk between a bunch of buffers.

Old Post 11-05-10 15:58 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Csonicgo


Posts: 4403
Registered: 03-04


5 ms is a big hit on high resolutions. I say make it an option we can toggle.

Old Post 11-11-10 22:29 #
Csonicgo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 5763
Registered: 08-00



Csonicgo said:
5 ms is a big hit on high resolutions. I say make it an option we can toggle.

The likelihood of that happening is not just zero, I'd say it's somewhere on the imaginary axis.

Old Post 11-11-10 23:17 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Csonicgo


Posts: 4403
Registered: 03-04


Well I don't play with the statusbar anymore anyway.

Old Post 11-12-10 02:40 #
Csonicgo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Mechadon
Forum Staple


Posts: 2135
Registered: 12-06


Oh, I'm glad I noticed this thread. I've been having an issue with the statusbar as well. It's the one I'm currently using for Vela Pax, though the only thing that separates it from the original (besides the new graphics) is that it uses some transparent patches for the empty weapon slots. Here, some shots will probably show it off better:

http://mekworx.phenomer.net/mekastu...0pax/etrn01.jpg (with just the pistol/fist)
http://mekworx.phenomer.net/mekastu...0pax/etrn02.jpg (all weapons)

So for some reason it draws some colored boxes in the slots that don't have weapons. And it looks like those boxes stay even when you do have those weapon slots filled. I don't think it's something I'm doing wrong because it works fine in PRBoom+/(G)ZDoom. Maybe it's related to the issue entryway pointed out?

*edit*

Actually, I think I just now figured out what's going on. Those boxes are actually part of the "frags" patch...or I guess how it works is that the weapon slot is drawn over the frags slot. So those boxes are drawing through the weapon slot patch and showing the frags slot that's underneath...or something like that.

Last edited by Mechadon on 11-12-10 at 05:24

Old Post 11-12-10 04:29 #
Mechadon is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 5763
Registered: 08-00


It's probably somehow copying data from the wrong screen. Either way, I'm probably just going to tear out all the caching nonsense, so this problem should go away.

Old Post 11-12-10 05:38 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7627
Registered: 01-03


Here's some speed comparisons done with ZDoom that compared cached and uncached performance. It doesn't seem to matter much on relatively modern systems. On the other hand the caching sure caused some not so nice problems.

Old Post 11-12-10 07:06 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 04:28. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > Broken statusbar graphics

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Message Board Statistics