Commit graph

  • 25345c2477 Replace Thing UDMF keys for the ZDRayInfo with args instead nashmuhandes 2022-02-20 04:46:19 +0800
  • 05eed4d4a2 Add "line" suffix to the surface light keywords to clearly label their intended usage nashmuhandes 2022-02-20 04:28:28 +0800
  • 957d8391b3 Remove Thing lightintensity keys from the README nashmuhandes 2022-02-20 04:19:30 +0800
  • f38995889d Remove 'lightintensity' UDMF key from Things, replaced it with the Thing's alpha instead nashmuhandes 2022-02-20 04:17:45 +0800
  • 20cd01ebad Remove sun direction keys from ZDRayInfo (the angle and pitch now determines the sun direction) nashmuhandes 2022-02-16 07:04:13 +0800
  • 1bd8385b7c Merge branch 'master' of https://github.com/dpjudas/ZDRay nashmuhandes 2022-02-16 06:43:04 +0800
  • 7f822dd250 Use ZDRayInfo's angle and pitch to determine the sun direction nashmuhandes 2022-02-16 06:42:33 +0800
  • 4b59673415
    Update README.md Nash Muhandes 2022-02-16 04:23:51 +0800
  • b42d771e17
    Merge pull request #29 from nashmuhandes/ThingKeysToArgs Magnus Norddahl 2022-02-15 21:00:44 +0100
  • fda2cef8cc
    Merge pull request #28 from nashmuhandes/ReadmeUpdate1 Magnus Norddahl 2022-02-15 21:00:29 +0100
  • 3f191651aa For static light things, have ZDRay use args instead of UDMF keys. This aligns them with dynamic lights, and will help with UDB integration. nashmuhandes 2022-02-16 02:14:21 +0800
  • a0b90d554f Update readme with more information about GPU and CPU baking, and also to clearly distinguish the static point and spotlight types. nashmuhandes 2022-02-16 00:30:37 +0800
  • 6151efa762
    Merge pull request #10 from nashmuhandes/ThingTypeRestrict Magnus Norddahl 2022-02-15 15:30:12 +0100
  • 15b31f0526 Only create lights for the actual static light things nashmuhandes 2022-02-15 22:10:32 +0800
  • c5d09682a0 Fix threadIndex mistakenly getting captured by reference Magnus Norddahl 2022-02-15 14:35:32 +0100
  • 6729561354
    Merge pull request #9 from Talon1024/master Magnus Norddahl 2022-01-25 16:48:42 +0100
  • 9ae145358f
    Fix GCC compilation errors Kevin Caccamo 2022-01-25 10:19:17 -0500
  • 0772f148c4 Improve the AO pass Magnus Norddahl 2021-11-25 01:13:53 +0100
  • bde4c60f82 Add an ambient occlusion pass Magnus Norddahl 2021-11-24 03:37:46 +0100
  • 583f720007 Limit the number of lights per trace to 50 Magnus Norddahl 2021-11-16 02:15:14 +0100
  • 95232aedf4 Add progress dots for CPU tracer and streamline how they look Magnus Norddahl 2021-11-16 00:57:06 +0100
  • 4cb0f59f66 Minor file structure cleanup Magnus Norddahl 2021-11-16 00:30:54 +0100
  • 8b26826cee Replace zlib with miniz as that is much easier to link with and removes a linker warning Magnus Norddahl 2021-11-16 00:04:05 +0100
  • 955632f1f8 Remove worker class Magnus Norddahl 2021-11-15 23:36:29 +0100
  • e61f10af24 Flip surface sort order for better lightmap packing and add some border between the surfaces Magnus Norddahl 2021-11-14 19:54:44 +0100
  • 346f71e60a Improve lightmap atlas and add some more error checks Magnus Norddahl 2021-11-13 04:52:13 +0100
  • 5d0fe12221 Align the uniforms as the Nvidia 10 series requires that Magnus Norddahl 2021-11-13 01:06:36 +0100
  • fc56a552fd Remove the KHR_RAY_QUERY requirement as it isn't being used anyway Magnus Norddahl 2021-11-13 00:43:53 +0100
  • 50120b420c Fix pthread thing, hopefully Magnus Norddahl 2021-11-13 00:20:45 +0100
  • 59abd6dd53 Fix build folder path problem Magnus Norddahl 2021-11-13 00:17:59 +0100
  • 60e4077209 Fix missing pthread for clang Magnus Norddahl 2021-11-13 00:14:07 +0100
  • cb42f82bfc Replace the vector/matrix classes with something behaving a bit more like glsl Magnus Norddahl 2021-11-12 22:40:29 +0100
  • 6b4fef6a2b Fix missing normalization of the first plane vector after cross product Magnus Norddahl 2021-11-12 17:00:07 +0100
  • 2a91f530c9 Fix some more compile errors Magnus Norddahl 2021-11-12 16:24:27 +0100
  • e54477cb93 Fix linux compile errors Magnus Norddahl 2021-11-12 17:08:15 +0100
  • edc22ed06f Fix the include error Magnus Norddahl 2021-11-12 16:49:11 +0100
  • 581b87a745 Merge branch 'master' of https://github.com/dpjudas/ZDRay Magnus Norddahl 2021-11-12 16:17:52 +0100
  • 04b01426e6 Add automatic fallback to CPU ray tracing if no vulkan device supports the ray tracing extension Magnus Norddahl 2021-11-12 16:17:44 +0100
  • d407d73c36 Remove unused code dpjudas 2021-11-12 05:11:19 +0100
  • f44e73d8d0 Fix error when baking a map with no lights in it dpjudas 2021-11-12 05:07:57 +0100
  • 9b6cd720dd
    Update README.md Magnus Norddahl 2021-11-11 05:58:48 +0100
  • d6b9ed2e66
    Update README.md Magnus Norddahl 2021-11-11 05:56:15 +0100
  • 5035f3671f Adjust usage print slightly Magnus Norddahl 2021-11-11 05:52:40 +0100
  • 031dc4a4db Move sample distance, bounces and light probe grid size settings to the zdrayinfo actor as they affect map visuals Magnus Norddahl 2021-11-11 05:51:00 +0100
  • cd3563759c Rewrite the CPU ray tracer Magnus Norddahl 2021-11-11 05:04:33 +0100
  • 96b31d8a69 Implement light probe tracing on the GPU Magnus Norddahl 2021-11-10 02:25:03 +0100
  • 43bdb1cbca Improve performance by tracing all lights in one shader Magnus Norddahl 2021-11-10 00:37:56 +0100
  • be1a94931b Improve tracing times and remove the map size limitation Magnus Norddahl 2021-11-09 19:53:45 +0100
  • 0c4199b281 Implement bounces and emissive surfaces Magnus Norddahl 2021-11-07 23:52:44 +0100
  • 8df36944eb Split shaders into three types (light, sun, bounce) Magnus Norddahl 2021-11-07 04:05:19 +0100
  • 9ce4c027bd Remove unused SurfaceLight class Magnus Norddahl 2021-11-06 03:03:07 +0100
  • ca5c48836f Trace sunlight on the GPU Magnus Norddahl 2021-11-06 02:51:36 +0100
  • b12f31f182 Minor code clean up Magnus Norddahl 2021-11-05 23:50:19 +0100
  • 9ebe31ee72 Remove the old dlight based ray tracer and add an option to choose between the CPU and GPU ray tracers Magnus Norddahl 2021-11-05 23:42:01 +0100
  • c7b220c2ba Add surface and sunlight to the new CPU ray tracer Magnus Norddahl 2021-11-05 23:31:23 +0100
  • 75798fae9b Move glsl shader code to files Magnus Norddahl 2021-11-05 18:23:31 +0100
  • 973a5b28b7 Improve direct light sampling quality Fix command line argument bug Magnus Norddahl 2021-11-05 03:17:06 +0100
  • 2efd031fa2 Raytrace direct light sources on the GPU Magnus Norddahl 2021-11-05 00:19:38 +0100
  • 178c918af6 Fix closest hit and miss shaders not working Magnus Norddahl 2021-11-04 20:24:38 +0100
  • ef4b67ea04 Setup images for ray tracing and hook up renderdoc Magnus Norddahl 2021-11-04 18:38:33 +0100
  • f42c515b16 Oops, this wasn't meant to be committed Magnus Norddahl 2021-11-03 23:31:24 +0100
  • b1a06fda5e Successfully call vkCmdTraceRaysKHR without validation errors Magnus Norddahl 2021-11-03 23:30:57 +0100
  • 0b9705a1d8 Minor adjustments Magnus Norddahl 2021-11-01 02:55:58 +0100
  • d573f9e907 Create the pipeline Magnus Norddahl 2021-11-01 02:20:57 +0100
  • df1172346d Remove old NV ray tracing builders Magnus Norddahl 2021-11-01 02:20:41 +0100
  • fb86b2054c Move stack trace capture out of gpuraytracer.cpp Magnus Norddahl 2021-10-31 19:20:23 +0100
  • 5d514f8c4b Compile a rgen shader Magnus Norddahl 2021-10-31 18:32:55 +0100
  • edc4b159d0 Update shader builder to latest shader compiler version Magnus Norddahl 2021-10-31 18:32:33 +0100
  • 0e7bb52c19 Upgrade glsl compiler to 11.6.0 Magnus Norddahl 2021-10-31 18:19:26 +0100
  • b06f1b6128 Fix vulkan validation errors Magnus Norddahl 2021-10-31 03:05:43 +0100
  • ce376eb558 Update vk_mem_alloc as the old version did not support all the flags needed for ray tracing Magnus Norddahl 2021-10-31 03:05:11 +0100
  • 1b29ef02b9 Create top level acceleration structure Magnus Norddahl 2021-10-31 01:15:49 +0200
  • 0065d91f44 Build the bottom level acceleration structure using the KHR raytracing extension Magnus Norddahl 2021-10-30 03:21:27 +0200
  • a294ca216a Add uncommitted vulkan headers Magnus Norddahl 2021-10-30 03:20:46 +0200
  • bbdb312e10 Update vulkan headers to 1.2.189.2 Update volk to 1.2.190 Magnus Norddahl 2021-10-30 01:27:36 +0200
  • 3e11f81d5a Add first steps in using the GPU for the ray tracing Magnus Norddahl 2021-10-28 23:27:25 +0200
  • 410a0e0c7c Add vulkan thirdparty files Magnus Norddahl 2021-10-28 23:26:53 +0200
  • 47494dd3b2 Add a new raytracer that bounces using path tracing Magnus Norddahl 2021-10-21 06:31:58 +0200
  • f0c7e5fb9a Merge branch 'master' of https://github.com/dpjudas/ZDRay Magnus Norddahl 2021-10-20 05:28:51 +0200
  • fa1d2fb215 Prepare the code for writing a new ray tracer Magnus Norddahl 2021-10-20 05:28:41 +0200
  • fb6cf06771 Fix compile error dpjudas 2021-10-17 03:26:48 +0200
  • e5816c7df4 Apply a 3x3 blur on the lightmap Magnus Norddahl 2021-10-16 04:46:53 +0200
  • c76bf98834 Remove sorting light probes by subsector Magnus Norddahl 2021-10-15 04:22:04 +0200
  • 539bd9fd1d Only create 3 probe layers per sector (covering the entire volume is too many probes) Magnus Norddahl 2021-10-15 01:26:32 +0200
  • 199d5d7043 Remove unused function Magnus Norddahl 2021-10-14 17:20:44 +0200
  • a647f21501 Add the gzdoom model loaders Magnus Norddahl 2021-10-14 17:12:05 +0200
  • 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) Magnus Norddahl 2021-10-14 15:49:27 +0200
  • 2acec31f7d
    Merge pull request #7 from nashmuhandes/GridSizeCmd Magnus Norddahl 2021-10-14 15:48:08 +0200
  • f67852c9a8 Allow auto-probe grid size to be set on the command line nashmuhandes 2021-10-14 16:56:04 +0800
  • af83883b40 Merge branch 'master' of https://github.com/dpjudas/ZDRay Magnus Norddahl 2021-10-14 06:13:40 +0200
  • 4f3005de9e Add automatically generating a grid of light probes Magnus Norddahl 2021-10-14 06:13:31 +0200
  • b61fbe7032
    Merge pull request #6 from nashmuhandes/SunlightEdNumProposal Magnus Norddahl 2021-10-05 11:20:32 +0200
  • 6fa8bf706e Change the sunlight DoomEdNum to 9890, to prevent clash with PointLightStatic nashmuhandes 2021-10-05 13:11:12 +0800
  • 2f7b97854a Update docs Magnus Norddahl 2021-10-04 23:56:55 +0200
  • 3a1968782d Add SunLight thing support Magnus Norddahl 2021-10-04 23:47:19 +0200
  • d8bf0bafc4 Add some code exporting the lit level mesh to .obj for debugging (helps figuring out if a problem is in GZDoom or ZDRay) Magnus Norddahl 2021-10-02 22:15:57 +0200
  • 5f23b75c10 Fix some UDMF properties getting lost after merging the code with dlight Magnus Norddahl 2021-10-02 04:26:26 +0200
  • ef7caddb2c Fix light probe Z coordinate Magnus Norddahl 2021-09-25 19:55:17 +0200
  • ba36819da9 Seems thing.height is not a reliable value in zdray? Magnus Norddahl 2021-09-25 19:39:42 +0200
  • 53328e8f65 Don't try link the baked light probes with the original actors as that's problematic on the gzdoom end of things Magnus Norddahl 2021-09-25 18:38:12 +0200