Eric Wasylishen
|
857b4402ad
|
light: change assertions to Q_assert (so they are all enabled in release builds)
|
2016-09-18 15:41:56 -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
|
a8047d5220
|
light: lightstest1.map: add test for "too many lightstyles on a face"
|
2016-09-18 03:14:02 -06:00 |
Eric Wasylishen
|
a2dc35a91f
|
light: fix debug logging
|
2016-09-18 03:03:29 -06:00 |
Eric Wasylishen
|
2b43ecca40
|
light: lightstest1.map: show a failure case for the vis approximation (infinite falloff lights over long distances)
|
2016-09-18 03:02:57 -06:00 |
Eric Wasylishen
|
8bff999601
|
light: move lightmaps array to lightsurf_t
|
2016-09-18 02:22:26 -06:00 |
Eric Wasylishen
|
700e8d089f
|
light: add -verbose option
|
2016-09-17 23:49:41 -06:00 |
Eric Wasylishen
|
81c7b39fa7
|
light: tidy LightStyleForTargetname
|
2016-09-17 17:49:01 -06:00 |
Eric Wasylishen
|
f5d347a18d
|
light: always assign "style" if targetname is set on a light
|
2016-09-17 17:48:11 -06:00 |
Eric Wasylishen
|
1a74834221
|
light: never receive dirtmapping on lit liquids
|
2016-09-16 11:37:04 -06:00 |
Eric Wasylishen
|
c7d210dc3a
|
light: special case support for skip-textured bmodels in the embree backend.
It only supports bmodels where all the faces are skipped
|
2016-09-10 18:32:22 -06:00 |
Eric Wasylishen
|
33093151c6
|
common: ClipWinding: fix constness
|
2016-09-10 15:32:50 -06:00 |
Eric Wasylishen
|
ad0942ad24
|
light: testshadows.map: add some skip textures
|
2016-09-10 13:49:38 -06:00 |
Eric Wasylishen
|
d7ba0330a6
|
light: restore "unmatched target" warning
|
2016-09-10 10:10:06 -06:00 |
Eric Wasylishen
|
bcddaf10dd
|
docs: update
|
2016-09-09 13:30:36 -06:00 |
Eric Wasylishen
|
687b1b20f6
|
light: bsp backend: fix and simplify Face_Contents to only look at texture names. it was broken when -splitspecial was used.
|
2016-09-09 13:04:53 -06:00 |
Eric Wasylishen
|
2bab853ca4
|
light: don't add styled lights to bounce calculation
|
2016-09-08 23:53:15 -06:00 |
Eric Wasylishen
|
eaec325ab4
|
light: bounce: area-weight the patches when averaging them to get the light to emit for a face
|
2016-09-08 21:39:37 -06:00 |
Eric Wasylishen
|
ce812f5570
|
light: apply AO when calculating how much light a surface reflects (wrong? but matches 0.15.5)
|
2016-09-08 21:07:29 -06:00 |
Eric Wasylishen
|
08e1c1ce69
|
light: apply dirt to regular lights
|
2016-09-08 17:24:28 -06:00 |
Eric Wasylishen
|
18797f81c0
|
light: fix for -dirt not implying -minlight_dirt, -sunlight_dirt, -sunlight2_dirt
|
2016-09-08 15:21:18 -06:00 |
Eric Wasylishen
|
f4287e07e9
|
update changelog
|
2016-09-07 23:43:51 -06:00 |
Eric Wasylishen
|
ee3452dbdc
|
build: use v120_xp toolset (VS 2013 targetting Windows XP)
|
2016-09-07 23:16:42 -06:00 |
Eric Wasylishen
|
272995765b
|
light: warn about empty key/values
|
2016-09-07 20:32:59 -06:00 |
Eric Wasylishen
|
f6c4309f6d
|
light: catch std::stof parse exceptions and log a warning
|
2016-09-07 20:04:53 -06:00 |
Eric Wasylishen
|
66184a3849
|
light: CalcualateVertexNormals: skip degenerate faces
|
2016-09-07 15:12:19 -06:00 |
Eric Wasylishen
|
44d6828049
|
light: add bounce test map
|
2016-09-07 12:50:17 -06:00 |
Eric Wasylishen
|
711e237ad0
|
light: new calcpointstest.map
|
2016-09-07 12:05:56 -06:00 |
Eric Wasylishen
|
df8f8b264b
|
light: update embree to 2.11.0
|
2016-09-02 15:03:32 -06:00 |
Eric Wasylishen
|
9111d8df9f
|
light: log embree version
|
2016-09-02 14:59:43 -06:00 |
Eric Wasylishen
|
1be9448f6a
|
light: add testmap for current surface light issues (hotspots, brightness in more subdivided areas)
|
2016-08-26 23:29:50 -06:00 |
Eric Wasylishen
|
c9a0f50985
|
appveyor.yml: add extra line break.. appveyor is combining the two msbuild lines for some reason
|
2016-08-15 23:34:49 -06:00 |
Eric Wasylishen
|
e06556edfd
|
build: run tests on CI servers
|
2016-08-15 23:28:36 -06:00 |
Eric Wasylishen
|
5e9b62dc8b
|
light: add "testlight" target
|
2016-08-15 21:18:14 -06:00 |
Eric Wasylishen
|
cb85ca74c4
|
import googletest 1.7.0
|
2016-08-15 16:31:54 -06:00 |
Eric Wasylishen
|
07dd9d72b2
|
light: add missing include
|
2016-08-12 19:22:04 -06:00 |
Eric Wasylishen
|
d7948c4bdd
|
light: move settings system to its own files
|
2016-08-12 19:15:25 -06:00 |
Eric Wasylishen
|
a0f3881698
|
light: refactor global settings into a class
|
2016-08-12 18:49:32 -06:00 |
Eric Wasylishen
|
e2f407a0e7
|
light: refactor GetDirectLighting
|
2016-08-12 12:00:33 -06:00 |
Eric Wasylishen
|
cc0d1f6b76
|
light: restore normalmap contribution in LightFace_Entity
|
2016-08-12 11:55:35 -06:00 |
Eric Wasylishen
|
ed43b29489
|
light: store normal contribution in ray stream
|
2016-08-12 11:51:27 -06:00 |
Eric Wasylishen
|
8ca5fafffc
|
light: some refactoring
|
2016-08-11 15:44:43 -06:00 |
Eric Wasylishen
|
4f58f61aad
|
light: GetLightDist: use entity->getFormula()
|
2016-08-11 14:37:26 -06:00 |
Eric Wasylishen
|
b849a79c3f
|
light: move GetDir to mathlib
|
2016-08-11 14:16:23 -06:00 |
Eric Wasylishen
|
9f607b858b
|
light: Add GetLightDist function
|
2016-08-10 12:22:41 -06:00 |
Eric Wasylishen
|
28b034a172
|
light: drop visdata support, no longer needed
|
2016-08-10 00:49:41 -06:00 |
Eric Wasylishen
|
3d19354514
|
light: EstimateVisibleBoundsAtPoint: increase to 1024 samples to fix lightstest1.map.
remove randomness. only expand AABB by 1% down from 10%, since using 1024 samples now, bbox will be closer to the actual one.
|
2016-08-09 23:31:48 -06:00 |
Eric Wasylishen
|
908cb177d4
|
docs: update README.md
|
2016-08-09 22:21:46 -06:00 |
Eric Wasylishen
|
f3a1700d13
|
light: scale and clamp before smoothing, downscaling. fixes https://github.com/ericwa/tyrutils-ericw/issues/15
|
2016-08-09 22:19:11 -06:00 |