Commit graph

190 commits

Author SHA1 Message Date
Magnus Norddahl
4ceab7cec7 - remove kex prefix from classes 2018-11-09 21:26:00 +01:00
Magnus Norddahl
9a84d487dc - split map loading code from surface mesh code 2018-11-09 08:42:37 +01:00
Magnus Norddahl
73724c111c - minor adjustments 2018-11-09 06:47:54 +01:00
Magnus Norddahl
b55a9671e5 - use the cheaper any hit test when possible 2018-11-09 06:21:25 +01:00
Magnus Norddahl
63715b855d - add indirect light pass 2018-11-08 21:15:29 +01:00
Magnus Norddahl
ef3257e062 - Write light cells into the lump 2018-11-07 04:20:11 +01:00
Magnus Norddahl
2d970672e8 - add support for tracing light cells 2018-11-07 01:31:50 +01:00
Magnus Norddahl
639bc29085 - minor adjustments 2018-11-06 23:04:29 +01:00
Magnus Norddahl
57b39458f0 - spread light surface sample points evenly across walls 2018-11-06 14:58:05 +01:00
Magnus Norddahl
c3494a045d - Fix the light surface math so the correct angles are being used 2018-11-06 12:50:58 +01:00
Magnus Norddahl
e046e7a508 - fix floor light surfaces not working 2018-11-06 11:08:02 +01:00
Magnus Norddahl
58f2411002 Merge branch 'master' of https://github.com/dpjudas/ZDRay 2018-11-06 10:18:25 +01:00
Magnus Norddahl
d6c3b7e8ef - removed explicit keyword 2018-11-06 10:18:16 +01:00
Magnus Norddahl
d1a9daf9a5
Merge pull request #3 from Talon1024/master
Fix compilation error on Ubuntu 16.04
2018-11-05 14:30:38 +01:00
Kevin Caccamo
61378b1fef Fix compilation error on Ubuntu 16.04 2018-11-05 08:24:32 -05:00
Magnus Norddahl
1c1a4a3bc0 Merge branch 'master' of https://github.com/dpjudas/ZDRay 2018-11-05 12:52:28 +01:00
Magnus Norddahl
440b4d0b3c - don't waste time ray tracing surfaces out of range 2018-11-05 12:52:19 +01:00
Magnus Norddahl
1165ef26d7
Merge pull request #2 from Talon1024/master
Add comment option to zdray help
2018-11-05 02:43:08 +01:00
Magnus Norddahl
ce518820ff - add SSE implementation for the most time critical function 2018-11-05 01:40:12 +01:00
Magnus Norddahl
e21679a4d7 - improve speed by saving some calculations 2018-11-05 00:54:25 +01:00
Kevin Caccamo
b010e00e24 Add comment option to zdray help 2018-11-04 18:46:08 -05:00
Magnus Norddahl
d3d7174c77 - inline kexBBox::Center and kexBBox::Extents as they are also time critical 2018-11-04 23:20:33 +01:00
Magnus Norddahl
be5b3a79db - inline the vector classes as they are so time critical 2018-11-04 23:14:20 +01:00
Magnus Norddahl
5cbe1e18e7 - fix compile error when SSE is enabled 2018-11-04 18:12:05 +01:00
Magnus Norddahl
dbce7c68f7
Merge pull request #1 from Talon1024/master
Fix compilation errors on Ubuntu 16.04
2018-11-04 15:27:50 +01:00
Kevin Caccamo
8d930df8fd Fix compilation errors on Ubuntu 16.04 2018-11-04 05:19:16 -05:00
Magnus Norddahl
0ac4781d5e - fix 3d floor sides 2018-11-04 03:37:36 +01:00
Magnus Norddahl
6baa8a47d2 - VS2017 needs more QA 2018-11-04 03:37:01 +01:00
Magnus Norddahl
5ea89ac1b6 - add 3d floor ceiling and floor surfaces 2018-11-03 22:43:00 +01:00
Magnus Norddahl
0f6da0df5d - make the LIGHTMAP_MAX_SIZE define actually work if someone changes it 2018-11-03 19:37:50 +01:00
Magnus Norddahl
ed983935ec - class Init functions are so 1995 2018-11-03 19:35:46 +01:00
Magnus Norddahl
cf61394714 - get rid of the naked new and deletes 2018-11-03 19:33:59 +01:00
Magnus Norddahl
e89aa8a5d4 - remove kexTrace class 2018-11-03 19:01:47 +01:00
Magnus Norddahl
e5dbc83bc9 - remove zdbsp viewer 2018-11-03 18:25:41 +01:00
Magnus Norddahl
a66ec939fb - move mapdata to level 2018-11-03 18:22:04 +01:00
Magnus Norddahl
fde3e5f3b6 - moved binfile and halffloat to framework 2018-11-03 18:16:14 +01:00
Magnus Norddahl
265da537ab - remove common.h
- move math classes
2018-11-03 18:08:45 +01:00
Magnus Norddahl
8fac445226 - Switch from NULL to nullptr 2018-11-03 17:47:29 +01:00
Magnus Norddahl
627098b671 - use the standardized typedefs for sized integers 2018-11-03 17:43:42 +01:00
Magnus Norddahl
ef8dfe3744 - remove d_inline 2018-11-03 17:35:02 +01:00
Magnus Norddahl
6400fd1597 - clean up common.h 2018-11-03 17:31:57 +01:00
Magnus Norddahl
e37ea126ce - remove memheap 2018-11-03 17:12:39 +01:00
Magnus Norddahl
de8983a382 - remove kexStr 2018-11-03 16:49:51 +01:00
Magnus Norddahl
dcb4f083a3 - remove kexArray 2018-11-03 16:43:58 +01:00
Magnus Norddahl
f86358daf5 - reduce executable size by 12 megabytes! 2018-11-03 03:50:14 +01:00
Magnus Norddahl
dce5c510e3 - use subdivide on line surface lights as well
- removed some dead code
2018-11-03 00:45:29 +01:00
Magnus Norddahl
a034992280 - make the closest sample still decide the distance 2018-11-03 00:25:42 +01:00
Magnus Norddahl
664be1eca5 - implement the correct math for area lights 2018-11-02 23:34:38 +01:00
Magnus Norddahl
b588b809ea - reformat files 2018-11-02 23:17:46 +01:00
Magnus Norddahl
8eee053896 - remove some junk 2018-11-02 23:03:57 +01:00