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
|
044bd4c9c0
|
mathlib: PointsAlongLine: make into template
|
2017-02-21 21:18:22 -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 |
Eric Wasylishen
|
c17c33a71c
|
light: rewrite blur
|
2017-02-20 14:37:41 -07:00 |
Eric Wasylishen
|
7c0e8f9b24
|
light: fix -extra4 downsampling to use occlusion values
|
2017-02-20 14:37:36 -07:00 |
Eric Wasylishen
|
418d83cbeb
|
light: skip raytracing occluded points
|
2017-02-20 14:36:50 -07:00 |
Eric Wasylishen
|
29ecd209a2
|
add comment
|
2017-02-20 14:33:46 -07:00 |
Eric Wasylishen
|
f890d739d3
|
light: improving faceextents_t
|
2017-02-20 14:32:37 -07:00 |
Eric Wasylishen
|
d40c6b9912
|
mathlib: add bilinear interpolation
|
2017-02-20 14:32:31 -07:00 |
Eric Wasylishen
|
28b30a7f52
|
build: add eigen to include dirs
|
2017-02-20 14:32:25 -07:00 |
Eric Wasylishen
|
add2efcb69
|
import eigen 3.3.2
|
2017-02-20 14:32:18 -07:00 |
Eric Wasylishen
|
c4f3897f47
|
light: Adjust epsilon
|
2017-02-16 15:57:24 -07:00 |
Eric Wasylishen
|
21fa5c5949
|
Revert "light: rewrite -debugface picking code"
This reverts commit 20c92fc676.
|
2017-02-16 15:55:13 -07:00 |
Eric Wasylishen
|
ea9c456367
|
Revert "light: Face_Pick: make more lenient"
This reverts commit 5292728fe3.
|
2017-02-16 15:55:01 -07:00 |
Eric Wasylishen
|
d811d33d22
|
light: add slightly concave poly test
|
2017-02-16 15:47:45 -07:00 |
Eric Wasylishen
|
71fbd17ea8
|
Revert "common: GLM_MakeInwardFacingEdgePlanes: handle non-convex poly"
This reverts commit bef9dd63d2.
|
2017-02-16 15:47:36 -07:00 |
Eric Wasylishen
|
7294f06ccc
|
light: disable EdgePlanesOfNonConvexPoly test for now
|
2017-02-16 15:47:26 -07:00 |
Eric Wasylishen
|
6ea56b987a
|
light: fix mangle_from_vec
|
2017-02-15 00:14:51 -07:00 |
Eric Wasylishen
|
365c143039
|
light: use mangle_from_vec in CalcPoints_Debug to dump point normal
|
2017-02-14 23:52:39 -07:00 |
Eric Wasylishen
|
77baa2b90b
|
light: fix mangle_from_vec test epsilon
|
2017-02-14 23:50:05 -07:00 |
Eric Wasylishen
|
5292728fe3
|
light: Face_Pick: make more lenient
|
2017-02-14 23:46:10 -07:00 |
Eric Wasylishen
|
6f66473836
|
light: add mangle_from_vec
|
2017-02-14 23:45:38 -07:00 |
Eric Wasylishen
|
e8e5df0f6e
|
light: SetupContributingFaces_R: handle a type of invalid face that showed up in ad_swampy.bsp
|
2017-02-14 20:52:27 -07:00 |
Eric Wasylishen
|
bef9dd63d2
|
common: GLM_MakeInwardFacingEdgePlanes: handle non-convex poly
|
2017-02-14 20:51:36 -07:00 |
Eric Wasylishen
|
05e144a5ca
|
light: MakeEdgeToFaceMap: handle invalid faces with repeating vertices
|
2017-02-14 20:51:31 -07:00 |
Eric Wasylishen
|
7895d13cf7
|
lightstest1: tweak to show more artifacts
|
2017-02-14 16:20:24 -07:00 |
Eric Wasylishen
|
5ce019919f
|
testmaps: stairsteptest: demonstrate light leaking problem
|
2017-02-14 16:17:14 -07:00 |
Eric Wasylishen
|
69504f4439
|
phongtest: add a thinner pipe
|
2017-02-14 16:17:08 -07:00 |
Eric Wasylishen
|
591f0e773a
|
lightstest1.map: add tests of more corner cases
- minlight on bmodels that are partially sticking out of the world
- "_shadow" "1" bmodels on the middle of world faces
|
2017-02-14 16:16:57 -07:00 |
Eric Wasylishen
|
52523c8208
|
mathlib: expose GLM_MakeInwardFacingEdgePlane()
|
2017-02-13 13:33:48 -07:00 |
Eric Wasylishen
|
20c92fc676
|
light: rewrite -debugface picking code
|
2017-02-13 13:33:11 -07:00 |
Eric Wasylishen
|
2a17b4bccf
|
build fix
|
2017-02-12 11:54:52 -07:00 |
Eric Wasylishen
|
3a20d5410b
|
common: add shrink and clip poly funcs
|
2017-02-12 00:20:38 -07:00 |
Eric Wasylishen
|
7300aacdff
|
light: Add -debugoccluded
|
2017-02-11 22:22:26 -07:00 |
Eric Wasylishen
|
3c86c3d707
|
light: fix SetupContributingFaces_R not working on non-phong shaded faces that share a plane
|
2017-02-11 16:00:10 -07:00 |