PhoenixUI prototype

Anything related to Wolfire Games and/or its products
Jeff
Evil Twin
Posts: 2892
Joined: Wed Nov 19, 2003 7:48 pm
Location: San Francisco, CA
Contact:

Post by Jeff » Sat Jun 10, 2006 10:31 pm

Zantalos wrote:Just an issue, you can hide windows to the left, but you can't safely drag them to the right or at the bottom without losing them.
(probably didn't need to write all that suff)
No, this is a good bug. I will fix this as soon as the GUI is in working order again (I had to uproot a lot of stuff for the double buffering system.)

Jeff
Evil Twin
Posts: 2892
Joined: Wed Nov 19, 2003 7:48 pm
Location: San Francisco, CA
Contact:

Post by Jeff » Mon Jun 12, 2006 3:04 am

Just uploaded the latest build. This one has some rudimentary double buffering, so you should notice about a 40-50% speed increase. I get about 75 FPS on my PC now and 30 FPS on my poor, overworked Powerbook. More optimizations coming up. :)

Please let me know if you find any visual glitches as this was a pretty intense change.

User avatar
Crill3
Indecisive titler
Posts: 1935
Joined: Thu Mar 10, 2005 5:54 am
Location: Stockholm, Sweden

Post by Crill3 » Mon Jun 12, 2006 3:28 am

I couldn't find any glitches.
About 50-60 fps, while having some programs on and working (and ALOT
of system/appearance mods :P).

Nuky
Plutonium Handler
Posts: 732
Joined: Mon Aug 15, 2005 3:34 am

Post by Nuky » Mon Jun 12, 2006 8:13 am

I get (19-)20FPS... I think there might be something wrong with my 3d card (6600GT <- Shouldn't be bad). Either that or my machine is overloaded by stuff.. Photoshop is running. Etc.

Also, that 1x3 rectangle at the titlebar (The one containing those 3 window control buttons, max, min, close) all activates at once if you move mouse near them. and if you click somewhere in between, they all go blank (but stil colored as in mouse hovering).

edit: it looks like it's locked at 20fps... Anybody knows how to fix?

edit2: Each window steals about 10fps. Closing them results in me having 65-70fps.

Silb
Master cartographer
Posts: 558
Joined: Sat Dec 10, 2005 7:03 am
Location: Map Guild

Post by Silb » Mon Jun 12, 2006 10:37 am

There's a glitch if you resize the radio button field to about 10 pixels of the minimum width or less. Every time you trigger a refresh in the window (pretty much any action works), the longest labels "second" and "column" are not redrawn properly. See pic, courtesy of Snapz Pro (from left to right, original, 1 refresh, lots of refreshs):
Image
Same thing if you move the mouse over the disabled checkbox (or activate its window).
Last edited by Silb on Mon Jun 12, 2006 9:13 pm, edited 1 time in total.

Jeff
Evil Twin
Posts: 2892
Joined: Wed Nov 19, 2003 7:48 pm
Location: San Francisco, CA
Contact:

Post by Jeff » Mon Jun 12, 2006 11:23 am

Nuky wrote:I get (19-)20FPS... I think there might be something wrong with my 3d card (6600GT <- Shouldn't be bad). Either that or my machine is overloaded by stuff.. Photoshop is running. Etc.

Also, that 1x3 rectangle at the titlebar (The one containing those 3 window control buttons, max, min, close) all activates at once if you move mouse near them. and if you click somewhere in between, they all go blank (but stil colored as in mouse hovering).

edit: it looks like it's locked at 20fps... Anybody knows how to fix?

edit2: Each window steals about 10fps. Closing them results in me having 65-70fps.
What kind of processor do you have? Your graphics card should not be used at all at the moment.

Zantalos
The Postman
Posts: 1589
Joined: Thu Feb 23, 2006 7:43 pm
Location: Santa Clara,CA

Post by Zantalos » Mon Jun 12, 2006 8:40 pm

Nuky wrote:Also, that 1x3 rectangle at the titlebar (The one containing those 3 window control buttons, max, min, close) all activates at once if you move mouse near them. and if you click somewhere in between, they all go blank (but stil colored as in mouse hovering).
Ya, I'm not sure how an actual Mac runs, but on windows switches would either light up if they could be activated or just not light up at all. Same with resizing, at max, it gets locked into place. But for Macs you can still move it around, this means that if you accidently move the top a little when it's at max, you won't be able to shrink it. It will just shift in its place for whatever distance it was moved. I dunno, just thought that's a little strange compared to PCs.

Oh yeah, and the FPS improved. It increased about 15% moving my 19 fps to a whopping 24! I'm going to test this out on a much faster computer, this ones just a bit too many years outdated.

@silb: Jeeze man how do you find these things? I mean, ten pixels? I can't even recreate that! :o

Jeff
Evil Twin
Posts: 2892
Joined: Wed Nov 19, 2003 7:48 pm
Location: San Francisco, CA
Contact:

Post by Jeff » Mon Jun 12, 2006 9:30 pm

New build for tonight.

This one has some pretty dramatic optimizations. I get about 1600 FPS on my PC (that's not a typo) and about 180 FPS on my Mac laptop. I also fixed Nuky's mouseover bug, which I saw thanks to Zantalos quoting it and Silb's redraw bug. :) Again, please be on the lookout for redraw issues because this was a pretty severe change.

There is still plenty of room for optimization, but I think I will concentrate on adding some new controls first. Up next, the tab panel!

User avatar
Eric
Support Ninja Master
Posts: 518
Joined: Wed Dec 21, 2005 10:53 pm
Location: San Francisco, CA

Post by Eric » Mon Jun 12, 2006 10:25 pm

wow, i am getting 1450 FPS, incredible compared to previous builds.

That is on a 2 GHz processor with all sorts of other shit running.

Silb
Master cartographer
Posts: 558
Joined: Sat Dec 10, 2005 7:03 am
Location: Map Guild

Post by Silb » Mon Jun 12, 2006 10:38 pm

180 FPS on my Mac laptop- that's 6 times faster!

The redraw glitch I mentioned still happens with the disabled checkbox--just hover your mouse over it a couple times.

Jeff
Evil Twin
Posts: 2892
Joined: Wed Nov 19, 2003 7:48 pm
Location: San Francisco, CA
Contact:

Post by Jeff » Mon Jun 12, 2006 10:54 pm

Fixed. It's hard to catch those because they're caused by the fact that the fonts are different on Mac and Win.

User avatar
Crill3
Indecisive titler
Posts: 1935
Joined: Thu Mar 10, 2005 5:54 am
Location: Stockholm, Sweden

Post by Crill3 » Mon Jun 12, 2006 11:21 pm

170-300 FPS, with more stuff running than last time.

Nuky
Plutonium Handler
Posts: 732
Joined: Mon Aug 15, 2005 3:34 am

Post by Nuky » Tue Jun 13, 2006 1:58 am

Jeff wrote:What kind of processor do you have? Your graphics card should not be used at all at the moment.

Ohhhh, that would make sense, then. A hellova lot of sense: 2.8ghz CELERON!!!! :evil:

Anyways; Great work! I get about 400fps as normal, now. 6*0 if I close all them windows.

Jeff
Evil Twin
Posts: 2892
Joined: Wed Nov 19, 2003 7:48 pm
Location: San Francisco, CA
Contact:

Post by Jeff » Wed Jun 14, 2006 2:08 am

New build. This one features a pop up menu. It doesn't have a focus ring graphic yet, but it is still there, so using the keyboard with it should work.

Also, this is the last "prototype" build. The next build you'll see is going to be completely rewritten in C++/SDL, running in the Phoenix shell.

Nuky
Plutonium Handler
Posts: 732
Joined: Mon Aug 15, 2005 3:34 am

Post by Nuky » Wed Jun 14, 2006 7:37 am

Jeff wrote:New build. This one features a pop up menu. It doesn't have a focus ring graphic yet, but it is still there, so using the keyboard with it should work.

Also, this is the last "prototype" build. The next build you'll see is going to be completely rewritten in C++/SDL, running in the Phoenix shell.
Great! 8)
It works pretty well here.
Can't wait for any possible screenies/the socalled next build :P

Post Reply