Commit graph

37 commits

Author SHA1 Message Date
Magnus Norddahl
8dcd37691c Remove the CPU raytracer 2022-08-31 08:09:12 +02:00
Magnus Norddahl
0ca74c2e42 Speed up rayquery raytracer by using an atlas 2022-08-17 01:35:12 +02:00
Magnus Norddahl
89a3927a66 Clean up some variables 2022-08-16 23:59:06 +02:00
RaveYard
ce3060708d Add --dump-mesh option and improve LevelMesh::Export 2022-06-24 20:53:44 +02:00
RaveYard
038259a590 Add support for most common slope types
Certain actors used to make slopes aren't still supported
2022-06-22 14:30:51 +02:00
RaveYard
0479d4fce3 Support customizable sampling distance per surface
- Fix sampleDistance UDMF

- Refactoring code

- Handle 3D floors sides via lm_sampledist_mid per each wall in the
  applied sector
2022-06-16 15:33:28 +02:00
nashmuhandes
f38995889d Remove 'lightintensity' UDMF key from Things, replaced it with the Thing's alpha instead 2022-02-20 04:17:45 +08:00
Magnus Norddahl
04b01426e6 Add automatic fallback to CPU ray tracing if no vulkan device supports the ray tracing extension 2021-11-12 16:17:44 +01:00
Magnus Norddahl
031dc4a4db Move sample distance, bounces and light probe grid size settings to the zdrayinfo actor as they affect map visuals 2021-11-11 05:51:00 +01:00
Magnus Norddahl
cd3563759c Rewrite the CPU ray tracer 2021-11-11 05:04:33 +01:00
Magnus Norddahl
9ebe31ee72 Remove the old dlight based ray tracer and add an option to choose between the CPU and GPU ray tracers 2021-11-05 23:42:01 +01:00
Magnus Norddahl
f42c515b16 Oops, this wasn't meant to be committed 2021-11-03 23:31:24 +01:00
Magnus Norddahl
b1a06fda5e Successfully call vkCmdTraceRaysKHR without validation errors 2021-11-03 23:30:57 +01:00
Magnus Norddahl
3e11f81d5a Add first steps in using the GPU for the ray tracing 2021-10-28 23:27:25 +02:00
Magnus Norddahl
47494dd3b2 Add a new raytracer that bounces using path tracing 2021-10-21 06:31:58 +02:00
Magnus Norddahl
fa1d2fb215 Prepare the code for writing a new ray tracer 2021-10-20 05:28:41 +02:00
Christoph Oelckers
72ad99fe96 - parse all data from the map to allow complete slope creation. 2018-12-30 10:18:35 +01:00
Christoph Oelckers
bb488236d1 - parse all needed fields from things for slope definition. 2018-12-30 09:27:28 +01:00
Magnus Norddahl
2555eec131 - simplify outer interface slightly 2018-11-10 00:47:20 +01:00
Magnus Norddahl
ce7074f646 - rename surfacelight file 2018-11-09 22:20:31 +01:00
Magnus Norddahl
9a84d487dc - split map loading code from surface mesh code 2018-11-09 08:42:37 +01:00
Magnus Norddahl
cf61394714 - get rid of the naked new and deletes 2018-11-03 19:33:59 +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
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
8b290752c6 - add spotlight support 2018-10-31 20:08:01 +01:00
Magnus Norddahl
2bdf48bbcc - add support for slopes 2018-10-31 01:20:20 +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
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
6acea159f7 - change the light math and some defaults 2018-10-29 18:32:50 +01:00
Magnus Norddahl
16ba8f8619 - Misc UDMF fixes 2018-10-28 18:59:55 +01:00
Magnus Norddahl
54e3e461c5 - output dlight lumps 2018-10-27 12:58:05 +02:00
Magnus Norddahl
484737bb66 - add back support for writing a level 2018-10-27 11:34:18 +02:00
Magnus Norddahl
b4f22e7959 Remove level writing code as it isn't needed 2017-08-03 22:13:30 +02:00
Magnus Norddahl
e9356ea255 Initial import 2017-08-03 20:25:54 +02:00