BTW
#304 posted by Qmaster on 2015/03/10 04:33:27
Thanks
#305 posted by ericw on 2015/03/10 09:09:20
I tried compiling the map, looks whatever the problem was is already fixed in my modded tyrutils, as I don't get the weird patterns that are in the bsp you posted. (The qbsp.exe in my packs has a couple of fixes from Tyrann newer than his last 0.15 release).
Could you try with both the qbsp.exe and light.exe from here? http://celephais.net/board/view_thread.php?id=60967&start=287&end=287
Excerpt from my compile log:
$ ~/dev/tyrutils/bin/qbsp -bsp2 lighttest_tyr.map
---- qbsp / TyrUtils v0.15-17-g84caccd ----
..
$ ~/dev/tyrutils/bin/light lighttest_tyr.bsp
---- light / TyrUtils v0.15-17-g84caccd ----
..
#306 posted by Spirit on 2015/04/22 20:58:57
Tried to compile willem's jam5 map with tyrutils, got this:
$ vis MapJam5_Warren
---- vis / TyrUtils v0.15-5-g5111c54 ----
running with 4 threads
testlevel = 4
BSP is version 29
14599 leafs
2613 clusters
8492 portals
Loaded previous state. Resuming progress...
Calculating Full Vis:
0....1....2....3....4....5....6....7....8....9....
Expanding clusters...
************ ERROR ************
Vismap expansion overflow
-vv probably gives more info, but it outputs a lot
#307 posted by jakub on 2015/04/22 21:11:57
how long did it take you to get there?
i used h2map to create prt file from the already compiled bsp and then vis.exe to re-vis the map. it is working so far, but it's extremely slow. at this rate it will beat castle of the dark ages vis world record...
#308 posted by JneeraZ on 2015/04/22 21:15:52
We might want to accept that it's a terrible BSP and move on. :) I would do many things differently if I started that thing over...
#309 posted by jakub on 2015/04/22 21:25:12
no way.. it's too early to give up :-)
#310 posted by Spirit on 2015/04/22 21:28:50
not long, i interrupted it often, total i would guess an hour or two. i5-3470. I went from the .map, not the existing files.
#311 posted by jakub on 2015/04/22 21:37:01
i'm at 20% after 15 hours. it reminds me recompiling travail levels for transparent water support. of course, back then i had crappy single core cpu and no multi-thread vis tool.
Hmmm
#312 posted by Kinn on 2015/04/22 22:31:57
I'm curious as to how vis can be broken like that if - as you say in another thread - detail brushes were used extensively.
Hmm
#313 posted by mfx on 2015/04/22 22:37:18
Probably detail touching the void(wild guess).
#314 posted by JneeraZ on 2015/04/22 22:42:36
Is that a problem? There's TONS of that.
Iirc
#315 posted by mfx on 2015/04/22 22:54:59
this can be the reason for some trouble.
Try deleting all detail brushes and compile again.
If it leaks now, there is your problem.
#316 posted by mfx on 2015/04/22 22:59:59
-makedetailleak is the switch in txqbsp_xt.
#317 posted by Spirit on 2015/04/22 23:50:21
It happens after
leaf 10366 : 12797 visible
leaf 10367 : 12797 visible
leaf 10368 : 12797 visible
************ ERROR ************
Vismap expansion overflow
so either leaf 10369 is the trouble maker or what code runs after the "Expanding clusters...".
April 17 TyrUtils-ericw Snapshot
#318 posted by ericw on 2015/04/28 01:28:34
win32 os x src tgz src git light manual
with some new stuff:
* light: fence texture tracing, for bmodels with "_shadow" "1"
* light: surface light support via "_surface" "texturename" light key
convenience:
* light: respect "_dirt" "-1" bmodel key in -dirtdebug mode
* light: allow setting "-dist" and "-range" command-line flags in worldspawn
("_dist", "_range")
* light: accept "_sunlight_mangle" as an alternative for "_sun_mangle"
other:
* all: increase stack size to 8MB. Fixes qbsp crash with bbin1.map on Windows, light crashes.
* qbsp: switch to hardcoded MAX_MAP_PLANES (262K), speeds up map file loading phase.
* qbsp: MakeFaceEdges: accelerate with a hash table to avoid slow O(n^2) search for edges
* qbsp: ChooseMidPlaneFromList: fix off-by-one error in axial plane test. On the first SolidBSP pass, gives fewer split nodes on bbin1.map (128k vs 199k)
* light: MatchTargets: disable copying "style" key/value from a light to the entity that targets it. Don't see any point, and causes problems if "style" is meaningful for the targetting entity (e.g. a monster).
Thanks Scampie/Lunaran for the ideas earlier in the thread about surface lights. I agree it's limited because you can't customize individual lights, but it still may be handy (e.g. for lighting a big lava surface).
Also thanks to mh for the example of how to do surface lights in one of his MHColor builds.
Thank You Sir!
#319 posted by mfx on 2015/04/28 01:36:25
#320 posted by JneeraZ on 2015/04/28 02:01:52
Someone post screenshots! I wanna see lava lighting up some shit...
Rebb
#321 posted by ericw on 2015/04/28 02:05:04
MakeFaceEdges: accelerate with a hash table might be a nice patch to have in txqbsp-xt. Your SolidBSP is already lightning fast, and I noticed MakeFaceEdges was one of the bottlenecks on big maps; with this patch it completes almost instantly.
I was looking at bringing some of the qbsp optimizations from txqbsp-xt to tyrutils: the 1024-unit max node size, and the different way that SelectPartition measures the bounding box of the list of surfaces.
These brought the compile time of the huge bbin1.map in line with txqbsp-xt (as well as improving leaf/node counts close to what txqbsp-xt gets), but they also caused telefragged.map to leak, so I didn't merge those changes in (maybe next snapshot I'll put them in with a command-line flag, though).
#322 posted by Baker on 2015/04/28 02:29:07
How hard would it be to add all the surfaces a mirror can see to the visibility for any area that can see the mirror?
I have mirror alpha implemented in Mark V beta but I'm trying to decide how to tackle visibility.
I thought I'd ask this before I decide on a course of action.
Baker
#323 posted by ericw on 2015/04/28 03:14:53
Sounds like it wouldn't be too hard, as a postprocessing step after vis. Something like: 1) find all leafs that have a mirror in them (based on a texture prefix?) 2) for each leaf X, check whether each other leaf in its PVS is a mirror-containing leaf marked in 1. if yes, merge the mirror-leaf's PVS into X's PVS.
#324 posted by Spike on 2015/04/28 04:38:58
tbh you're probably better off doing that in the engine, if only because it means you don't have to trust the vis tools.
plus it also opens up the possibility of q3-style portals with complex gamecode.
#325 posted by Baker on 2015/04/28 04:43:04
Hehe, I've been meditating ever since ericw posted back.
Thinking about that kind of dilemma. i.e. What about moving mirrors, etc.
Also the possibility of mirrors in maps that didn't expect to have them.
I've got probably 1 more week of polishing up the engine before I think hard about this.
Holy Crap!
#326 posted by - on 2015/04/28 05:08:54
Awesome! Thank you for adding surface lights to the tools ericw! And all the other little improvements!
Mirrors
#327 posted by mh on 2015/04/28 09:03:01
Am I the only one who thinks we should have a proper standard for mirrors before building infrastructure to support them? We all remember what happened with skyboxes and fog.
Am_detail
#328 posted by anonymous user on 2015/04/28 20:55:24
is support for am_detail dropped completely in favour of func_detail?
|