Commit Graph

1869 Commits

Author SHA1 Message Date
Eric Wasylishen 2df839cfc2 light: Add "_bounce" "-1" to disable bouncing for a func_detail/etc. 2019-01-22 00:02:46 -07:00
Eric Wasylishen 0ac4909396 qbsp: change outside.cc to not fill leafs that have faces that are
straddling in and out of the void.

Previously, we were just deleting these faces, leaving HOMs.
Keeping them but filling the leaf in as solid doesn't work either, because
if they are the only faces left in the leaf it messes up the content type
determination later.

Fixes test_tjunc01.map test case from Qmaster.
2019-01-19 21:56:05 -07:00
Eric Wasylishen 8a47233bbf bsputil: start a --compare feature for helping with qbsp testing 2019-01-10 02:58:37 -07:00
Eric Wasylishen 4a360989f3 qbsp: add -worldextent option for compiling large maps, default 65536 2018-12-24 01:53:08 -07:00
Hugo Locurcio f537fc2747 Fix typos in `light` manual page (#237) 2018-11-07 20:21:48 -08:00
Hauke Rehfeld f2d42d74f4 Fix: embree url to 2.17.5 (#228)
* Fix: embree url to 2.17.5

Build was broken with 2.14, this is the current version and seems to build on arch.

* fix: cmake path in embree tarball also needs fixing
2018-09-02 17:13:01 -07:00
Eric Wasylishen fc72bbb935 qbsp: fix _mirrorinside on bmodels so that they have CONTENTS_SOLID
as expected
2018-08-28 21:23:08 -06:00
Eric Wasylishen d53c298bd8 Merge branch 'q2-surfacelights' 2018-07-24 00:49:42 -06:00
Eric Wasylishen fa06716545 common: make VecStrf/VecStr threadsafe 2018-07-24 00:18:43 -06:00
Eric Wasylishen e6411b2cee light: alternate fix for lockable_vec_t::stringValue() 2018-07-24 00:12:31 -06:00
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