#3227 posted by Zaratul on 2018/01/13 23:49:25
https://github.com/bangstk/Quakespasm
Suggestion:implement Quakeworld style HUD option from this branch.
HUD Request
I enthusiastically second this idea. Even if it's just a console cmd and not in the menu I prefer this HUD to NQ version.
Transparent {fence Textures
#3229 posted by Qmaster on 2018/01/15 02:25:03
Please see this: http://www.quaketastic.com/files/misc/testing/test_trans.jpeg
I had the idea one day to mix alpha and {fence to make ground fog. It looks neat in the editor, but it doesn't work in-game. It would be really cool to mix this type of effect with some non-solid func_train's, func_bob's, etc.
I still don't understand why it doesn't work below 0.666.
Cross Engine Testing:
FTE: Does not support alpha on {fence textured faces. Side note: fence rendering has weird ugly black edges.
Mark V: Same as QS. Side note: the Pixelated/Rough mode looks best for fence edges (not related to the alpha). Not sure if this is just disabling mipmapping or what.
DarkPlaces: The old version I have doesn't support either {fence or alpha.
All other engine versions are the most current.
Jago
#3230 posted by ericw on 2018/01/15 08:15:24
I can enter/exit the main menu, navigate it, but not actually enter any of the menu options with any gamepad buttons.
The A and B buttons are hardcoded to select menu items / go back a screen. If A/B are not working, it means something failed at a lower level than Quakespasm (probably SDL2's controller mapping).
Does it help if you download this file and put it in your quake directory?
https://github.com/gabomdq/SDL_GameControllerDB/raw/master/gamecontrollerdb.txt
It should enable more controllers.
re: mod menu and bangstk's changes, both things I have been meaning to get to
#3231 posted by mh on 2018/01/15 11:12:20
I still don't understand why it doesn't work below 0.666.
Because GLQuake sets this at startup:
<p>glAlphaFunc(GL_GREATER, 0.666);</p>
Meaning that when the alpha test stage is enabled, anything with an alpha of less than 0.666 is discarded.
Fences are drawn with alpha test enabled, so that's why it doesn't work.
#3232 posted by Joel B on 2018/01/22 20:45:51
Is there still use for the SDL1 version? Just curious about why that variant is still included in the package.
#3233 posted by ericw on 2018/01/23 05:47:41
Not much significant - audio CD support, win 9x support.
502 Bad Gateway?
Hey Eric. I periodically update through your nightly builds page found here:
(http://quakespasm.ericwa.com/job/quakespasm-sdl2/)
but the page has been giving a 502 error. Just thought I'd let you know in case you were unaware. :)
Thanks HipnoticRogue, Fixed
#3235 posted by ericw on 2018/01/24 07:07:54
Screen Refresh/FPS Question
If I set the game (in-menu) to 60 or 120 the game runs smooth as butter. If I use the built-in FPS counter the game reports 60 fps. All well and good.
If I set the game to 144 (my monitors refresh rate) the game hitches ever so slightly every few frames. When I check the FPS counter it only reports 71 fps. I have Host_maxfps set to 72. Shouldn't the game report 72 fps?
Regardless of what I do I get screen tearing unless vsync is on. At 60 fps there's a very noticeable lag in movement (I use a controller). The lag's not so bad at 71 fps but, like I say, there's that slight hitch which drives me insane!
I've tried using gl_triplebuffer set to "0" and "1" but neither seems to make any difference regardless of whether vsync is on or not.
Is there an issue with 72 fps or do I just have to live with the slight stutter?
I haven't reported it as a bug because nobody else has mentioned this 'issue' and I'm not sure if it's user error or an engine limitation...
#3237 posted by anonymous user on 2018/01/28 23:21:08
You're not the only one. A lot of people experience the same thing at 72. Even at 250 it feels like shit. Chew it down son. It's the recommended quake experience.
#3238 posted by anonymous user on 2018/01/28 23:21:08
You're not the only one. A lot of people experience the same thing at 72. Even at 250 it feels like shit. Chew it down son. It's the recommended quake experience.
#3239 posted by anonymous user on 2018/01/28 23:21:39
can u fix the double click thing?
@Hipnotic Rogue
#3240 posted by ericw on 2018/01/29 01:45:47
I think QS's vsync implementation is broken, in that it doesn't disable the regular frame throttling code so sometimes you will get stutters. I would recommend avoiding vsync right now.
It sounds like you get hitching with vsync off as well, at 144Hz?
One hack you can try is "sys_throttle 0" - this will make QS use 100% CPU instead of sleeping (the default is 0.02).
If there's stuff we can do to make this better I am interested. I'm hoping to get a 144Hz monitor some time this spring as well. :-)
@Hipnotic Rogue
#3241 posted by ericw on 2018/01/29 01:45:48
I think QS's vsync implementation is broken, in that it doesn't disable the regular frame throttling code so sometimes you will get stutters. I would recommend avoiding vsync right now.
It sounds like you get hitching with vsync off as well, at 144Hz?
One hack you can try is "sys_throttle 0" - this will make QS use 100% CPU instead of sleeping (the default is 0.02).
If there's stuff we can do to make this better I am interested. I'm hoping to get a 144Hz monitor some time this spring as well. :-)
@ericw
I've set sys_throttle to 0 but there's no change that I can discern.
It's not hitching as such at 144 Hz with vsync off. The 'hitched' frame (for want of a better term) tears instead. It's regular as clockwork just as the hitched frame would be with vsync on.
Is there anything else I could try for you or any more info you need just now?
#3243 posted by Spike on 2018/01/31 17:25:28
sounds like you want SDL_GL_SetSwapInterval 2 instead of 1, or ideally -2 (to enable swap_tear when timings slip a little).
The interval in question is measured in terms of buffer swaps, so 2 means that it'll run at 72fps on a screen running at 144hz.
Regarding host_maxfps timings - quakespasm uses milliseconds for timing - and rounding down means it needs to wait a little longer before the next frame.
This alternative will give more accurate host_maxfps:
double Sys_DoubleTime (void)
{
return SDL_GetPerformanceCounter() / (long double)SDL_GetPerformanceFrequency();
}
But do note that it might misbehave on certain/old dual core machines that lack drivers to resync cpu timers.
And ideally you'd rebase the counter to 0 to reduce fpu precision problems, but they.
Regarding nvidia, (at least for me) vsync is broken in their opengl drivers when the program (otherwise) runs at about 1000fps. Crossing that boundary (relative to the previous frame) results in a noticeable stutter. Enabling something wasteful like bloom seems to help, thanks to it no longer drawing frames in 0ms...
tl;dr version: timers suck.
#3244 posted by mh on 2018/02/01 19:32:25
host_maxfps has lots of subtle little interactions beyond just wonky physics and killer elevators.
Particle trails have been touched on before; here's another one that many people might not be aware of.
Record a demo of you running around in a map for a minute or so at host_maxfps 72.
Record another demo of you doing the same run-around in the same map at host_maxfps 1000.
Compare the file sizes.
Interesting, isn't it?
Quakespasm On Steam?
For free. Why not?
#3246 posted by Spud on 2018/02/02 21:30:44
There's probably some legal shenanigans about distributing shareware Quake as part of another piece of software. Do you really want to read 17 pages of people who installed a sourceport without a game to play and are all copypasting the same gfx.wad not found error?
@spud
I'm assuming there's a way to ensure Quake is installed before launching. Similar to DLC. I dunno.
#3248 posted by maiden on 2018/02/03 01:06:19
Can anyone explain why Quake monster models occasionally turn black? I'd guess it's a lighting bug in the Quake engine but if anyone could give more detail as to why. I remember seeing this especially with the Scrag model.
#3248
#3249 posted by Kinn on 2018/02/03 01:12:16
Quake models get their lighting from the ground directly below them. If they pass over a bit of ground in total darkness, they go black.
Scrags sometimes fly over pits with pitch black bottoms far below them, and they thus turn black. Which is ugly.
Following From That
#3250 posted by Kinn on 2018/02/03 01:16:31
I kinda wish Quake used a 3d "light grid" like Quake 3 does for model lighting. People would probably be more inclined to make mdl props if the lighting was more accurate.
#3251 posted by Qmaster on 2018/02/03 03:22:51
And if there wasnt a 256^3 unit limit on size per frame.
|