Eric Wasylishen
|
9aae46bd1c
|
light: adjust Light_PointInSolid to take a model param
|
2017-02-10 15:54:07 -07:00 |
Eric Wasylishen
|
a9f99076fd
|
common: add GLM_ClosestPointOnPolyBoundary
|
2017-02-10 15:52:12 -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
|
90bf0134de
|
common: move vec3_t_to_glm() to mathlib.hh
|
2017-02-08 15:01:03 -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
|
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
|
7fdb77188c
|
light: work-in-progress stuff
|
2017-02-06 21:57:49 -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
|
b46cba40a4
|
light: entity warnings: print bbox for bmodel entities
fixes https://github.com/ericwa/tyrutils-ericw/issues/120
|
2016-11-24 17:10:15 -07:00 |
Eric Wasylishen
|
fbeba25bd1
|
light: read _mincolor from .texinfo file
|
2016-11-02 17:23:25 -06:00 |
Eric Wasylishen
|
a6468984bf
|
all: finish c++ification
|
2016-10-17 19:52:17 -06:00 |
Eric Wasylishen
|
64ec89312d
|
common: Add Q_assert_unreachable()
|
2016-10-17 18:16:23 -06:00 |
Eric Wasylishen
|
d9bb0be32e
|
light: move Face_Contents to common
|
2016-10-17 17:37:28 -06:00 |
Eric Wasylishen
|
801d9652c0
|
common: add util function to get a face number
|
2016-09-20 00:01:15 -06:00 |
Eric Wasylishen
|
494f9bb050
|
common: make Q_assert inline
|
2016-09-18 15:44:04 -06:00 |
Eric Wasylishen
|
b2fb764e36
|
common: new assertion macro used in all builds (debug/release)
|
2016-09-18 15:39:16 -06:00 |
Eric Wasylishen
|
073ede98c7
|
light: when there are too many lightstyles on a face, sort them by descending average brightness and take the top 4
previous behaviour was random, which made needlessly ugly artifacts.
|
2016-09-18 15:12:57 -06:00 |
Eric Wasylishen
|
33093151c6
|
common: ClipWinding: fix constness
|
2016-09-10 15:32:50 -06:00 |
Eric Wasylishen
|
b849a79c3f
|
light: move GetDir to mathlib
|
2016-08-11 14:16:23 -06:00 |
Eric Wasylishen
|
4fb903bd8e
|
common: add more AABB functions
|
2016-08-09 17:56:55 -06:00 |
Eric Wasylishen
|
79525b9aee
|
common: mathlib: add UniformPointOnSphere
|
2016-08-09 17:20:51 -06:00 |
Eric Wasylishen
|
0b6578e4b3
|
common: mathlib: add some AABB functions
|
2016-08-09 16:27:51 -06:00 |
Eric Wasylishen
|
4be2fe289e
|
common: add RandomDir
|
2016-08-09 15:29:23 -06:00 |
Eric Wasylishen
|
68e1736ad1
|
light: move more stuff to bsputils.cc
|
2016-08-07 23:07:20 -06:00 |
Eric Wasylishen
|
486606eb88
|
light: rename GetSurfaceVertex to Face_VertexAtIndex
|
2016-08-07 22:57:45 -06:00 |
Eric Wasylishen
|
1a0fb22e40
|
light: move some helper functions to common/bsputils.{h,cc}
|
2016-08-07 22:55:44 -06:00 |
Eric Wasylishen
|
939778bd23
|
build: add snprintf wrapper from QuakeSpasm (vs2013 compat)
|
2016-08-06 15:47:40 -07:00 |
Eric Wasylishen
|
a807204fe6
|
build: vs2013 compat changes
|
2016-08-06 15:37:00 -07:00 |
Eric Wasylishen
|
78810fa765
|
common: fix COM_Parse const-ness
|
2016-07-06 17:06:28 -06:00 |
Eric Wasylishen
|
e0f8213cc9
|
common: add userinfo param to DiceWinding
|
2016-05-19 23:55:12 -06:00 |
Eric Wasylishen
|
7715310afe
|
common: add AllocWindingEdges, FreeWindingEdges, PointInWindingEdges
|
2016-05-19 22:02:45 -06:00 |
Eric Wasylishen
|
a6f4dad172
|
light, vis: move plane_t to mathlib.h
|
2016-05-19 15:26:30 -06:00 |
Eric Wasylishen
|
2cdc5e7c68
|
common: actually move WindingFromFace to polylib
|
2016-05-19 15:18:33 -06:00 |
Eric Wasylishen
|
45010089f3
|
light, common: move WindingFromFace to bspfile.c/h
|
2016-05-19 15:07:31 -06:00 |
Eric Wasylishen
|
fff12697e5
|
light: move DicePatch to polylib.c
|
2016-05-19 15:03:21 -06:00 |
Eric Wasylishen
|
f73b9de0b3
|
common: make VectorLength, VectorNormalize static inline
|
2016-05-13 21:10:00 -06:00 |
Eric Wasylishen
|
bc0e76f959
|
common: polylib: add WindingBounds from q2 tools. Add missing consts
|
2016-04-19 01:39:37 -06:00 |
Eric Wasylishen
|
d5a4e07deb
|
common: fix VECT_MAX macro
|
2016-04-10 14:43:17 -06:00 |
Eric Wasylishen
|
41972a376a
|
qbsp, light: Strip texinfo flags other than TEX_SPECIAL.
Write extended ones to a "mapname.texinfo" file.
Support "_dirt" and "_minlight" flags on func_detail/group.
|
2016-03-05 00:26:54 -07:00 |
Eric Wasylishen
|
fec88c3186
|
light: fix build on MSVC
|
2016-03-02 19:21:30 -08:00 |
Eric Wasylishen
|
492d94c1fe
|
light: new phong shading keys, "_phong_angle" and "_phong".
"_phong" "1" is a shortcut for "_phong_angle" "89".
"_phong_angle" sets the max angle in degrees between faces that will get smoothed.
|
2016-03-02 20:00:05 -07:00 |
Eric Wasylishen
|
f641e93ca2
|
light: convert light.c to light.cc
|
2016-03-02 17:07:02 -07:00 |
Eric Wasylishen
|
7128a8e956
|
code formatting, normalize most whitespace to 4 spaces
|
2016-02-15 16:20:29 -07:00 |
Eric Wasylishen
|
1630b8756e
|
tyrutils-ericw-spike rebased on to 998c9d3acb
|
2016-02-15 16:16:37 -07:00 |