Eric Wasylishen
|
b849a79c3f
|
light: move GetDir to mathlib
|
2016-08-11 14:16:23 -06:00 |
Eric Wasylishen
|
9f607b858b
|
light: Add GetLightDist function
|
2016-08-10 12:22:41 -06:00 |
Eric Wasylishen
|
28b034a172
|
light: drop visdata support, no longer needed
|
2016-08-10 00:49:41 -06:00 |
Eric Wasylishen
|
3d19354514
|
light: EstimateVisibleBoundsAtPoint: increase to 1024 samples to fix lightstest1.map.
remove randomness. only expand AABB by 1% down from 10%, since using 1024 samples now, bbox will be closer to the actual one.
|
2016-08-09 23:31:48 -06:00 |
Eric Wasylishen
|
908cb177d4
|
docs: update README.md
|
2016-08-09 22:21:46 -06:00 |
Eric Wasylishen
|
f3a1700d13
|
light: scale and clamp before smoothing, downscaling. fixes https://github.com/ericwa/tyrutils-ericw/issues/15
|
2016-08-09 22:19:11 -06:00 |
Eric Wasylishen
|
125f35e35f
|
light: coding style fixes
|
2016-08-09 21:47:20 -06:00 |
Eric Wasylishen
|
e3627ddd3d
|
light: lightstest1.map: add test case for https://github.com/ericwa/tyrutils-ericw/issues/15
|
2016-08-09 21:22:16 -06:00 |
Eric Wasylishen
|
f857ab5820
|
light: remove redundant message
|
2016-08-09 21:19:24 -06:00 |
Eric Wasylishen
|
59f1ef9a1e
|
light: bounce: only save style 0 lightmap if some traces hit
|
2016-08-09 20:55:28 -06:00 |
Eric Wasylishen
|
af2f68c036
|
light: culling for local minlights
|
2016-08-09 19:37:52 -06:00 |
Eric Wasylishen
|
df8669a5fe
|
light: record stats for local minlight ents
|
2016-08-09 19:37:40 -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
|
0c63d61a60
|
common: mathlib: use EQUAL_EPSILON in AABBsDisjoint
|
2016-08-09 16:41:11 -06:00 |
Eric Wasylishen
|
0b6578e4b3
|
common: mathlib: add some AABB functions
|
2016-08-09 16:27:51 -06:00 |
Eric Wasylishen
|
1e39cb8824
|
build: disable a msvc warning
|
2016-08-09 16:07:07 -06:00 |
Eric Wasylishen
|
d3070a18a4
|
common: build fix (M_PI -> Q_PI)
|
2016-08-09 16:05:43 -06:00 |
Eric Wasylishen
|
9340ce223a
|
build: clean up request for C++11. require cmake 3.1 (which introduced CMAKE_CXX_STANDARD)
|
2016-08-09 16:00:09 -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
|
3d5ab0db68
|
light: use LightSample_Brightness
|
2016-08-09 00:41:49 -06:00 |
Eric Wasylishen
|
3f573bd276
|
light: fix sign error in sunlight2 positioning
|
2016-08-08 20:36:31 -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
|
9004bed24e
|
light: don't add 0 brightness suns
|
2016-08-07 16:33:13 -06:00 |
Eric Wasylishen
|
5e6f2220e8
|
light: quick hack fix of spotlights in bounce mode
|
2016-08-06 17:31:39 -06:00 |
Eric Wasylishen
|
718ffdc789
|
build: disable some warnings on msvc
|
2016-08-06 16:03:00 -07: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
|
1c94d4b157
|
Revert "build: new windows build script"
This reverts commit a2a5ec9269d1d28084b5b501da7fb17787262773.
|
2016-08-06 12:04:14 -07:00 |
Eric Wasylishen
|
30933856c3
|
build: more appveyor
|
2016-08-06 11:40:08 -07:00 |
Eric Wasylishen
|
3943be80d7
|
build: tweak appveyor
|
2016-08-06 11:37:00 -07:00 |
Eric Wasylishen
|
7689235eff
|
build: try fixing appveyor
|
2016-08-06 11:32:47 -07:00 |
Eric Wasylishen
|
8fe28047a3
|
build: new windows build script
|
2016-08-06 11:12:06 -07:00 |
Eric Wasylishen
|
292d35879b
|
build: restore mingw support
|
2016-08-05 04:07:01 -04:00 |
Eric Wasylishen
|
f617d5d773
|
update gitignore
|
2016-08-04 16:33:20 -06: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
|
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
|
cbd7290e3c
|
light: log when writing litfile
|
2016-07-31 17:54:00 -06:00 |
Eric Wasylishen
|
307d0efc28
|
light: minor cleanups
|
2016-07-31 17:00:35 -06:00 |