Commit Graph

1018 Commits

Author SHA1 Message Date
Eric Wasylishen 1ea4d52eab light: add -novis flag 2016-04-20 23:57:04 -06:00
Eric Wasylishen 9cfb8c3fef light: make DecompressVis more robust 2016-04-20 14:53:33 -07:00
Eric Wasylishen 7ce9272f9d light: avoid c99 vla's, seems to be not supported on msvc 2016-04-20 01:53:06 -06:00
Eric Wasylishen e1bad1bbd6 light: rewrite normal interpolation 2016-04-20 01:39:42 -06:00
Eric Wasylishen 03df93851b light: phong shading: handle some sources of nan's 2016-04-19 19:33:49 -06:00
Eric Wasylishen 9560ba3901 light: speedup: don't calculate AO when using -phongdebug 2016-04-19 18:02:07 -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 8fd3f41b42 light: expose GetLightValue in entities.h 2016-04-19 01:28:33 -06:00
Eric Wasylishen 0c93c5c3d0 light: DirtTrace: add extra argument for hit face 2016-04-19 01:26:21 -06:00
Eric Wasylishen 99b1069a47 build: fix packaging of README.md 2016-04-18 15:39:36 -06:00
Eric Wasylishen eda564e42a build: drop old Makefile, only cmake supported for now 2016-04-18 15:38:50 -06:00
Eric Wasylishen eafa21ee34 docs: change readme to markdown 2016-04-18 15:34:18 -06:00
Eric Wasylishen ceaeb2eae2 build: travis: use ubuntu trusty 2016-04-18 15:23:00 -06:00
Eric Wasylishen 0e70041ebc build: travis: use VERBOSE=1 2016-04-18 15:19:09 -06:00
Eric Wasylishen ab3658117b build: travis: try to install groff 2016-04-18 15:13:40 -06:00
Eric Wasylishen 91d271d2ad build: add a basic .travis.yml 2016-04-18 15:05:50 -06:00
Eric Wasylishen c83fd942bd build: fix vis build on Windows 2016-04-18 13:54:47 -07:00
Eric Wasylishen b087f0f010 build: specify c99 2016-04-18 14:22:33 -06:00
Eric Wasylishen bfca3478cc build: link vis to libm, fixes build on Linux / GCC. 2016-04-18 14:02:49 -06:00
Eric Wasylishen ed48508070 qbsp: fix usage of offsetof() with a non-compile time constant, was erroring on gcc 2016-03-16 10:55:39 -06:00
Eric Wasylishen 8773e0bb15 build: fix build error on Linux due to missing target_link_libraries(qbsp ) 2016-03-16 10:48:00 -06:00
Eric Wasylishen 2a4168f35c light: add _minlight_exclude bmodel key 2016-04-17 22:51:14 -06:00
Eric Wasylishen 1340529234 qbsp: add -splitsky and -splitturb, finer control over -splitspecial 2016-04-16 22:53:33 -06:00
Eric Wasylishen fff8cbffbc light: use vis data 2016-04-14 20:15:52 -06:00
Eric Wasylishen 32b48a443b light: track interior verts for normal interpolation (not used currently) 2016-04-14 15:13:01 -06:00
Eric Wasylishen 665514ccbf testmaps: add a map showing extra face splitting with func_detail 2016-04-14 14:42:51 -06:00
Eric Wasylishen 321eac8aaa light: make PrintFaceInfo non static 2016-04-12 01:07:37 -06:00
Eric Wasylishen 501c1a50dc test map: phong shading + tjuncs 2016-04-11 14:49:05 -06:00
Eric Wasylishen c6d8aff03b light: guard against acos returning nan due to fp error in CalcualateVertexNormals 2016-04-11 01:49:02 -06:00
Eric Wasylishen ed6dfbaf76 light: disable obj exporter 2016-04-11 01:14:54 -06:00
Eric Wasylishen f2d33137ef light: PrintFaceInfo: also print the interpolated normals 2016-04-11 00:59:01 -06:00
Eric Wasylishen c86731ab58 light: make TriangleArea non static 2016-04-11 00:47:21 -06:00
Eric Wasylishen 8228bf979f light: obj exporter 2016-04-11 00:46:42 -06:00
Eric Wasylishen 37d0d14ccd light: fix phong shading debug code 2016-04-10 23:07:13 -06:00
Eric Wasylishen cf8e3fc935 light: augment DirtTrace with the hit plane 2016-04-10 22:30:42 -06:00
Eric Wasylishen ddbf55ac13 light: skip casting lights if -phongdebug or -dirtdebug are in use, gives a big speedup for those flags 2016-04-10 19:52:01 -06:00
Eric Wasylishen e395a755ab light: CalcPoint: correct point before interpolating normal 2016-04-10 19:42:24 -06:00
Eric Wasylishen 4207054709 light: avoid crash if no textures in bsp 2016-04-10 19:34:57 -06:00
Eric Wasylishen 986334a86b light: unify "_anglescale" worldspawn key and "-anglescale" command line option, previously they were different.
Fix "-anglescale" command line option which was broken.
Make sunlight2 use the global anglescale setting.
2016-04-10 18:25:15 -06:00
Eric Wasylishen 9e2d54a9af light: handle bsp's with no textures 2016-04-10 15:39:49 -07:00
Eric Wasylishen f2a57d5b71 build: remove remaining embree stuff 2016-04-10 15:49:01 -06:00
Eric Wasylishen b6c9873289 light: return hit normal for DirtTrace 2016-04-10 15:27:21 -06:00
Eric Wasylishen 0a6708edb0 light: remove embree support 2016-04-10 14:43:37 -06:00
Eric Wasylishen d5a4e07deb common: fix VECT_MAX macro 2016-04-10 14:43:17 -06:00
Eric Wasylishen 4e34c48476 build: package embree license 2016-04-09 23:14:43 -06:00
Eric Wasylishen cb2320bfbe build: Remove comment 2016-04-09 16:51:07 -07:00
Eric Wasylishen b3fcf730cd build: appveyor: add cygwin to path 2016-04-09 16:41:07 -07:00
Eric Wasylishen fdc455dfb1 build: also install readme and changelog 2016-04-09 16:37:07 -07:00
Eric Wasylishen c1865363de build: get the man cmake target to work in VS 2016-04-09 16:29:59 -07:00
Eric Wasylishen b6da18fca8 build: add cmake rules for building manuals 2016-04-09 15:39:29 -06:00