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 |
Eric Wasylishen
|
3acc48269e
|
light: add lanczos filter
|
2017-02-07 14:27:51 -07:00 |
Eric Wasylishen
|
4813bf6aa2
|
common: remove unused function
|
2017-02-07 11:44:02 -07:00 |
Eric Wasylishen
|
1211fd86d1
|
light: move bounce to its own file
|
2017-02-07 00:51:05 -07:00 |
Eric Wasylishen
|
c7756496cd
|
light: move phong shading code to its own file
|
2017-02-07 00:06:29 -07:00 |
Eric Wasylishen
|
9246454bfc
|
light: refactor some more stuff to GLM
|
2017-02-06 23:00:48 -07:00 |
Eric Wasylishen
|
f018b7324d
|
light: refactor phong shading to use GLM
|
2017-02-06 22:50:56 -07:00 |
Eric Wasylishen
|
2dc01b8469
|
light: windows build fix
|
2017-02-06 22:04:55 -07:00 |
Eric Wasylishen
|
7fdb77188c
|
light: work-in-progress stuff
|
2017-02-06 21:57:49 -07:00 |
seth
|
e68e38a08f
|
Merge remote-tracking branch 'upstream/master'
Fixed conflicts
|
2017-02-05 14:06:24 -05:00 |
seth
|
4a119e2098
|
Added _bouncescale to light sources
|
2017-02-05 13:47:47 -05:00 |
Eric Wasylishen
|
935dd0dd27
|
lightstest1.map: update for testing lit water
|
2017-02-02 21:57:22 -07:00 |
Eric Wasylishen
|
3ad6aab406
|
light: refactor WriteLightmaps
|
2017-02-01 14:38:42 -07:00 |
Eric Wasylishen
|
9330d2c087
|
light: rename Face_MakeInwardFacingEdgePlanes() to Face_AllocInwardFacingEdgePlanes()
do memory allocation inside the function.
|
2017-02-01 14:38:42 -07:00 |
Eric Wasylishen
|
be3c84ec98
|
light: add a EdgePlanes_PointInside() function to bsputils.{hh,cc}
|
2017-02-01 14:38:42 -07:00 |
Eric Wasylishen
|
c035907ff8
|
light: move Face_MakeInwardFacingEdgePlanes() to bsputils.{hh,cc}
|
2017-02-01 14:38:42 -07:00 |
Eric Wasylishen
|
29b420c7dd
|
light: move Light_PointInSolid to bsputils.{hh,cc}
|
2017-02-01 14:38:42 -07:00 |
Eric Wasylishen
|
95bda95908
|
add glm to cmakelists
|
2017-02-01 14:18:45 -07:00 |
Eric Wasylishen
|
ddcd44a085
|
import glm 0.9.8.4
|
2017-02-01 14:11:52 -07:00 |
Eric Wasylishen
|
4ec1d92191
|
light: dirt_off_radius, dirt_on_radius
|
2017-01-30 16:11:56 -07:00 |