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 |
Eric Wasylishen
|
8e24cc764d
|
Revert "build: force a test failure"
This reverts commit f45a1a715d.
|
2017-03-06 14:01:56 -08:00 |
Eric Wasylishen
|
e314a3547f
|
light: vs2013 doesn't support constexpr
|
2017-03-06 13:54:47 -08:00 |
Eric Wasylishen
|
f45a1a715d
|
build: force a test failure
|
2017-03-06 13:48:48 -07:00 |
Eric Wasylishen
|
48a6314dfb
|
light: bounce styled lights
|
2017-03-05 20:05:34 -07:00 |
Eric Wasylishen
|
bc5d293072
|
light: try moving rpath setting in CMakeLists.txt
|
2017-03-05 13:21:29 -07:00 |
Eric Wasylishen
|
461afbc15d
|
light: remove ltface2.cc/hh
|
2017-03-01 13:20:09 -07:00 |
Eric Wasylishen
|
b163f766bb
|
light: drop unneeded light2.cc/hh
|
2017-02-27 19:10:55 -07:00 |
Eric Wasylishen
|
34947ced9c
|
light: delete RotationAboutLineSegment
|
2017-02-27 19:06:28 -07:00 |
Eric Wasylishen
|
69d5669773
|
light: delete some dead code
|
2017-02-27 17:43:56 -07:00 |
Eric Wasylishen
|
d513f43540
|
light: remove more tuple initializer lists
|
2017-02-27 12:40:03 -07:00 |
Eric Wasylishen
|
1c80f8c8d8
|
light: don't use initializer lists to construct tuples (for gcc)
|
2017-02-27 12:35:05 -07:00 |
Eric Wasylishen
|
ea382c50f2
|
light: don't use constexpr (for vs2013)
|
2017-02-27 12:33:03 -07:00 |
Eric Wasylishen
|
97a00f0f41
|
light: avoid recomputing things in CalcPointNormal
|
2017-02-26 22:58:08 -07:00 |
Eric Wasylishen
|
3d69845b71
|
light: rewrite Face_EdgeIndexSmoothed to use faceToEdgeMap, and also return non-phong shaded faces on the same plane
|
2017-02-26 00:43:27 -07:00 |
Eric Wasylishen
|
410bec9d62
|
light: wip: make CalcPointNormal also position the point
|
2017-02-26 00:28:23 -07:00 |
Eric Wasylishen
|
6c946038ee
|
light: move edgeToFaceMap_t stuff to phong.hh/cc
|
2017-02-25 14:44:59 -07:00 |
Eric Wasylishen
|
abf0c13b2d
|
light: cleaning CalcPointNormal
|
2017-02-25 13:31:56 -07:00 |
Eric Wasylishen
|
22b5684c23
|
light: save the actual face number of each sample point
|
2017-02-24 21:05:59 -07:00 |
Eric Wasylishen
|
a183be75d7
|
light: minor tidying of CalcPoints ifdef
|
2017-02-24 14:11:47 -07:00 |
Eric Wasylishen
|
278c5f5b2b
|
light: LightFace_OccludedDebug: clear occluded flag in this debug mode
|
2017-02-24 00:24:29 -07:00 |
Eric Wasylishen
|
29c7f79a0b
|
light: misc stuff
|
2017-02-23 20:53:10 -07:00 |
Eric Wasylishen
|
d88581e2da
|
light: add GLM_ProjectPointOntoPlane
|
2017-02-22 01:40:58 -07:00 |
Eric Wasylishen
|
64e8090326
|
light: contributing faces: don't contribute if angle btn faces is 90 degrees or more
|
2017-02-22 01:40:53 -07:00 |
Eric Wasylishen
|
cafadddb62
|
light: expose faceextents_t in header
|
2017-02-21 22:59:40 -07:00 |
Eric Wasylishen
|
64dba663e0
|
light: faceextents_t: add another conversion
|
2017-02-21 21:19:15 -07:00 |
Eric Wasylishen
|
8ab0ef9687
|
mathlib: redo bilinear interpolation
|
2017-02-21 21:19:07 -07:00 |
Eric Wasylishen
|
b0662de90f
|
light: add some stuff to faceextents_t
|
2017-02-21 21:18:27 -07:00 |
Eric Wasylishen
|
8067e0fa45
|
mathlib: add PointsAlongLine
|
2017-02-21 21:18:16 -07:00 |
Eric Wasylishen
|
b31ae5d243
|
light: ltface.cc: use glm namespace
|
2017-02-20 14:39:56 -07:00 |
Eric Wasylishen
|
6c9f9f9727
|
light: fix minlight handling
|
2017-02-20 14:37:46 -07:00 |