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
Magnus Norddahl
7efc998f6e
- remove unused stuff
2018-11-02 22:57:03 +01:00
Magnus Norddahl
5399e988c7
- changed the output to be one lump using a compressed rgb16f format with 3d floors support
2018-11-02 22:21:32 +01:00
Magnus Norddahl
5e21857b4a
- update README.md
2018-10-31 20:37:26 +01:00
Magnus Norddahl
d95a8707cc
- adjust light radius to match what gzdoom does
2018-10-31 20:14:30 +01:00
Magnus Norddahl
8b290752c6
- add spotlight support
2018-10-31 20:08:01 +01:00
Magnus Norddahl
8bea68f6af
- link the 3d floors to their sectors and mark the control sectors
2018-10-31 02:33:04 +01:00
Magnus Norddahl
2bdf48bbcc
- add support for slopes
2018-10-31 01:20:20 +01:00
Magnus Norddahl
ca2f4df032
- updated readme
2018-10-30 19:24:45 +01:00
Magnus Norddahl
96080982e4
- fix readme formatting
2018-10-30 19:17:03 +01:00
Magnus Norddahl
b0f846e200
- remove the dlight config file and switch to using UDMF properties on lines, sectors and things
2018-10-30 19:10:50 +01:00
Magnus Norddahl
a51f51ff94
- fix include case sensitivity
2018-10-30 18:34:56 +01:00
Magnus Norddahl
1b25024e1d
- fix thing positioning
2018-10-30 16:56:30 +01:00
Magnus Norddahl
4fd952e7bb
- add --multisample argument for tracing multiple times per texel
2018-10-30 14:33:16 +01:00
Magnus Norddahl
453a4cc8b1
- fix null pointer crash
2018-10-30 13:35:15 +01:00
Magnus Norddahl
f0ec4a6838
- split long rays into shorter rays to speed up collision detection
2018-10-30 13:25:37 +01:00
Magnus Norddahl
0e17412b23
- fix buffer overrun when using 1024 sized lightmaps
...
- don't output progress unless the numbers changed
2018-10-30 13:05:25 +01:00
Magnus Norddahl
81a70d7c96
- fix race condition crash
...
- rewrote kexWorker to use std::function
- added --threads, --samples, --size command line arguments
- changed the default threading to be what the processor supports (64 threads on my Threadripper, muhahaha!)
2018-10-30 12:37:22 +01:00
Magnus Norddahl
6459b10724
- fix misc light surfaces not working outside their own subsector
2018-10-30 00:59:10 +01:00
Magnus Norddahl
8958790fed
- Switch the raytrace function to use different collision routines
2018-10-30 00:25:01 +01:00
Magnus Norddahl
99a4ffa69f
- add some mesh collision classes
2018-10-29 18:33:22 +01:00
Magnus Norddahl
6acea159f7
- change the light math and some defaults
2018-10-29 18:32:50 +01:00
Magnus Norddahl
2539d137a3
- fix include errors when SSE is enabled
2018-10-29 13:05:07 +01:00
Magnus Norddahl
8716182c99
- fix tag for udmf maps
...
- fix the default surface color
2018-10-28 21:01:51 +01:00
Magnus Norddahl
9e1a9d7d75
- include case sensibility fixes
2018-10-28 19:03:08 +01:00
Magnus Norddahl
16ba8f8619
- Misc UDMF fixes
2018-10-28 18:59:55 +01:00
Magnus Norddahl
fde2a69ce6
- fix wrong nodes version being built and disable multithreading
2018-10-27 20:18:23 +02:00
Magnus Norddahl
9fa22d96f7
Fix bug with linedefs having same sidedef on both sides
2018-10-27 20:16:55 +02:00
Magnus Norddahl
54e3e461c5
- output dlight lumps
2018-10-27 12:58:05 +02:00
Magnus Norddahl
dcf8fbae0a
- restore the old main from zdbsp
2018-10-27 12:08:49 +02:00
Magnus Norddahl
484737bb66
- add back support for writing a level
2018-10-27 11:34:18 +02:00
Magnus Norddahl
5a8927506a
- add support for outputting a debug mesh of the entire map
2018-10-27 02:07:34 +02:00
Magnus Norddahl
e84795cf99
- Fixed misc bugs caused by the merger
2018-10-27 00:03:23 +02:00
Magnus Norddahl
f9960ee12c
- hook up lightmap builder
2018-10-26 13:16:44 +02:00
Magnus Norddahl
fe9368b048
- Finish the merge of kexDoomMap into FLevel
2018-10-26 13:00:35 +02:00
Magnus Norddahl
be1ada81a6
- Change dlight to consume FLevel data
2018-10-26 11:31:11 +02:00
Magnus Norddahl
0aa918dcea
- remove anti-patterns
2018-10-26 10:06:17 +02:00
Magnus Norddahl
405bb743a0
Add dlight codebase to zdray
2018-10-26 09:15:14 +02:00