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
|
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
|
700e8d089f
|
light: add -verbose option
|
2016-09-17 23:49:41 -06:00 |
Eric Wasylishen
|
bcddaf10dd
|
docs: update
|
2016-09-09 13:30:36 -06:00 |
Eric Wasylishen
|
eaec325ab4
|
light: bounce: area-weight the patches when averaging them to get the light to emit for a face
|
2016-09-08 21:39:37 -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
|
66184a3849
|
light: CalcualateVertexNormals: skip degenerate faces
|
2016-09-07 15:12:19 -06:00 |
Eric Wasylishen
|
5e9b62dc8b
|
light: add "testlight" target
|
2016-08-15 21:18:14 -06:00 |
Eric Wasylishen
|
a0f3881698
|
light: refactor global settings into a class
|
2016-08-12 18:49:32 -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
|
1d4de5c17d
|
light: add more performance stats
|
2016-08-09 17:11:08 -06:00 |
Eric Wasylishen
|
7d5067bddd
|
light: Add stats
|
2016-08-09 01:15:26 -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
|
7029ed5713
|
light: clean headers
|
2016-08-04 16:32:04 -06:00 |
Eric Wasylishen
|
2a3b87bf1f
|
light: rework bounce lighting for less memory use
|
2016-08-03 14:00:58 -06:00 |
Eric Wasylishen
|
9f0f2cdf83
|
light: add debug dump for lights
|
2016-08-01 21:38:14 -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
|
fee5669dbf
|
light: refactor checking if we need to write a litfile
|
2016-07-31 18:06:44 -06:00 |
Eric Wasylishen
|
225a155efd
|
light: fix unwanted phong on everything
|
2016-07-29 19:48:28 -06:00 |
Eric Wasylishen
|
d7bb75ae97
|
light: modelinfo: change to storing pointers in std::vector rather than modelinfo_t
|
2016-07-29 16:01:34 -06:00 |
Eric Wasylishen
|
6bb842cd47
|
light: refactor tracelist and selfshadowlist to be std::vector
|
2016-07-29 15:56:48 -06:00 |
Eric Wasylishen
|
b669767fe0
|
light: add an assertion for model offsets
|
2016-07-29 15:51:26 -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
|
c3de3eb99a
|
light: -dumpface: also print model number
|
2016-07-29 12:28:15 -06:00 |
Eric Wasylishen
|
5b9405a93e
|
light: move suns to a std::vector
|
2016-07-27 11:05:54 -06:00 |
Eric Wasylishen
|
2651c79307
|
light: fixes to settings system
|
2016-07-27 02:20:25 -06:00 |
Eric Wasylishen
|
a68979a57b
|
light: add -nolights option
|
2016-07-27 02:00:11 -06:00 |
Eric Wasylishen
|
6da4ab87ae
|
light: reorganize settings
|
2016-07-27 00:49:34 -06:00 |
Eric Wasylishen
|
7757e834a3
|
light: clean up dirtmapping logic
|
2016-07-26 21:08:04 -06:00 |
Eric Wasylishen
|
da64f27015
|
light: add lockable_bool_t
|
2016-07-26 20:50:32 -06:00 |
Eric Wasylishen
|
fb1288a5c0
|
light: rename entity_t to light_t
|
2016-07-26 18:03:43 -06:00 |
Eric Wasylishen
|
f729171a44
|
light: entities: clean out some dead code
|
2016-07-26 18:01:28 -06:00 |
Eric Wasylishen
|
9279c86fb5
|
light: fix -addmin switch (temporary hack)
|
2016-07-26 16:09:16 -06:00 |
Eric Wasylishen
|
dc8525dfd2
|
light: entities: refactor EntDict_VectorForKey
|
2016-07-26 13:12:57 -06:00 |
Eric Wasylishen
|
02a2cee6a7
|
light: store lights in a vector (untested)
|
2016-07-26 02:13:58 -06:00 |
Eric Wasylishen
|
0501f07673
|
light: clean WorldValueForKey/SetWorldKeyValue
|
2016-07-24 16:56:40 -06:00 |
Eric Wasylishen
|
ca507336ca
|
light: use entdicts array for FIndModelInfo
|
2016-07-24 16:08:38 -06:00 |
Eric Wasylishen
|
203c32a613
|
light: misc fixes. lights not casting on world?
|
2016-07-24 12:55:07 -06:00 |
Eric Wasylishen
|
2c350b1f21
|
light: finish porting modelinfo reading to settings system
|
2016-07-24 00:31:58 -06:00 |
Eric Wasylishen
|
5566e1f85d
|
light: convert modelinfo_t to use settings system
|
2016-07-24 00:26:42 -06:00 |
Eric Wasylishen
|
cc2bb5158a
|
light: add class for a dictionary of settings
|
2016-07-23 22:54:32 -06:00 |
Eric Wasylishen
|
0cd0778860
|
light: fix typo, min_color should have been mincolor
|
2016-07-23 22:54:17 -06:00 |
Eric Wasylishen
|
2e9c58fb46
|
light: move command-line parsing to use settings system
|
2016-07-23 21:43:54 -06:00 |
Eric Wasylishen
|
df62b9fa16
|
light: handle worldspawn keys through new settings system
|
2016-07-23 20:26:09 -06:00 |
Eric Wasylishen
|
8b8cc4a37a
|
light: add transformers for color and mangle
|
2016-07-22 14:02:43 -06:00 |
Eric Wasylishen
|
f7d3bfbeb3
|
Merge branch 'stable'
|
2016-07-20 19:12:23 -06:00 |