Eric Wasylishen
c6386c8ec0
light: fix format string warnings
2018-07-23 23:12:03 -06:00
Eric Wasylishen
af6d4744fc
SetQdirFromPath: don't make it an error if the qdir/gamedir/basedir
...
can't be found.
2018-07-23 23:00:56 -06:00
Eric Wasylishen
80dc99ebee
vis: soundpvs.cc:SurfaceBBox: fix uninitialized mins[2]/maxs[2], spotted by anotak
2018-07-06 23:04:01 -06:00
MaxED
07447a633e
Rewritten parts of surface light logic. Should resemble qrad3 looks a bit more now...
...
Added "surflightscale", "surflightbouncescale" and "surflightsubdivision" cmdline/worldspawn settings.
Fixed: a face should not be skipped when it has both sky and nodraw texinfo flags.
Fixed some non-windows compilation errors.
2018-05-25 14:59:22 +03:00
MaxED
520ad485a4
Merge branch 'master' of https://github.com/ericwa/ericw-tools into q2-surfacelights
2018-05-08 15:50:45 +03:00
MaxED
0661098bc5
Quake 2 support: area lights, palette/texture loading, transparent/sky/fence face flags.
2018-05-08 15:50:01 +03:00
MaxED
00e60f923e
Q2 doesn't need .lit files ( #211 )
...
* Ignore embree
* Don't ignore embree...
* Q2 doesn't need .lit files.
Also fixed a typo.
2018-04-14 15:43:46 -07:00
MaxED
fc6a8d722a
Merge branch 'master' of https://github.com/ericwa/ericw-tools
2018-04-13 11:47:13 +03:00
Eric Wasylishen
8164506d30
qbsp: read valve 220 with q2/q3 flags
...
Fixes #212
2018-04-12 15:07:07 -06:00
MaxED
83a61cb582
Don't ignore embree...
2018-04-12 13:32:05 +03:00
MaxED
7ceb1fd753
Ignore embree
2018-04-12 12:55:29 +03:00
Eric Wasylishen
b6e2431f29
docs: update Changelog
2018-04-05 22:37:19 -06:00
Eric Wasylishen
f663792307
light: fix surface lights crash
2018-04-05 22:32:22 -06:00
Eric Wasylishen
02e66edd5b
qbsp: make "too many edges" have a clear error message, instead of
...
an assertion failure
2018-04-05 22:18:28 -06:00
Eric Wasylishen
51c9a063ee
docs: update changelog
2018-03-23 15:03:47 -06:00
Eric Wasylishen
4491598bdb
qbsp: fix qbsp crash when worldspawn has 0 brushes
2018-03-23 14:48:20 -06:00
Eric Wasylishen
7bb84a7119
vis: fix "average leafs visible" overflowing
2018-03-18 20:02:35 -06:00
Eric Wasylishen
30c19ab9da
qbsp: support reading Q2/Q3 detail flag
2018-03-18 19:50:35 -06:00
Eric Wasylishen
f92b48a8cb
qbsp: experimental _noclipfaces key
2018-03-13 12:23:41 -06:00
Eric Wasylishen
c9b32214c1
qbsp: fix "_mirrorinside" on bmodels.
...
NOTE: This turns the contents of bmodels to CONTENTS_EMPTY if
"_mirrorinside" is used. This is not ideal (e.g. if used on a func_door,
bullets will go through the door but it blocks the player), but it's
usable for func_illusionary at least.
2018-03-12 21:15:31 -06:00
Eric Wasylishen
2cc78c235b
docs: clarify external map angle
2018-03-05 20:53:03 -07:00
Eric Wasylishen
cf89e7c2b8
docs: document _phong_angle_concave
2018-02-18 16:57:54 -07:00
Eric Wasylishen
18f060a04f
docs: update changelog
2018-02-18 16:52:49 -07:00
Eric Wasylishen
7b341e1b55
BSPX_AddLump: copy the input data
2018-02-18 16:06:56 -07:00
Eric Wasylishen
992484f173
common: fix SafeWrite error msg
2018-02-09 11:05:11 -07:00
Eric Wasylishen
339c1d0219
light: add area weighting to phong calculation
2018-01-31 22:52:30 -07:00
Eric Wasylishen
cae501972e
light: _phong_angle_concave support
2018-01-30 01:48:25 -07:00
Eric Wasylishen
94dbd0a705
qbsp: _phong_angle_concave support
2018-01-30 01:20:38 -07:00
Eric Wasylishen
93e06d4933
docs: update changelog
2018-01-30 01:18:24 -07:00
Eric Wasylishen
3b3d753cf4
qbsp: make -omitdetail affect all detail types
2018-01-30 01:10:25 -07:00
Eric Wasylishen
c03a35d5c7
docs: update changelog
2018-01-29 02:03:07 -07:00
Eric Wasylishen
b3cd6ccc1a
light: GLM_InterpolateNormal: make more robust against degenerate tris
2018-01-28 02:29:24 -07:00
Eric Wasylishen
6b14e166b8
light: make GLM_InterpolateNormal return failure on degenerate input
2018-01-28 02:19:09 -07:00
Eric Wasylishen
95e9fdcd21
qbsp: tidy up "repairing" warning message
2018-01-28 02:03:00 -07:00
Eric Wasylishen
84bf594892
qbsp: heal invalid texture projections
2018-01-28 01:55:09 -07:00
Eric Wasylishen
23b25a0a0e
qbsp: add failing tests for healing invalid texture projections
2018-01-28 01:54:58 -07:00
Eric Wasylishen
5a90667738
test: rename *.MAP to *.map
2018-01-15 21:48:00 -07:00
Eric Wasylishen
c3183429fb
light: fix for inalid_texture_axes.map
2018-01-15 20:33:52 -07:00
Eric Wasylishen
ab0a9d15ce
test: fix build-linux-64.sh
2018-01-15 20:29:21 -07:00
Eric Wasylishen
af66ccf0f1
test: also run map tests on linux
2018-01-15 20:24:16 -07:00
Eric Wasylishen
44fc2ab05a
test: add invalid_texture_axes.map
...
contributed by ww at:
http://celephais.net/board/view_thread.php?id=61542&start=13&end=13
2018-01-15 20:09:20 -07:00
Eric Wasylishen
d10dec1803
light: make GLM_PolyCentroid accept degenerate faces (todo: must rename these)
2018-01-12 00:36:12 -07:00
Eric Wasylishen
82e3aef283
light: add FacePairConcavity
2018-01-11 21:57:48 -07:00
Eric Wasylishen
a2db5a4ebe
qbsp: document -leaktest
2018-01-09 20:41:54 -07:00
Eric Wasylishen
57510eab0e
qbsp: remove hint/skip texinfo clearing hack.
...
Fixes https://github.com/ericwa/ericw-tools/issues/196
This should be by stripping unreferenced texinfo at the end of compiling
2018-01-06 01:29:31 -07:00
Eric Wasylishen
5e05193c98
docs: update changelog
2017-12-28 15:11:22 -07:00
Eric Wasylishen
ebb508c7db
light: remove transparent lightmaps spam
2017-12-28 12:50:32 -07:00
Eric Wasylishen
5e472bf817
bsputil: --check: log world mins/maxs
2017-12-12 20:48:57 -07:00
Eric Wasylishen
3675805f54
light: add some disabled code
2017-12-11 00:40:41 -07:00
Eric Wasylishen
91abc7362d
light: add flood-filling to fix black seams in detailwall.map when no -extra/-extra4 used
2017-12-11 00:39:04 -07:00