Commit Graph

61 Commits

Author SHA1 Message Date
Magnus Norddahl df010a5643 Add back BinFile 2023-10-16 16:46:16 +02:00
Magnus Norddahl 53d73780dd Move textureid to framework 2023-10-10 22:15:00 +02:00
Magnus Norddahl f905d37cd7 Port over more of DoomLevelMesh 2023-10-10 00:46:23 +02:00
Magnus Norddahl f8b8005d4a Add the shaders 2023-10-06 00:34:04 +02:00
Magnus Norddahl a9d1999b46 Init vulkan 2023-10-05 23:03:28 +02:00
Magnus Norddahl 642794e678 Replace mathlib with gzdoom equivalents for easier code exchanges between vkdoom and zdray
Import the lightmapper from vkdoom and bring in just enough infrastructure for it to build
2023-10-04 22:22:54 +02:00
Magnus Norddahl 5bf393364f Rewrite CMakeLists.txt 2022-11-07 23:24:24 +01:00
Magnus Norddahl 8427e4c98d Switch to using zvulkan 2022-11-07 21:36:27 +01:00
RaveYard 91c0871b0b Fix edge case where relativePosition of light is valid at 0,0,0 2022-10-31 11:07:56 +01:00
RaveYard 1a94878e4e Move portal stuff from levelmesh.h to portal.h 2022-10-31 11:07:56 +01:00
RaveYard bfbf97c2f6 Add RenderDoc support 2022-10-26 11:52:10 +02:00
Magnus Norddahl 1e62255b28 Update the vulkan support classes and enable runtime detection for falling back to non-rayquery rendering if the device does not support it 2022-09-01 01:04:17 +02:00
Magnus Norddahl 8dcd37691c Remove the CPU raytracer 2022-08-31 08:09:12 +02:00
Magnus Norddahl 8ed96484c2 Remove the old GPU raytracer 2022-08-31 06:22:02 +02:00
Magnus Norddahl 9c43d0336d Add multisampling 2022-08-27 05:38:40 +02:00
alexey.lysiuk 2000829d82 Fix building for architectures without SSE
Tested compilation of ARM64 target on macOS
2022-08-04 12:55:41 +03:00
RaveYard baba15b9b5 Use library to improve lightmap texture packing 2022-07-08 22:51:41 +02:00
RaveYard 020b053398 Move task discard test from CPU tracer to surfaceclip.h 2022-07-04 12:26:05 +02:00
Magnus Norddahl 8ec576c3bd Begin work on a new GPU raytracer that uses ray queries instead of the raytracing pipeline 2022-06-30 23:26:31 +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
Magnus Norddahl bde4c60f82 Add an ambient occlusion pass 2021-11-24 03:37:46 +01:00
Magnus Norddahl 4cb0f59f66 Minor file structure cleanup 2021-11-16 00:30:54 +01:00
Magnus Norddahl 8b26826cee Replace zlib with miniz as that is much easier to link with and removes a linker warning 2021-11-16 00:04:05 +01:00
Magnus Norddahl 955632f1f8 Remove worker class 2021-11-15 23:36:29 +01:00
Magnus Norddahl 50120b420c Fix pthread thing, hopefully 2021-11-13 00:20:45 +01:00
Magnus Norddahl 59abd6dd53 Fix build folder path problem 2021-11-13 00:17:59 +01:00
Magnus Norddahl 60e4077209 Fix missing pthread for clang 2021-11-13 00:14:07 +01:00
Magnus Norddahl cb42f82bfc Replace the vector/matrix classes with something behaving a bit more like glsl 2021-11-12 22:40:29 +01:00
Magnus Norddahl e54477cb93 Fix linux compile errors 2021-11-12 17:08:15 +01:00
Magnus Norddahl cd3563759c Rewrite the CPU ray tracer 2021-11-11 05:04:33 +01:00
Magnus Norddahl 96b31d8a69 Implement light probe tracing on the GPU 2021-11-10 02:25:03 +01:00
Magnus Norddahl 8df36944eb Split shaders into three types (light, sun, bounce) 2021-11-07 04:05:19 +01:00
Magnus Norddahl 9ce4c027bd Remove unused SurfaceLight class 2021-11-06 03:03:07 +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 75798fae9b Move glsl shader code to files 2021-11-05 18:23:31 +01:00
Magnus Norddahl fb86b2054c Move stack trace capture out of gpuraytracer.cpp 2021-10-31 19:20:23 +01:00
Magnus Norddahl 0e7bb52c19 Upgrade glsl compiler to 11.6.0 2021-10-31 18:19:26 +01:00
Magnus Norddahl a294ca216a Add uncommitted vulkan headers 2021-10-30 03:20:46 +02: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 fa1d2fb215 Prepare the code for writing a new ray tracer 2021-10-20 05:28:41 +02:00
Magnus Norddahl a647f21501 Add the gzdoom model loaders 2021-10-14 17:12:05 +02:00
Magnus Norddahl 8f097378d5 Add the delauney triangulator (not used, but I don't want to lose this code in case I decide to use it after all) 2021-10-14 15:49:27 +02:00
Rachael Alexanderson c0aff53de5 - fix building in GCC-10 2021-09-25 06:11:38 -04:00
Magnus Norddahl ce7074f646 - rename surfacelight file 2018-11-09 22:20:31 +01:00
Magnus Norddahl 7756bba61f - remove unused Pluecker and Rand classes 2018-11-09 21:28:03 +01:00
Kevin Caccamo 8d930df8fd Fix compilation errors on Ubuntu 16.04 2018-11-04 05:19:16 -05: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