Eric Wasylishen
|
e0564e8c2a
|
common: mathlib: don't need #define ANGLEEPSILON
|
2017-04-26 14:29:07 -06:00 |
Eric Wasylishen
|
ca58e90e15
|
common: remove EQUAL_EPSILON from mathlib.hh
|
2017-04-26 14:25:55 -06:00 |
Eric Wasylishen
|
902c45c946
|
all: make VectorCompare take an explicit epsilon
|
2017-04-26 14:20:45 -06:00 |
Eric Wasylishen
|
15cc98eb27
|
common: move SignedDegreesBetweenUnitVectors from qbsp, add test
|
2017-04-26 14:04:33 -06:00 |
Eric Wasylishen
|
b1f86d7ac1
|
common: implement buildMeshFromBSP
|
2017-04-24 02:01:16 -06:00 |
Eric Wasylishen
|
5eb4fd8790
|
common: make Face_Plane_E return a plane3f
|
2017-04-24 01:54:25 -06:00 |
Eric Wasylishen
|
0a64905df8
|
common: fix msvc build errors
|
2017-04-24 00:34:37 -06:00 |
Eric Wasylishen
|
68b084a6c3
|
replace glm with qvec
|
2017-04-24 00:26:49 -06:00 |
Eric Wasylishen
|
122b5ff51c
|
common: qmat: use NaN to indicate no inverse
|
2017-04-24 00:19:47 -06:00 |
Eric Wasylishen
|
7887318def
|
common: move vec_from_mangle and mangle_from_vec to mathlib
|
2017-04-23 19:31:00 -06:00 |
Eric Wasylishen
|
881f12da52
|
common: add test for RotateFromUpToSurfaceNormal
|
2017-04-23 19:28:05 -06:00 |
Eric Wasylishen
|
4da864707c
|
light: remove use of glm::quaternion
|
2017-04-23 17:58:24 -06:00 |
Eric Wasylishen
|
eeb00bf74c
|
common: tidy qmat
|
2017-04-23 17:41:19 -06:00 |
Eric Wasylishen
|
efd48b48f5
|
common: add test for matrix inverse
|
2017-04-23 16:08:58 -06:00 |
Eric Wasylishen
|
8a4d1ff218
|
common: add 4x4 (from mesa) and 2x2 matrix inverse
|
2017-04-23 15:58:51 -06:00 |
Eric Wasylishen
|
0358bc07b8
|
common: mesh_t: first draft of tjunc fixing
|
2017-04-23 02:06:20 -06:00 |
Eric Wasylishen
|
3f067e001a
|
common: add DistToLineSegment
|
2017-04-23 02:05:19 -06:00 |
Eric Wasylishen
|
56513cdb8e
|
common: add DistToLine
|
2017-04-23 01:39:59 -06:00 |
Eric Wasylishen
|
b8f5a4f8e1
|
common: change mesh_t to use qvec3f
|
2017-04-22 20:39:50 -06:00 |
Eric Wasylishen
|
4996796944
|
light: reduce size of mathlib.octree_basic perf test
|
2017-04-22 20:36:03 -06:00 |
Eric Wasylishen
|
28081f50c6
|
common: make float/double versions of aabb3
|
2017-04-22 15:11:41 -06:00 |
Eric Wasylishen
|
ee7181521d
|
fix build
|
2017-04-22 13:54:12 -06:00 |
Eric Wasylishen
|
c1189abccd
|
common: split up new octree/mesh/aabb/qvec stuff
|
2017-04-22 13:29:32 -06:00 |
Eric Wasylishen
|
60418ce9a7
|
light: add maximum switchable lights to log message
|
2017-04-22 11:53:55 -06:00 |
Eric Wasylishen
|
f4c9b6c1a7
|
mathlib: expand qvec constructors
|
2017-04-20 12:32:37 -06:00 |
Eric Wasylishen
|
814e1675c9
|
test_light.cc: add missing include
|
2017-04-19 19:59:20 -06:00 |
Eric Wasylishen
|
5b63ddbeba
|
mathlib: octree, aabb_t rework
|
2017-04-19 14:02:30 -06:00 |
Eric Wasylishen
|
055b5061f1
|
light: start a mesh_t class
|
2017-04-19 14:02:19 -06:00 |
Eric Wasylishen
|
a0a7021707
|
light: refactor position_t from tuple to class
|
2017-03-29 16:09:49 -06:00 |
Eric Wasylishen
|
10386581a6
|
light: make bounce of styled lights opt in with "_bouncestyled" worldspawn key
|
2017-03-27 16:44:04 -06:00 |
Eric Wasylishen
|
f957cba775
|
light: experimental bounce version using final gather
|
2017-03-21 21:01:09 -06:00 |
Eric Wasylishen
|
b911c70372
|
light: do bounce after phong
|
2017-03-19 14:20:47 -06:00 |
Eric Wasylishen
|
30d9a53341
|
light: move FractionOfLine to mathlib
|
2017-03-18 23:26:16 -06:00 |
Eric Wasylishen
|
3e7b4448c1
|
mathlib: add GLM_PolyArea
|
2017-03-18 23:26:10 -06:00 |
Eric Wasylishen
|
15dd49e093
|
light: fix last commit
|
2017-03-18 17:04:22 -06:00 |
Eric Wasylishen
|
9c82068160
|
light: phong: guard against accessing phong caches before they are built
|
2017-03-18 16:43:22 -06:00 |
Eric Wasylishen
|
880ad3b381
|
bpsutil, common, light, vis: bounds check bsp->dfaces access
|
2017-03-18 16:31:52 -06:00 |
Eric Wasylishen
|
29884e2b4a
|
bsputils: add bounds checking to Face_GetNum
|
2017-03-18 16:17:01 -06:00 |
Eric Wasylishen
|
8a83e3d351
|
light: BounceLightsForFaceNum(): return indices so we have 1 main copy of the bounce lights
|
2017-03-15 13:22:43 -06:00 |
Eric Wasylishen
|
c2c3e915e6
|
light: fix leak of lightsurf->realfacenums
|
2017-03-15 13:22:35 -06:00 |
Eric Wasylishen
|
18b75ec904
|
light: rewrite -bouncelightsdebug to handle patches smaller than a face
|
2017-03-15 10:59:40 -06:00 |
Eric Wasylishen
|
33fbe56e12
|
light: save poly edge planes for bouncelights
|
2017-03-15 10:59:31 -06:00 |
Eric Wasylishen
|
1d66039b2c
|
light: save poly for bouncelights
|
2017-03-15 10:59:25 -06:00 |
Eric Wasylishen
|
154158ddba
|
light: BounceLightsForFaceNum: avoid an unnecessary std::vector copy
|
2017-03-15 10:59:16 -06:00 |
Eric Wasylishen
|
b8f015d452
|
light: Texture_AvgColor: return glm vector
|
2017-03-12 15:56:46 -06:00 |
Eric Wasylishen
|
686696c362
|
light: Palette_GetColor: return glm vector
|
2017-03-12 15:41:52 -06:00 |
Eric Wasylishen
|
102bdc49f0
|
light: drop IntersectSingleModel api
|
2017-03-12 15:06:07 -06:00 |
Eric Wasylishen
|
0eb6864744
|
mathlib: add GLM_PolyRandomPoint
|
2017-03-12 12:58:36 -06:00 |
Eric Wasylishen
|
63e8f42c87
|
light: ray stream api: allow getting hit face
|
2017-03-07 13:37:52 -07:00 |
Eric Wasylishen
|
553f02d582
|
light: restore performance of bounce lighting
|
2017-03-06 22:50:20 -07:00 |