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
|
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
|
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
|
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
|
33093151c6
|
common: ClipWinding: fix constness
|
2016-09-10 15:32:50 -06:00 |
Eric Wasylishen
|
ce812f5570
|
light: apply AO when calculating how much light a surface reflects (wrong? but matches 0.15.5)
|
2016-09-08 21:07:29 -06:00 |
Eric Wasylishen
|
18797f81c0
|
light: fix for -dirt not implying -minlight_dirt, -sunlight_dirt, -sunlight2_dirt
|
2016-09-08 15:21:18 -06:00 |
Eric Wasylishen
|
f6c4309f6d
|
light: catch std::stof parse exceptions and log a warning
|
2016-09-07 20:04:53 -06:00 |
Eric Wasylishen
|
5e9b62dc8b
|
light: add "testlight" target
|
2016-08-15 21:18:14 -06:00 |
Eric Wasylishen
|
07dd9d72b2
|
light: add missing include
|
2016-08-12 19:22:04 -06:00 |
Eric Wasylishen
|
d7948c4bdd
|
light: move settings system to its own files
|
2016-08-12 19:15:25 -06:00 |
Eric Wasylishen
|
a0f3881698
|
light: refactor global settings into a class
|
2016-08-12 18:49:32 -06:00 |
Eric Wasylishen
|
ed43b29489
|
light: store normal contribution in ray stream
|
2016-08-12 11:51:27 -06:00 |
Eric Wasylishen
|
b849a79c3f
|
light: move GetDir to mathlib
|
2016-08-11 14:16:23 -06:00 |
Eric Wasylishen
|
28b034a172
|
light: drop visdata support, no longer needed
|
2016-08-10 00:49:41 -06:00 |
Eric Wasylishen
|
677875a63e
|
light: cull lights based on estimated visible AABB of each light
|
2016-08-09 18:16:32 -06:00 |
Eric Wasylishen
|
4fb903bd8e
|
common: add more AABB functions
|
2016-08-09 17:56:55 -06:00 |
Eric Wasylishen
|
79525b9aee
|
common: mathlib: add UniformPointOnSphere
|
2016-08-09 17:20:51 -06:00 |
Eric Wasylishen
|
1d4de5c17d
|
light: add more performance stats
|
2016-08-09 17:11:08 -06:00 |
Eric Wasylishen
|
0b6578e4b3
|
common: mathlib: add some AABB functions
|
2016-08-09 16:27:51 -06:00 |
Eric Wasylishen
|
637f3e4c1f
|
light: fix compile error
|
2016-08-09 15:51:16 -06:00 |
Eric Wasylishen
|
4be2fe289e
|
common: add RandomDir
|
2016-08-09 15:29:23 -06:00 |
Eric Wasylishen
|
7d5067bddd
|
light: Add stats
|
2016-08-09 01:15:26 -06:00 |
Eric Wasylishen
|
68e1736ad1
|
light: move more stuff to bsputils.cc
|
2016-08-07 23:07:20 -06:00 |
Eric Wasylishen
|
486606eb88
|
light: rename GetSurfaceVertex to Face_VertexAtIndex
|
2016-08-07 22:57:45 -06:00 |
Eric Wasylishen
|
1a0fb22e40
|
light: move some helper functions to common/bsputils.{h,cc}
|
2016-08-07 22:55:44 -06:00 |
Eric Wasylishen
|
939778bd23
|
build: add snprintf wrapper from QuakeSpasm (vs2013 compat)
|
2016-08-06 15:47:40 -07:00 |
Eric Wasylishen
|
a807204fe6
|
build: vs2013 compat changes
|
2016-08-06 15:37:00 -07:00 |
Eric Wasylishen
|
7029ed5713
|
light: clean headers
|
2016-08-04 16:32:04 -06:00 |
Eric Wasylishen
|
fcc54c547f
|
light: change CalcPoints to only trace the model the face belongs to
|
2016-08-04 12:24:07 -06:00 |
Eric Wasylishen
|
2a3b87bf1f
|
light: rework bounce lighting for less memory use
|
2016-08-03 14:00:58 -06:00 |
Eric Wasylishen
|
607706a684
|
light: fix dangling pointers when a light_t is copied
|
2016-08-01 21:38:03 -06:00 |
Eric Wasylishen
|
b4e0a7a5fa
|
light: GetLightValue: remove extra param
|
2016-07-31 18:53:41 -06:00 |
Eric Wasylishen
|
307d0efc28
|
light: minor cleanups
|
2016-07-31 17:00:35 -06:00 |
Eric Wasylishen
|
03f703d931
|
light: remove redundant light value from lightsample_t
|
2016-07-31 11:47:27 -06:00 |
Eric Wasylishen
|
882348ac0a
|
light: use embree ray stream api
|
2016-07-30 00:40:45 -06:00 |
Eric Wasylishen
|
225a155efd
|
light: fix unwanted phong on everything
|
2016-07-29 19:48:28 -06:00 |
Eric Wasylishen
|
6bb842cd47
|
light: refactor tracelist and selfshadowlist to be std::vector
|
2016-07-29 15:56:48 -06:00 |
Eric Wasylishen
|
14f0af42be
|
light: add an assertion for settings system
|
2016-07-29 15:50:39 -06:00 |
Eric Wasylishen
|
a0d3a90df9
|
light: fix uninitialized model offset causing messed up lighting on submodels (!)
|
2016-07-29 13:34:42 -06:00 |
Eric Wasylishen
|
f4a363b416
|
light: make DirtTrace return a hittype_t
|
2016-07-27 13:07:50 -06:00 |
Eric Wasylishen
|
2771041a0a
|
light: lockable_setting_t: fix isLocked()
|
2016-07-27 12:31:30 -06:00 |