Commit Graph

1215 Commits

Author SHA1 Message Date
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
Eric Wasylishen 125f35e35f light: coding style fixes 2016-08-09 21:47:20 -06:00
Eric Wasylishen e3627ddd3d light: lightstest1.map: add test case for https://github.com/ericwa/tyrutils-ericw/issues/15 2016-08-09 21:22:16 -06:00
Eric Wasylishen f857ab5820 light: remove redundant message 2016-08-09 21:19:24 -06:00
Eric Wasylishen 59f1ef9a1e light: bounce: only save style 0 lightmap if some traces hit 2016-08-09 20:55:28 -06:00
Eric Wasylishen af2f68c036 light: culling for local minlights 2016-08-09 19:37:52 -06:00
Eric Wasylishen df8669a5fe light: record stats for local minlight ents 2016-08-09 19:37:40 -06:00
Eric Wasylishen 677875a63e light: cull lights based on estimated visible AABB of each light 2016-08-09 18:16:32 -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 1d4de5c17d light: add more performance stats 2016-08-09 17:11:08 -06:00
Eric Wasylishen 0c63d61a60 common: mathlib: use EQUAL_EPSILON in AABBsDisjoint 2016-08-09 16:41:11 -06:00
Eric Wasylishen 0b6578e4b3 common: mathlib: add some AABB functions 2016-08-09 16:27:51 -06:00
Eric Wasylishen 1e39cb8824 build: disable a msvc warning 2016-08-09 16:07:07 -06:00
Eric Wasylishen d3070a18a4 common: build fix (M_PI -> Q_PI) 2016-08-09 16:05:43 -06:00
Eric Wasylishen 9340ce223a build: clean up request for C++11. require cmake 3.1 (which introduced CMAKE_CXX_STANDARD) 2016-08-09 16:00:09 -06:00
Eric Wasylishen 637f3e4c1f light: fix compile error 2016-08-09 15:51:16 -06:00
Eric Wasylishen 4be2fe289e common: add RandomDir 2016-08-09 15:29:23 -06:00
Eric Wasylishen 7d5067bddd light: Add stats 2016-08-09 01:15:26 -06:00
Eric Wasylishen 3d5ab0db68 light: use LightSample_Brightness 2016-08-09 00:41:49 -06:00
Eric Wasylishen 3f573bd276 light: fix sign error in sunlight2 positioning 2016-08-08 20:36:31 -06:00
Eric Wasylishen 68e1736ad1 light: move more stuff to bsputils.cc 2016-08-07 23:07:20 -06:00