Wood'um
#12534 posted by negke on 2013/03/12 20:26:35
What's this about banding - care to post a screenshot?
Btw, if you still have the original .prt and .vis files, you can fix certain things that require a QBSP recompile (texture errors to a certain degree, bmodel positions) and simply insert the fullvis information on the fly.
Every Picture Tells A Story Don't It
#12535 posted by Mike Woodham on 2013/03/12 20:58:04
First, this is a cavern with sculpted walls and fog.
The first picture shows -fast Light and Vis, the second with the banding, was -level 4 Light and FullVis.
http://s17.postimage.org/7zui23axr/fitz0000.jpg
http://s24.postimage.org/ytgmq1tcl/fitz0001.jpg
That Looks Like...
your video card is set to 16bit rather than 32bit!
Weird, did you change the video settings?
Yeah...
#12537 posted by metlslime on 2013/03/12 21:08:03
that has nothing to do with lightmaps
Ten Green Bottles Hanging On The Wall
#12538 posted by Mike Woodham on 2013/03/12 21:08:41
No, both of those shots were taken today on the same laptop computer within a couple of minutes of each other; not more than 40 minutes ago.
The card in the laptop is definitely set to 32 bit.
Get OTP
#12539 posted by ijed on 2013/03/12 21:14:36
To benchmark?
#12540 posted by negke on 2013/03/12 21:22:14
How does it look just with -extra (not 4)?
#12541 posted by JneeraZ on 2013/03/12 21:23:49
That looks like a fog error, doesn't it? I can't imagine that has anything to do with his lightmaps.
Mike:
#12542 posted by metlslime on 2013/03/12 21:26:45
Shots taken in the same session or different sessions?
If different, launched with the same shortcut or batch file, or different shortcuts/batch files?
#12543 posted by Spirit on 2013/03/12 22:19:09
That's probably gamma or brightness or something like that. Both look terrible on my night time red tint and 0.8 monitor gamma setup. If I disable that, the first one is find.
#12544 posted by metlslime on 2013/03/12 22:25:35
it really does look like 32bpp vs. 16bpp to me. Even the down to the discoloration on the statusbar graphics in fitz0001
I See
#12545 posted by ijed on 2013/03/12 22:27:15
A similar thing when using the SetGamma utility - which I use so that the worldcraft 3d window isn't too dark.
Metlslime
#12546 posted by Mike Woodham on 2013/03/12 22:59:32
Not the same session of FZ. Because I was running from batch files, I closed the FZ session between maps.
You might be pointing me in the right direction: I will now go and check the two batch files for differences in calling the -game and -map.
There Was I, Diggin' This 'ole
#12547 posted by Mikie Woodham on 2013/03/12 23:20:20
From the config file:-
vid_bpp "32"
vid_fullscreen "1"
vid_height "768"
vid_refreshrate "60"
vid_vsync "0"
vid_width "1024"
viewsize "100.000000"
volume "0.7"
vid_restart
+mlook
However, one of the batch files has -bpp 32 in the command line it produces, and the other does not.
If I run the maps from the same FZ session using the command line with the -bpp 32, NO BANDING!
Is it correct that the config file does not take precedence over the command line? And is it correct that with no -bpp 32 in the command line, the entry in the config file is ignored?
And I suppose the default -bpp is 16?
Mike:
#12548 posted by metlslime on 2013/03/12 23:34:25
default bpp is 16, yes (glquake legacy, probably should default to 32 now)
if any video options are on the command line (-window, -width, -height, -bpp, -refreshrate) then the config file is ignored and the command line settings are used.
Otherwise it should use the config file during startup.
You can always verify by looking at the console for something like "video mode 1024x768x32 60Hz initialized"
Eeeee Eee Eee The Martian Hop
#12549 posted by Blike Floodham on 2013/03/12 23:43:51
Got there in the end. Thanks.
But now the end is near and so I face the final curtain...
Stand by onetruepurple, it's on its way of that I'm certain (well give me a day or so to recover from this trauma)
Try Making...
an autoexec.cfg file for your settings so it always uses the settings you want. (I don't know why it doesn't always save)
#12551 posted by necros on 2013/03/17 06:28:59
Does anyone know why some editors have different texture projection axes which made it necessary to have -altaxis/-oldaxis on QBSP? Was it just a mistake or was there some reason for it?
From Bengt
#12552 posted by Mike Woodham on 2013/03/17 07:00:14
Note : TreeQBSP behaves slightly different than other QBSP variants. To make it behave more like
the others, the following command line can be used :
qbsp -oldaxis -oldleak [mapname]
In most cases, the new style leak line (default) is considerably easier to follow in Quake,
but if it doesn't seem correct (e.g. the line goes right through solid brushes) you might
want to try the old style line. You can always use the "-leakdist #" option to reduce the
amount of dots in pointfiles. If Quake cannot load the entire pointfile, use the Quake
command line option "-particles #" to increase the capacity.
Also, transparent water is not default (like in TxQBSP), but can be enabled via the
"-transwater" option. Beware of the performance hit in some maps.
Some lighting problems might occur when using most light tools together with a compiler
that supports enhanced texture positioning (e.g. QuArK ETP or Valve 220 Hammer). Light 1.27
and TyrLite 0.94 (see Tyrann's site below) or later versions support ETP.
Necros
#12553 posted by SleepwalkR on 2013/03/17 08:15:49
I'm not sure about this, but I suppose it was a programming error on some editor. The algorithms for both variants are exactly the same except for a < in one and a <= in the other. This is TB's implementation which is basically the same as the one in the compilers and in Radiant:
unsigned int bestIndex = 0;
float bestDot = 0.0f;
for (unsigned int i = 0; i < 6; i++) {
float dot = faceNormal.dot(*BaseAxes[i * 3]);
// no need to use -altaxis for qbsp
if (dot > bestDot) {
bestDot = dot;
bestIndex = i;
}
}
BaseAxes is an array of 3-tuples of vectors. This is the version to use without -altaxis/-oldaxis. The other version has dot <= bestDot.
Thanks
#12554 posted by necros on 2013/03/17 14:27:33
So it looks like the original treeqbsp had the 'wrong' projection code as well? Or the creator used an editor with the wrong projection and thought it was the correct on..?
Angle On A Trigger
#12555 posted by Mike woodham on 2013/03/17 15:38:59
I've just noticed that one of my trigger_once has an 'angle' set to '-2'. This has crept in somehow but is entirely wrong.
The effect is that the player does not seem to activate the trigger without "wiggling" at the place where the trigger is sited, and it will not be obvious to the player that a wiggle is needed.
Can I remove this field directly from the .bsp file - I do not want to remove the trigger? I seem to remember that you can edit the bsp provided that... you don't alter the file length, or something like that?
The player does not actually pass through the trigger, they simply touch the trigger (it's against a wall).
I can change it in the editor of course but this is the level that took a gazillion hours to compile so I am trying not to compile again.
Mike Woodham
You can remove the field and then run qbsp with the -onlyents commandline.
Necros
#12557 posted by SleepwalkR on 2013/03/17 15:56:43
I don't know who started this, but I suppose that some editor got it wrong and the original author of Tree tried to fix it. Or maybe he just got it wrong. It's super annoying, though.
Mike
#12558 posted by negke on 2013/03/17 16:54:55
Remember to run light -onlyents as well if you have switchable lights in the map.
|