Mugwump
#17604 posted by JPL on 2016/11/28 08:52:59
Thanks
/me gonna check this, and re-post if not working ;)
Qompiler V0.80
#17605 posted by muk on 2016/11/28 11:13:52
http://www.quaketastic.com/files/tools/Qompiler.7z
You can now choose what compiling tools(QBSP, VIS, LIGHT) you wish to run and these, along with the settings you choose for the tools, will be saved to a config that you can load on the next run.
Still some small hiccups in the script but everything goes fine. Ill spend the next couple days cleaning and reorganizing the structure of the script.
What compilers do you guys use?
Currently its set to run with tyrutil-ercw, but I'd like to put the descriptions/settings for a couple other tools as well.
Thinking of adding a feature to choose where you dump the compiled maps. Definitely want to add one to show the config names in a list.
Overbright
#17606 posted by mjb on 2016/11/28 11:31:18
that forced me to turn RTworld off - this is becoming a trend among new maps lately
Any suggestion on how you preserve "RT lighting" on DarkPlaces? Is there a specific light setting that causes overbrights?
#17607 posted by Mugwump on 2016/11/28 11:52:26
Dunno. Even if I have RTworld on without specific .rtlights files, I never encounter this problem with older maps.
Idea: I seem to remember having read that Tyrutils-ericw can generate .rtlights. Since some of you guys already provide .lits with your maps, I guess it wouldn't be too much of a hassle to also provide the .rtlights for us DP enthusiasts.
RT
#17608 posted by mjb on 2016/11/28 12:46:28
If you can do some research/testing on how to provide .rtlights or what makes the overbright issue occur I would have no issue supplying/compensating one with my next release.
My only quibble is that if it turns out RT lights require certain light settings to not be used then I will not include it.
#17609 posted by Mugwump on 2016/11/28 13:09:52
I'll look into it. Right now I'm focusing on my noir jazzy-industrial theme music for the Map Jam 8 repack, but as soon as I'm done with it I'll try to find some answers.
#17610 posted by Mugwump on 2016/11/28 13:48:43
I just made a quick verification in Gotshun's new map and it would appear that these overbrights are caused by whacked out RGB values. Run the map in DP with RTworld on (you might need to adjust the lightmaps setting) and type r_editlights 1 in the console. You'll be able to see each light entity. You can select one by pointing the crosshair towards it and read its info in the upper right corner of the screen. Check normal-looking lights, they have relatively low color values like 1.54 1.35 1.19, for example. But the overbright ones are ramped up to 2 or 3 digits before the decimal point.
Interesting
#17611 posted by mjb on 2016/11/28 13:59:21
That may explain why my retrojam did not have too much issue with RTlights considering I did not use colored lights at all.
I'll definitely make an attempt to compensate but no promises ;)
Thanks for looking.
Another Overbright Scenario
#17612 posted by Mugwump on 2016/11/28 15:15:18
I was playing Gotshun's (again!) "lost" levels (the secret level of episode 1, to be specific) when I encountered another cause for overbrights: several spotlights concentrated in a small corridor with normal RGB values but a high radius (350).
Thank YOU for willing to make your maps playable with RT lighting.
Is there a specific light setting that causes overbrights?
Overbrights are not a bug that is "caused" by any setting. It is a feature of the original WinQuake that was restored in FitzQuake.
https://www.quaddicted.com/engines/software_vs_glquake#overbright_lighting
#17614 posted by Mugwump on 2016/11/28 16:21:19
Yes, but we're talking about extreme overbrights here, that drown the surfaces in light to the point of annihilating details and even colors of the textures. I'm on my phone right now so I can't post a screenshot to show you what I mean.
Mugwump
#17615 posted by ericw on 2016/11/28 19:52:30
The only way maps will look good when run under RTLights is if mappers restrict themselves to the subset of light features understood by both the classic light.exe and RTLights, and test maps with both baked lighting and RTLights.
If I understand right, Darkplaces parses the light entities out of the bsp, ignores the lightmap baked by light.exe entirely, and then renders the lights at runtime, so you can get sharp, high resolution shadows (and shadows from moving objects)
Yes
#17616 posted by Qmaster on 2016/11/29 01:09:48
And it allows for overbright areas.
Rtlights
#17617 posted by Spike on 2016/11/29 06:34:00
@ericw
if someone provides an foo.rtlights file to override the mapper's lights then the mapper is free to ignore rtlights in their map. they can then provide that extra file if they care (which of course is extra work for an engine other than their beloved quakespasm, using tools that are poorly integrated and rather clunky).
and if they don't then yes, people who insist on using rtlights will get shitty lighting.
no bouncy light so it'll have dark corners. no ambient occlusion. etc. it'll probably look terrible. on the plus side, the parts that are still lit will look a little bumpier. because that's what matters, right?... *cough*
(rtlightless-bumps is what the .lux files thing was meant to be a solution for, though for DP they have to be renamed to .dlit or something, with these there shouldn't be quite the same 'need' for rtlights)
@mugwump
overbrights are a specific term around here that describes how the lightmap stores up to a logical cap of 2 rather than 1. what you're trying to describe would be better referred to as over-saturation.
realtime lighting has no such cap, which means it is MUCH easier to oversaturate thanks to each light's contribution being additive.
this can happen from either scaling a single light's colour multipliers up, or just placing a hundred lights in a smallish area, which happens a lot if a mapper wants to avoid dark corners.
Ultimately if a map doesn't have lights placed with consideration for rtlights then its just going to look bad, and you're probably better off without... its just a shame that its such a pain to reconfigure that stuff on a per-map basis. Sadly the dice have already been rolled in that regard.
Over-Whatever
#17618 posted by mjb on 2016/11/29 13:20:41
Ah thanks for explaining it so well Spike. I knew the actual overbright was not the correct term but couldn't think of anything else to call it. Over-saturation is definitely what we are discussing here.
It basically looks like how I thought it would go...probably not going to happen from me. :)
Help For Mapping In General?
#17619 posted by Newhouse on 2016/11/29 13:21:06
I have been wondering, is there any tutorials or guides how to make 3d geometry, topology, architecture in Quake.. that works also in Darkplaces. Is there some principles or important facts about making rooms and such I have to keep in mind?
Does every vertex point needs to be connected to an another vertex point or what is causing these weird "I didn't know there was a brush and simple ignores drawing them". Time to time it works flawlessly and I don't experience any rendering issues, but sometimes it is something I can't even solve, even if I remake the whole area. I try to look everything in a vertex mode and spot every red triangles and try to do something to fix those spots.. but what am I exactly looking for. What is the actual core of my problems, that is something I would like to know.
In sake of not spending too much time fixing things afterwards, I want make maps that works right away. Simple saying don't do complex geometry doesn't mean anything, unless it is explained what is complex and what is not but still looks complex. Since people seems to make "complex looking" geometry, but that is not called complex? Is anyone else having problems with Darkplaces in general, so is the problem in our maps only or just in Darkplaces.
Show Pictures Of What You're Doing And What's Not Working.
#17620 posted by czg on 2016/11/29 13:35:26
What you're describing sound like something that shouldn't be happening at all.
Will This Help?
#17621 posted by Newhouse on 2016/11/29 19:13:32
Same thing happened in my jam 8, and I'm sure I made it really poorly or something. I thought this one was much cleaner when it comes to placing brushes etc. But Still there was moments when I saw some faces disappearing, when looking from different angle or staying in different position.
This time I didn't got any portal errors, but I'm still having these weird issues.
https://drive.google.com/file/d/0BwxYkKdSD855NkxXZGY3SjhMN2c/view?usp=sharing
Darkplaces Lightmap Bug
#17622 posted by Qmaster on 2016/11/29 19:21:07
What you are experiencing is the Darkplaces lightmap scaling bug that occurs when any one textured surface in your map has a scale other than 1.00 in either x or y. Darkplaces goofs up the lightmap in this case.
See here: http://celephais.net/board/view_thread.php?id=61211
Post number 466 is where it starts then ericw responds with a download.
This bug however should be fixed in ericw's tools after version 0.15.5.
Full Vis? -Level4 -fast
#17623 posted by Newhouse on 2016/11/29 19:59:56
Does it normally take very long time to calculate "full vis"? I use -Level4 and no -fast.. should should I use them both?
Yes, I'm using ericW tools*
#17624 posted by khreathor on 2016/11/29 20:06:04
If VIS takes extremely long, it means you have some leaks or weird geometry.
#17625 posted by ericw on 2016/11/29 20:19:18
Faces disappearing still sounds like the r_useportalculling 1 bug. Any DP user feel like reporting that?
Khreathor@
#17626 posted by Newhouse on 2016/11/29 21:34:10
If map is boxed with skyboxes, can there really be leaks at all? I understand if it is not, then it is possible that one corner might not be connected correctly.. using developer 1 in console doesn't give me any errors about leaks.. is there different commands to find those if there is any?
Bsp2map / WinBSPC
#17627 posted by JPL on 2016/11/29 21:49:13
None of them are working for what I want to decompile...
Igot nothing but an error message claiming it has a problem and that Windows will find a solution.. and that the program has to stop... my ass...
Anyone already tried such tool ? Any idea of what could be the cause ? Note that I tested that with simple maps, and it didn't fail, so it may come from the map I'd like to decompile... :(
Newhouse
#17628 posted by Rick on 2016/11/29 22:00:13
Quake is happiest with rooms and corridors. If you have large open areas vis can take a while.
|