Eric Wasylishen
|
c7d6f064aa
|
build: tweaking travis script (don't install groff on osx)
|
2016-10-02 22:02:17 -06:00 |
Eric Wasylishen
|
2b0abed4dc
|
build: tweaking travis script
|
2016-10-02 21:23:56 -06:00 |
Eric Wasylishen
|
0424d87a3d
|
build: try to get travis.yml to build on liunux and osx
|
2016-10-02 21:10:18 -06:00 |
Eric Wasylishen
|
e3775e7f09
|
qbsp: accept absolute paths to map file (thanks lurq)
|
2016-09-24 12:34:29 -06:00 |
Eric Wasylishen
|
da2253c8aa
|
readme: more ubuntu build updates
|
2016-09-23 15:23:36 -06:00 |
Eric Wasylishen
|
e1ad11b89d
|
readme: update Ubuntu build command a bit
|
2016-09-23 15:21:08 -06:00 |
Eric Wasylishen
|
299e68e7e5
|
build: support Ubuntu 14.04
|
2016-09-23 15:13:58 -06:00 |
Eric Wasylishen
|
ec37b52807
|
light: disable "denormals are zero", causing build issues on gcc4.8/linux
|
2016-09-23 00:43:28 -06:00 |
Eric Wasylishen
|
882fbaa5e0
|
build-linux.sh: make verbose
|
2016-09-23 00:28:28 -06:00 |
Eric Wasylishen
|
27d6aa74b9
|
build: make travis use new build-linux.sh script
|
2016-09-23 00:18:31 -06:00 |
Eric Wasylishen
|
048e19fbf2
|
build: make building on linux with embree easier
|
2016-09-23 00:06:21 -06:00 |
Eric Wasylishen
|
fedc7926ff
|
light: update changelog / man
|
2016-09-22 16:14:33 -06:00 |
Eric Wasylishen
|
57834c438b
|
light: add "_lightignore" model key
|
2016-09-20 16:15:12 -06:00 |
Eric Wasylishen
|
e3bd63eef2
|
update changelog
|
2016-09-20 13:31:58 -06:00 |
Eric Wasylishen
|
c615839abb
|
light: don't save lightmaps where the maximum brightness is < 1
|
2016-09-20 00:17:12 -06:00 |
Eric Wasylishen
|
46a56df19f
|
light: add -bouncelightsdebug switch to render bounce lights
|
2016-09-20 00:04:02 -06:00 |
Eric Wasylishen
|
801d9652c0
|
common: add util function to get a face number
|
2016-09-20 00:01:15 -06:00 |
Eric Wasylishen
|
1d7fea8486
|
light: simplify debug mode condition
|
2016-09-19 22:14:40 -06:00 |
Eric Wasylishen
|
9500fd8ebb
|
light: apply minlight after adding bounce lights
|
2016-09-19 19:47:53 -06:00 |
Eric Wasylishen
|
722f753d8d
|
light: remove some unused vis-testing stuff
|
2016-09-19 19:21:04 -06:00 |
Eric Wasylishen
|
f7091c27f8
|
light: add some tests for the EntDict_Check* functions
|
2016-09-19 19:16:45 -06:00 |
Eric Wasylishen
|
26dcb4f10f
|
light: refactor warnings code. warn if an entity targets itself
|
2016-09-19 18:28:16 -06:00 |
Eric Wasylishen
|
12f55292f7
|
light: CheckTargetsMatched: for "targetname with no targetter" warning, allow any key to be the targetter
|
2016-09-19 16:08:08 -06:00 |
Eric Wasylishen
|
05251d9e1a
|
light: fix "options summary" log header
|
2016-09-19 14:46:16 -06:00 |
Eric Wasylishen
|
4ec0a62ce8
|
light: CheckEmptyValues: print entity classname and origin
|
2016-09-19 14:42:04 -06:00 |
Eric Wasylishen
|
d4395bc660
|
light: improved CheckTargets
|
2016-09-19 14:34:36 -06:00 |
Eric Wasylishen
|
63d2bcf91c
|
light: move empty values check to its own function
|
2016-09-19 14:28:50 -06:00 |
Eric Wasylishen
|
fdb5394cc5
|
light: remove hack requiring a light to add 1 unit of light to a lightmap, as it can cause artifacts, and it's redundant with -gate
|
2016-09-19 12:34:32 -06:00 |
Eric Wasylishen
|
28bec79830
|
light: add more fuzz (25%) to the bbox size for vis approximation.
Not sure if this is necessary, but fixes a tricky case in lightstest1.map (infinite reach light casting a sharp shadow across a large room)
|
2016-09-19 12:27:02 -06:00 |
Eric Wasylishen
|
1045505670
|
light: avoid bouncing negative lights
|
2016-09-19 12:15:26 -06:00 |
Eric Wasylishen
|
b4e30032a3
|
light: MakeBounceLightsThread: avoid zero-area or small patches, which were getting NaN colors
|
2016-09-19 12:11:41 -06:00 |
Eric Wasylishen
|
8dab875adc
|
light: CheckTargets: also check for unmatched targetnames
|
2016-09-18 17:30:21 -06:00 |
Eric Wasylishen
|
18f0b89ee6
|
light: build fix for MSVC
|
2016-09-18 15:50:31 -06:00 |
Eric Wasylishen
|
0786b513a2
|
light: fix build of 073ede98c7
|
2016-09-18 15:46:42 -06:00 |
Eric Wasylishen
|
494f9bb050
|
common: make Q_assert inline
|
2016-09-18 15:44:04 -06:00 |
Eric Wasylishen
|
857b4402ad
|
light: change assertions to Q_assert (so they are all enabled in release builds)
|
2016-09-18 15:41:56 -06:00 |
Eric Wasylishen
|
b2fb764e36
|
common: new assertion macro used in all builds (debug/release)
|
2016-09-18 15:39:16 -06:00 |
Eric Wasylishen
|
073ede98c7
|
light: when there are too many lightstyles on a face, sort them by descending average brightness and take the top 4
previous behaviour was random, which made needlessly ugly artifacts.
|
2016-09-18 15:12:57 -06:00 |
Eric Wasylishen
|
a8047d5220
|
light: lightstest1.map: add test for "too many lightstyles on a face"
|
2016-09-18 03:14:02 -06:00 |
Eric Wasylishen
|
a2dc35a91f
|
light: fix debug logging
|
2016-09-18 03:03:29 -06:00 |
Eric Wasylishen
|
2b43ecca40
|
light: lightstest1.map: show a failure case for the vis approximation (infinite falloff lights over long distances)
|
2016-09-18 03:02:57 -06:00 |
Eric Wasylishen
|
8bff999601
|
light: move lightmaps array to lightsurf_t
|
2016-09-18 02:22:26 -06:00 |
Eric Wasylishen
|
700e8d089f
|
light: add -verbose option
|
2016-09-17 23:49:41 -06:00 |
Eric Wasylishen
|
81c7b39fa7
|
light: tidy LightStyleForTargetname
|
2016-09-17 17:49:01 -06:00 |
Eric Wasylishen
|
f5d347a18d
|
light: always assign "style" if targetname is set on a light
|
2016-09-17 17:48:11 -06:00 |
Eric Wasylishen
|
1a74834221
|
light: never receive dirtmapping on lit liquids
|
2016-09-16 11:37:04 -06:00 |
Eric Wasylishen
|
c7d210dc3a
|
light: special case support for skip-textured bmodels in the embree backend.
It only supports bmodels where all the faces are skipped
|
2016-09-10 18:32:22 -06:00 |
Eric Wasylishen
|
33093151c6
|
common: ClipWinding: fix constness
|
2016-09-10 15:32:50 -06:00 |
Eric Wasylishen
|
ad0942ad24
|
light: testshadows.map: add some skip textures
|
2016-09-10 13:49:38 -06:00 |
Eric Wasylishen
|
d7ba0330a6
|
light: restore "unmatched target" warning
|
2016-09-10 10:10:06 -06:00 |