News | Forum | People | FAQ | Links | Search | Register | Log in
Mapping Help
This is the place to ask about mapping problems, techniques, and bug fixing, and pretty much anything else you want to do in the level editor.

For questions about coding, check out the Coding Help thread: https://www.celephais.net/board/view_thread.php?id=60097
First | Previous | Next | Last
 
Hm, just went through all the commands and such in QS, not Fitz though, but QS does not seem to have this. Would be a cool option. Something like r_uselit.

The fastest way now is to rename the lit file to something like lit~ and then restart the map in QS. A bit tedious, but it works. Also damn, some maps look horrible without the lit file, like Skacky's Jam5 map. Super blown out. I think it has to do with the thing that ericw mentioned a while back somewhere about using dark lightcolours. 
 
Unless you are using BSP2, reQuiem has gl_loadlitfiles 0/1 (also available in the menus). 
 
Also damn, some maps look horrible without the lit file, like Skacky's Jam5 map. Super blown out. I think it has to do with the thing that ericw mentioned a while back somewhere about using dark lightcolours.

That's suprising, i would have assumed that the non-colored version of the lighting would just desaturate the color while keeping the apparent brightness. 
 
It could have to do with how .lit support was added to tyrutils, the bsp lighting didn't use the _color keys at all. I changed it, for the next release of my fork, to average the RGB components of the ilt sample to get the greyscale value for the bsp. 
Ericw 
That's a very good solution for sure. And great work on the compile tools in general. 
RGB Is Terrible For Almost Everything. 
Careful with averaging RGB, that would give you some weird results. You rather want to calculate the (perceived) lightness of the color. I would need to go through my docs but if you can't find a good solution give me a nudge.

I wonder if the weird green tint on explosions/dynamic lights when playing games with (reddish?) lit files is also due to this. Noticed it a lot in the jam6 maps with QS. 
Argh 
Actually it looks like averaging won't work..
The constraint is the LightNormalize function that MarkV is using (Baker mentioned that he took it from some QW engines). It scales the lit data based on the bsp file lighting, supposedly to prevent cheating in MP by using a fullbright lit file.

I looked at it again and, to prevent MarkV from scaling the lit data, the bsp needs to contain max(r,g,b). This kind of sucks because it forces your bsp to have overblown greyscale lighting, or else have potentially distorted colors in MarkV. 
 
1. as Spirit says, don't just do a staight average of RGB. Try instead using one of the formulas from here: http://stackoverflow.com/questions/596216/formula-to-determine-brightness-of-rgb-color

2. Spirit, regarding the green tint on explosions, this happens because the explosion is blowing out the lightmap to white. At the edges of the explosion, only certain color channels are blown out, so you get different colored rings around the explosion based on the color of the explosion and the color of the pre-existing lightmap. To preserve the color better, probably an engine would have to calculate the correct color first for each lightmap point, then clamp all 3 channels to different values to preserve it. 
Also Spirit 
I wonder if the weird green tint on explosions/dynamic lights when playing games with (reddish?) lit files is also due to this. Noticed it a lot in the jam6 maps with QS.
I think I see this with the rocks in jam6_daz, pretty sure it is completely normal (the rocks have a bit of green in them, the explosions are white so the orange tinted lighting briefly changes to white) 
Yeah. 
I think it is more of an optical illusion as well. Partly the rock colours, partly the amount of red on screen getting your retinas to get cyan/greenish afterimages a bit.

If you look at this shot with it looks a bit greenish on the rim of the light sphere.
https://dl.dropboxusercontent.com/u/15588722/post/func_msg/lighting_1.png

When looking at it with lightmap only it is a lot more yellow looking, and there really are no greens as such, but some dirty yellows.
https://dl.dropboxusercontent.com/u/15588722/post/func_msg/lighting_2.png 
How Cool Is That 
Contrast/complement effect from red tinted faces? Someone should test if we see red if the lights are rather green. 
 
Just made a quick test room with greenish cyan light.

Plop in there and shoot some rockets at the walls. Esp the blue wall looks weirdly purple-ish. So it seems like it does work at least a bit.

https://dl.dropboxusercontent.com/u/15588722/post/func_msg/complementtest.bsp 
Missing Lit File Please 
 
Derp. 
Beyond 4096 
which engines support both bsp2 and > 4096 boundary protocol?

i checked the usual suspects: DP and RMQE but neither supports BSP2.

Prefer a stock-alike engine if possible. 
 
Fteqw should do, you can make it very stock like too. Quakeforge might do it too, not sure though. DP does support bsp2 though, did you use an old version. 
 
thanks spirit, what is quakeforge?? will need to google that shizzle.

i thought DP did bsp2?? but it said unsupported type. although, now I look at the build, it says it's from june 2011. so yeah, probably an old one.

grabbed the 20140513 build, loads the map, but geometry flickers like mad: http://shoresofnis.com/temp/jam620150828131103-00.jpg :( 
 
BSP2 support (allegedly): DarkPlaces, QuakeSpasm, Fitzquake Mark V, qbism Super8, latest automated build of FTE, TyrQuake from 2013 or later, and QuakeForge. 
DP Flickering Bug 
try "r_useportalculling 0" 
 
ouch, same here. It also spammed more than 500 times "Mod_Q1BSP_RecursiveNodePortals: WARNING: new portal was clipped away".

Quakeforge is pretty awesome. Very non-standard though in terms of getting it properly configured (at least on Linux). It deserves a lot more attention. 
 
I moved the BSP2 page from Quaddicted to http://quakewiki.org/wiki/BSP2 , edit ahoy please 
 
works perfectly, thank you ericw! 
Wvis 
Would waiting longer be of any use
Throw Me An EMail Plz 
How complex is the map ? Are you making use of detail-brushes ?
Did you try compiling it with TyrUtils ? 
Says I With No EMail Set In The Account. 
rebb at voidspark net 
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.