Commit Graph

1471 Commits

Author SHA1 Message Date
Eric Wasylishen 81b8c1fc86 light: lightstest1.map: add some doors to test black fringes on bmodels 2016-11-04 02:31:36 -06:00
Eric Wasylishen 1cca79710c light: CalcPoints: also check submodel traces against the world
fixes https://github.com/ericwa/tyrutils-ericw/issues/115
2016-11-04 02:14:05 -06:00
Eric Wasylishen dfcbfe5be1 light: fix invalid assertion (with glass, final ray color can be darker than initial) 2016-11-04 01:34:36 -06:00
Eric Wasylishen 11304cf059 light: hack around invalid normals in bounce lighting patches.. needs further investigation 2016-11-04 01:26:48 -06:00
Eric Wasylishen 8284eba493 light: hack to fix bounce + glass shadows (not implemented, but don't crash) 2016-11-04 01:08:03 -06:00
Eric Wasylishen 186485ec47 light: revert ee89d41b6d since it's now handled within the trace code 2016-11-03 18:27:40 -06:00
Eric Wasylishen 4f530fadb9 light: tweak the glass tinting again 2016-11-03 18:11:58 -06:00
Eric Wasylishen e6df5098fd light: tweak glasstest.map 2016-11-03 18:02:31 -06:00
Eric Wasylishen a4afa749b7 light: tweak glass interaction with light 2016-11-03 17:24:27 -06:00
Eric Wasylishen f9dcbc2270 light: glasstest.map: lower alpha from 1 to 0.99 2016-11-03 16:20:25 -06:00
Eric Wasylishen 3b65ad592a light: glass: only pick up the glass color when the ray exits the glass 2016-11-03 15:21:29 -06:00
Eric Wasylishen fdab564617 light: Add glasstest.map 2016-11-03 12:55:52 -06:00
Eric Wasylishen 91fcfe5b9a light: use glass texture colors to tint rays 2016-11-03 02:26:53 -06:00
Eric Wasylishen 3d98dd70de light: first draft of semi-opaque shadows for glass 2016-11-03 01:52:00 -06:00
Eric Wasylishen 6bd8864ff4 light: refactor LightFace_Sky 2016-11-03 01:44:17 -06:00
Eric Wasylishen ee89d41b6d light: light passing through glass lights up the back side, scaled by (1-alpha) 2016-11-02 21:35:11 -06:00
Eric Wasylishen 95d3c308c7 light: lightstest1.map: test for glass receiving light from behind 2016-11-02 21:32:34 -06:00
Eric Wasylishen 7c1e9223a9 docs: fix syntax error 2016-11-02 18:20:39 -06:00
Eric Wasylishen e5901dfee6 light: ensure modelinfo settings override .texinfo file if they have been set, for _dirt and _minlight 2016-11-02 18:10:59 -06:00
Eric Wasylishen ed708f5154 light: allow both _mincolor and _minlight_color on bmodels 2016-11-02 18:05:44 -06:00
Eric Wasylishen f8c6268368 light: lightstest1.map: also add a test of _minlight and _mincolor on func_wall 2016-11-02 17:47:11 -06:00
Eric Wasylishen 5fbdfbcf27 docs: update to reflect that _mincolor now works on func_detail/group 2016-11-02 17:31:54 -06:00
Eric Wasylishen bae4084544 light: lightstest1.map: add test for _mincolor on func_detail 2016-11-02 17:31:02 -06:00
Eric Wasylishen 731e46d005 light: fix extended texinfo array type 2016-11-02 17:29:18 -06:00
Eric Wasylishen fbeba25bd1 light: read _mincolor from .texinfo file 2016-11-02 17:23:25 -06:00
Eric Wasylishen 986aad52c2 qbsp: save _mincolor to the .texinfo file 2016-11-02 17:10:01 -06:00
Eric Wasylishen e5f5b99584 qbsp: bounds check some array accesses 2016-11-02 16:52:12 -06:00
Eric Wasylishen 05447ee0b9 qbsp: use a mtexinfo_t for texinfo before writing to bsp 2016-11-02 16:45:41 -06:00
Eric Wasylishen 2a5bc72fcc qbsp: add a test case where two almost-touching faces cause qbsp to blow up 2016-11-01 18:30:20 -06:00
Eric Wasylishen 1b9d5538c2 qbsp: make BuildSurfaces not rely on map iteration order 2016-11-01 15:07:58 -06:00
Eric Wasylishen 40c090c604 qbsp: SaveFacesToPlaneList: reduce redunant map lookups 2016-11-01 14:58:51 -06:00
Eric Wasylishen a96aa4de70 qbsp: fix stupid perf bug in BuildSurfaces that I introduced
(unnecessary insertions and redundant lookups to a map)
2016-11-01 14:38:50 -06:00
Eric Wasylishen 2094114a18 qbsp: rename brushbsp.c -> .cc and convert tabs to spaces 2016-10-31 20:32:07 -06:00
Eric Wasylishen 27e93b3546 qbsp: import brushbsp.c from https://raw.githubusercontent.com/id-Software/Quake-2-Tools/master/bsp/qbsp3/brushbsp.c 2016-10-31 20:30:34 -06:00
Eric Wasylishen 44995d4bd5 light: add rotator test map 2016-10-23 17:24:47 -06:00
Eric Wasylishen 260a7ddf47 Update embree to 2.12.0 2016-10-23 12:21:04 -06:00
Eric Wasylishen cefadfa1f4 build: fix on MSVC 2013 2016-10-17 19:25:27 -07: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 fab8d87416 light: ensure sky textures are detected case-insensitive 2016-10-17 17:47:08 -06:00
Eric Wasylishen d9bb0be32e light: move Face_Contents to common 2016-10-17 17:37:28 -06:00
Eric Wasylishen cc12810da3 qbsp: brush primitives support 2016-10-04 22:39:13 -06:00
Eric Wasylishen 6be8d50bce update changelog 2016-10-03 11:03:43 -06:00
Eric Wasylishen 32dd6d318a build: travis: try setting up auto deployments 3 2016-10-02 23:24:14 -06:00
Eric Wasylishen e8c307c282 build: travis: try setting up auto deployments 2 2016-10-02 23:15:13 -06:00
Eric Wasylishen 81e68b4609 build: try setting up travis-ci auto deployments 2016-10-02 23:03:56 -06:00
Eric Wasylishen 7c1d29a46a build: appveyor: try setting up auto deployments 3 2016-10-02 22:56:02 -06:00
Eric Wasylishen 37eb30c830 build: appveyor: try setting up auto deployments 2 2016-10-02 22:38:04 -06:00
Eric Wasylishen d719157311 build: appveyor: try setting up auto deployments 2016-10-02 22:18:49 -06:00
Eric Wasylishen 4278a38f36 build: tweaking travis script (install cmake) 2016-10-02 22:05:59 -06:00