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 |
Eric Wasylishen
|
1957fb1489
|
light: expose WorldToTexCoord_HighPrecision() in header
|
2017-02-11 15:45:50 -07:00 |
Eric Wasylishen
|
69ebb0c7a9
|
light: tidy WorldToTexSpace
|
2017-02-11 15:45:45 -07:00 |
Eric Wasylishen
|
5fe4f23371
|
light: add a debug mode for showing contributing faces
|
2017-02-11 15:45:30 -07:00 |
Eric Wasylishen
|
b33cb75bb3
|
common: add missing tuple include
|
2017-02-11 11:56:35 -07:00 |
Eric Wasylishen
|
b54f893942
|
common: add GLM_InterpolateNormal
|
2017-02-11 11:02:37 -07:00 |
Eric Wasylishen
|
8ed7544063
|
light: fix up barycentric coords code, add tests
|
2017-02-11 11:02:28 -07:00 |
Eric Wasylishen
|
6f72ab5eda
|
light: CalcPoints_Debug: log 'occluded' state
|
2017-02-10 15:54:35 -07:00 |
Eric Wasylishen
|
9aae46bd1c
|
light: adjust Light_PointInSolid to take a model param
|
2017-02-10 15:54:07 -07:00 |
Eric Wasylishen
|
1f40e3a58f
|
light: extra field for contrib faces
|
2017-02-10 15:52:12 -07:00 |
Eric Wasylishen
|
a9f99076fd
|
common: add GLM_ClosestPointOnPolyBoundary
|
2017-02-10 15:52:12 -07:00 |
Eric Wasylishen
|
57d8ed77ea
|
light: CalcPoints: call SetupContributingFaces
|
2017-02-10 15:52:12 -07:00 |
Eric Wasylishen
|
87868275de
|
light: clean CalcPoints
|
2017-02-10 15:52:12 -07:00 |
Eric Wasylishen
|
71a3dd769a
|
light: clean up LightFace() function
|
2017-02-10 15:52:12 -07:00 |
Eric Wasylishen
|
d30c970d8b
|
light: always call MakeEdgeToFaceMap
|
2017-02-10 15:52:12 -07:00 |
Eric Wasylishen
|
b9d0de0ec8
|
light: expose some stuff in the light2 header
|
2017-02-10 15:52:12 -07:00 |
Eric Wasylishen
|
1bafce6c7c
|
Merge pull request #132 from 4LT/master
Per-light bounce scale
|
2017-02-10 15:49:12 -07:00 |
seth
|
10df0bf88e
|
Merge remote-tracking branch 'upstream/master'
|
2017-02-10 16:53:17 -05:00 |
Eric Wasylishen
|
8acbea291c
|
light: remove unused struct
|
2017-02-09 14:19:08 -07:00 |
Eric Wasylishen
|
bd0556cf22
|
light: switch to new Face_Centroid
|
2017-02-09 00:17:22 -07:00 |
Eric Wasylishen
|
f09cadbc76
|
light: switch to new world space <-> texture space code
|
2017-02-08 17:51:22 -07:00 |
Eric Wasylishen
|
70644907e0
|
Revert "light: move Lightmap_Soften into WriteLightmaps"
This reverts commit bc2d734e9a.
|
2017-02-08 17:10:26 -07:00 |
Eric Wasylishen
|
b1fdca16c7
|
light: helpers for gamma correct downscaling (unused)
|
2017-02-08 16:53:20 -07:00 |
Eric Wasylishen
|
0db74987fb
|
light: update stairsteptest
|
2017-02-08 16:01:52 -07:00 |
Eric Wasylishen
|
a1ad595476
|
light: new stairsteptest.map (part of e4m4.map GPL source)
|
2017-02-08 15:56:47 -07:00 |
Eric Wasylishen
|
c441ddb884
|
light: factor out lightmap resampling
|
2017-02-08 15:03:24 -07:00 |
Eric Wasylishen
|
90bf0134de
|
common: move vec3_t_to_glm() to mathlib.hh
|
2017-02-08 15:01:03 -07:00 |
Eric Wasylishen
|
bc2d734e9a
|
light: move Lightmap_Soften into WriteLightmaps
|
2017-02-08 02:23:21 -07:00 |
Eric Wasylishen
|
309714b939
|
light: update embree to v2.13.0
|
2017-02-08 01:02:59 -07:00 |
Eric Wasylishen
|
f95e8445ef
|
common: fix build error on windows (M_PI->Q_PI)
|
2017-02-07 21:36:24 -07:00 |
Eric Wasylishen
|
089819d672
|
light: tweak .ppm dump code
|
2017-02-07 20:52:17 -07:00 |
Eric Wasylishen
|
4da0a70ab6
|
light: refactor box filtering code a bit
|
2017-02-07 20:51:57 -07:00 |
Eric Wasylishen
|
ea39ce6576
|
light: move negative value clamping to LightFace_ScaleAndClamp
|
2017-02-07 20:33:43 -07:00 |
Eric Wasylishen
|
613d75ea70
|
light: debug code for dumping lightmaps to .ppm images
|
2017-02-07 18:35:29 -07:00 |
Eric Wasylishen
|
4582637c78
|
light: restore Lightmap_ForStyle_ReadOnly
|
2017-02-07 17:59:16 -07:00 |