Commit Graph

3990 Commits

Author SHA1 Message Date
Eric Wasylishen 984d00c5a9 tests: mark q1_lightignore as mayfail until it's investigated 2023-04-16 11:43:24 -06:00
Eric Wasylishen 8bd66592a1 docs: document -aliasdef 2023-04-15 17:45:35 -06:00
Eric Wasylishen 1634470f88 docs: misc tweaks 2023-04-14 23:26:58 -06:00
Eric Wasylishen 93f985a9e5 tests: add q1_lightignore.map test 2023-04-12 00:04:56 -06:00
Eric Wasylishen 42abdcd533 build: don't install changelog.md (it's part of the docs/ dir now) 2023-04-10 19:45:22 -06:00
Eric Wasylishen 83022a720a docs: convert changelog to rst 2023-04-10 19:27:47 -06:00
Eric Wasylishen 1a08adeca7 docs: move changelog to docs, change to .rst extension 2023-04-10 17:40:13 -06:00
Eric Wasylishen ac21db8722 common: add png loader test 2023-04-10 14:06:35 -06:00
Eric Wasylishen 3997e8c9bc imglib: add jpg/png loading using stb_image 2023-04-10 13:47:33 -06:00
Eric Wasylishen c10aee46bc 3rdparty: import stb_image.h 2023-04-10 13:47:29 -06:00
Eric Wasylishen bf8841396a docs: formatting adjustment (wrap keys in double qutes)
allows double click + copy to work correctly, previously it would copy trailing whitespace
2023-04-10 12:56:07 -06:00
Eric Wasylishen 3ac223e7c0 docs: document lighting channels 2023-04-10 12:33:43 -06:00
Eric Wasylishen addc6e922b tests: add test case for culling of surface lights in the void 2023-04-09 12:39:19 -06:00
Eric Wasylishen d1e5daedf0 light: fix lighting output change in last commit
if the center of a surface light fragment was exactly coplanar with a wall, the last commit would reject it
whereas previously, we would still emit light
2023-04-08 23:43:43 -06:00
Eric Wasylishen 28776464c7 light: MakeSurfaceLight: cull surface light fragments that are in the void 2023-04-08 16:39:09 -06:00
Eric Wasylishen 098ce84d7b light: fix minor threading bug with `total_surflight_points` stat
needs to be protected by mutex
2023-04-08 16:16:44 -06:00
Eric Wasylishen c2a787f6a3 light: add missing model offset for luxel occlusion check against bmodels with origin brush 2023-04-08 12:37:44 -06:00
Eric Wasylishen 8d368060eb qbsp: sealing: in hull1/2 treat onnode point entities as being in empty space 2023-04-07 17:06:56 -06:00
Jonathan 00bcead0fb Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-04-03 05:26:49 -04:00
Jonathan a0e98242a4 fix hintskip; when loading a hint brush, mark all other sides as hintskip 2023-04-03 05:26:41 -04:00
Eric Wasylishen a8d84ee149 light: add "minlight_mottle" as an alias for "minlightMottle" 2023-04-02 17:48:51 -06:00
Eric Wasylishen ab2569486d qbsp: q1: fix sky + detail_solid not sealing 2023-03-27 23:13:40 -06:00
Eric Wasylishen 68eaf37e40 qbsp: q1: fix detail to be non-sealing again 2023-03-27 21:43:54 -06:00
Eric Wasylishen 8830a949e6 qbsp: only print "doesn't touch two areas" once per entity
log source location as well
2023-03-27 20:15:19 -06:00
Eric Wasylishen 2a2bc5d966 qbsp: clean up debug spam from DebugAreaPortalBothSidesLeak 2023-03-27 20:09:01 -06:00
Eric Wasylishen 4569ab1b33 qbsp: delete leftover areaportal leak files on startup 2023-03-27 20:05:33 -06:00
Jonathan d067630bc1 Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-03-27 03:23:19 -04:00
Eric Wasylishen d7db2bdae5 qbsp: debug helper for finding areaportal leaks 2023-03-27 01:20:53 -06:00
Eric Wasylishen f12cefb2c9 qbsp: if Q2_CONTENTS_SOLID bit is set, always assign invalid area 2023-03-26 19:02:25 -06:00
Jonathan 0bab917dc4 Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-03-26 20:24:51 -04:00
Eric Wasylishen 759811b548 qbsp: fix Portal_EntityFlood check 2023-03-26 18:04:06 -06:00
Jonathan 50f391311e Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-03-26 19:21:14 -04:00
Eric Wasylishen a3d55f905e qbsp: fix structural solid not eating other content types 2023-03-26 17:13:34 -06:00
Jonathan 1dcfe58563 Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-03-26 18:29:41 -04:00
Jonathan 5daaeee6fb allow `surflight_minlight_scale` to be specified per brush 2023-03-26 18:29:37 -04:00
Eric Wasylishen 6e064ae3c7 qbsp: restore detail to non-sealing 2023-03-26 16:20:10 -06:00
Eric Wasylishen 3c408f5d30 qbsp: better debug visualization for "missing portal sides" warning
writes a .missing_portal_sides.prt file for inspection in TB
2023-03-26 14:09:54 -06:00
Eric Wasylishen 4ed4181962 prtfile: WriteDebugPortals: write .prt files in text mode
TB requires this
2023-03-23 09:53:33 -06:00
Jonathan b2fdd149bc Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-03-15 18:12:57 -04:00
Jonathan 415d3a66db throw warning if command name is wrong 2023-03-15 18:12:52 -04:00
Eric Wasylishen 7b7cabaf09 qbsp: don't merge above- and below- water faces in Q1 mode
works around caustics effects in ezQuake/nQuake leaking onto above-water faces.
2023-03-13 23:50:32 -06:00
Eric Wasylishen 41a4375376 qbsp: q2: reject DEADMONSTER and MONSTER in input brushes
we currently (hackily) use MONSTER as detail_wall internally (this will likely change later though.)

In any case these are invalid in input maps.
2023-03-12 23:39:25 -06:00
Eric Wasylishen 7ed36c9bec qbsp: reject Q2 maps with mixed visible contents 2023-03-07 22:12:22 -07:00
Eric Wasylishen adb7ecce15 light: remove -lightgrid_force_cube, -lightgrid_force_pot 2023-03-04 14:43:04 -07:00
Eric Wasylishen 6c3fd1503f light: remove -lightgrid_format uniform, cluster 2023-03-04 14:41:59 -07:00
Eric Wasylishen a551be5e9d light: remove lightgrid extra after experimenting 2023-03-04 14:40:28 -07:00
Eric Wasylishen e020bf1f27 light: fix lightgrid extra condition 2023-03-04 14:06:31 -07:00
Eric Wasylishen f0749450d3 light: support -extra for lightgrid 2023-03-04 11:05:50 -07:00
Jonathan 1091183293 fix infinite loop if a texture is missing in the animation chain 2023-03-03 16:48:25 -05:00
Eric Wasylishen 06f2363902 qbsp: work around 45 degree plane issue in FindPortalSide 2023-03-01 21:09:15 -07:00