#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?
Surface Lights Screenshot
#329 posted by ericw on 2015/04/29 00:20:14
https://twitter.com/back2cccp/status/593157752442253312
just to clarify how this works, it's nothing more than automated copy & paste by the compiler. the "_surface" key is put on a light, this turns that light into a template
#330 posted by JneeraZ on 2015/04/29 01:37:56
Nice, and I like that implementation ...
This is already being used in my retro jam map :)
#332 posted by JneeraZ on 2015/04/30 01:56:17
My god. This is amazing. Just had a play with it tonight ... it's like getting lighting for free. Fuck ... FUCK. Gotta map...
Glad To Hear It
#333 posted by ericw on 2015/04/30 05:02:28
Minor Qbsp Update
#334 posted by ericw on 2015/04/30 08:25:07
win32 os x src
* qbsp: fix broken -onlyents flag
* qbsp: fix texture offset on rotate_object, so they match in the
editor. Added "-oldrottex" flag to revert to old behaviour. From txqbsp-xt.
No changes to light though.
|