Isnt That What The Waterwarp (or Is It Oldwater) Cvar Does?
#1086 posted by nitin on 2014/08/26 08:59:12
Feature Request:
#1087 posted by MaxED on 2014/08/26 09:26:35
If "config.cfg" exists in "ID1" floder (or in Quoth folder if -quoth flag is set, or in ROGUE folder if -rogue flag is set etc.), and there is no "config.cfg" in current game folder (e.g. folder set with -game parameter), can QS use that existing cfg as a base for a new one instead of creating "default" one?
Oldschool Effects
#1088 posted by Spiney on 2014/08/26 10:44:51
DirectQ does the underwater warp.
MaxED
#1089 posted by anonymous user on 2014/08/26 21:20:33
isn't that what already happens? At least for me, quake copies the cfg from my id1 folder into a mod folder the first time i run.
(well, it probably just leads the id1 config and then saves to the mod dir)
#1090 posted by MaxED on 2014/08/26 22:01:03
Ugh... my bad. Should've launched Quake without mods at least once to create config.cfg in the ID1 folder...
Who's The Head Honcho?
#1091 posted by Orl on 2014/08/26 22:53:49
Who can I get in touch with for a one on one discussion of a rather big problem with Quakespasm, and how it affects an upcoming map of mine, and possibly other maps?
#1092 posted by Spirit on 2014/08/26 23:21:45
You can find mail addresses in the readme.
CC Me Too If You Don't Mind
#1093 posted by ericw on 2014/08/27 00:07:15
Colormap.lmp Question
#1094 posted by ptoing on 2014/08/27 11:02:55
I just noticed that Quakespasm (and I guess quite a few engines) seem to ignore the colormap.lmp completely. What if someone wanted to make a TC with a new colormap to have new (maybe more, maybe less) fullbrights for example?
#1095 posted by Spirit on 2014/08/27 12:43:17
As stupid as it is but files inside pak files have precedence over files outside. Try making a new mod directory and putting the colormap there, that should work.
#1096 posted by Spike on 2014/08/27 14:52:27
FTE peeks at the colormap to see how many fullbright palette indexes there should be, although it only works if they're contiguous from the end of the palette.
the rest of the file is really only useful to software rendered engines, and even then its often regenerated weirdly for transparencies.
@Spirit
#1097 posted by ptoing on 2014/08/27 19:25:56
That is not that case with the original Quake afaik. That's pretty weird. /me tries
#1098 posted by ptoing on 2014/08/27 19:31:23
Tried, not working. Quakespasm does not seem to read colormap.lmp files. Works in Winquake, so the file is not corrupt or anything.
#1099 posted by ptoing on 2014/08/27 19:37:26
Am I then correct that QS and the like have some hardcoded stuff or something so that the lighting gradiates like in the software renderer? If there is something like that would it not be possible to allow for values to be read into that algo from the colormap?
Fullbright
#1100 posted by Preach on 2014/08/27 20:05:34
Am I then correct that QS and the like have some hardcoded stuff or something so that the lighting gradiates like in the software renderer?
Yes. It's important to know that historically, GLQuake didn't support fullbrights at all, so support for them in pretty much all custom engines has been added after-the-fact.
#1101 posted by ptoing on 2014/08/27 20:16:06
What I am wondering is if you could not do it via reading out the colormap.lmp is all.
#1102 posted by ericw on 2014/08/27 20:28:01
Yeah, Quakespasm/Fitzquake hardcode the palette indices 224-255 as fullbright.
GLQuake/Fitz/QS use the opengl fixed function pipeline to combine textures with the lightmaps to produce the final image. This predates modern programmable GPUs, all it allows is telling the GPU to multiply the texture color by the lightmap to produce the final color, so there's no way to make use of the colormap.lmp lookup table. Nowadays, I think you could write something with fragment shaders that uses colormap.lmp. Not sure if anyone has done that though.
Could You
#1103 posted by ijed on 2014/08/27 20:29:49
Override the hard coded indices if a colormap.lmp is detected?
#1104 posted by ptoing on 2014/08/27 20:39:47
Well, a colormap outside the one in id1/pak0.pak
Although
#1105 posted by ericw on 2014/08/27 20:46:00
modifying Fitz/QS to read the number of fullbrights from the colormap.lmp (and not using it for anything else) is probably possible. I saw it discussed here: http://forums.inside3d.com/viewtopic.php?f=12&t=4247
#1106 posted by metlslime on 2014/08/27 21:08:44
The standard quake colormap accomplishes 3 things:
1. force last 32 colors to be fullbright (but it could be different with a different colormap)
2. force the other colors to have 2x overbright lighting (but it could be different with a different colormap)
3. create a lookup table to find the correct palette index for the texture color + lighting value.
#1 and #2 are hard-coded into fitzquake based on the setup of the standard colormap. This means fitzquake assumes 2x overbrightening and the standard 32 fullbright colors.
#3 is irrelevant in a 32bpp renderer.
Of course there are all sorts of crazy effects you could do with a colormap, so no matter what assumptions the glquake-based engine makes, those assumptions could be wrong. For example, you could have colors that have an inverted lighting model (shadows would make them brighter) and you could have colors that change hue based on brightness (like orange highlights, blue shadows) And many other things. The only way to truly support those things is to write the equivalent of a pixel shader that uses the colormap as a lookup table.
@metlslime
#1107 posted by ptoing on 2014/08/27 21:13:45
Then that would be the way to go, imo, just speaking as an artist here.
And I for one do not like to play with 32bpp because it makes stuff look washed out and bland. Keeping the original stepping of the colours used in the colormap makes things more contrasty as well as grittier and more surreal. It just is part of the feeling of Quake for me. With a pixel shader you could also have the added benefit of 32bit smoothness while still keeping the stepping of the colormap. So it't a win win I would say.
But I guess there would have to be some command for it that would deactivate the colormap, just to make sure, or of people want to use truecolour textures or something like that.
New Builds (0.85.10-r980)
#1108 posted by szo on 2014/08/29 11:50:44
New prerelease builds uploaded at http://quakespasm.sf.net/devel/
win32:
http://quakespasm.sf.net/devel/quakespasm-0.85.10-r980_windows.zip
win64:
http://quakespasm.sf.net/devel/quakespasm-0.85.10-r980_win64.zip
macosx:
http://quakespasm.sf.net/devel/QuakeSpasm-0.85.10-macosx-r980.zip
Linux users can checkout the svn and build for themselves.
Changes since the previous r958 test builds from Aug. 08 include:
FSAA support, fence textures support, brush model drawing speedup,
better cross-map demo playback support, and increased limits for
MAX_ENT_LEAFS (32), MAX_EFRAGS (4096) and MAX_CHANNELS (1024).
For more detailed list of changes see the READE file (or browse the
svn history.)
Orl's test map is playable now :). Nice one.
Any likely/possible regressions with the new brush model code ?
FSAA ?
#1110 posted by Barnak on 2014/08/29 16:40:55
I tried the OS X version, and I don't see any FSAA option.
Where is it ?
|