Commit graph

21,252 commits

Author SHA1 Message Date
RaveYard
2b74f408aa Use lightmapper output 2023-09-02 11:07:14 +02:00
RaveYard
689e764830 Fix copying of pixels from surface.texPixels to LMTextureData 2023-09-02 11:07:14 +02:00
RaveYard
c12fe7be0f Fix AllocUvs 2023-09-02 11:07:14 +02:00
RaveYard
6f00cacdcc WIP Attempt to fix the temporary ZDRay tracecoder lightmap write 2023-09-02 11:07:14 +02:00
Magnus Norddahl
4d12de45e4 Fix null pointer crash 2023-09-01 00:25:09 +02:00
Magnus Norddahl
558867a49f Move surface linking into DoomLevelMesh 2023-09-01 00:13:22 +02:00
Magnus Norddahl
cff50b8087 Initialize lightmap texture in SetLevelMesh
Create VkLightmap class on VulkanRenderDevice
2023-09-01 00:03:18 +02:00
RaveYard
23deb11399 Merge Surface into hwrenderer::Surface 2023-08-31 22:57:58 +02:00
RaveYard
14881a6fb2 Use FVector4 for plane in struct Surface 2023-08-31 22:57:58 +02:00
RaveYard
6ef79a1d3a TMP need uvs back 2023-08-31 22:57:58 +02:00
RaveYard
861630384b Micro clean-up 2023-08-31 22:57:57 +02:00
RaveYard
0e927c2a26 Re-enable cpu trace test 2023-08-31 22:57:57 +02:00
RaveYard
8843bcdfef Shuffle around member variables in struct Surface 2023-08-31 22:57:57 +02:00
RaveYard
18842eb30c GenerateLightmap in DFrameBuffer 2023-08-31 22:57:57 +02:00
RaveYard
a40164865c LIghtmapUVs to FVector2 2023-08-31 22:57:57 +02:00
RaveYard
197b746fef WIP Cleanup of maploader 2023-08-31 22:57:57 +02:00
RaveYard
6fc7eaf2fa First step towards refactoring 2023-08-31 22:57:57 +02:00
RaveYard
ef031c2073 WIP fake raytracer output 2023-08-31 22:57:57 +02:00
RaveYard
4e57deaf33 Buffer data now in Levelmesh 2023-08-31 22:57:57 +02:00
RaveYard
651903fe71 WIP VkLightmap integration 2023-08-31 22:57:56 +02:00
RaveYard
696166a726 Fix after rebase 2023-08-31 22:57:56 +02:00
RaveYard
e4d99058ad CPU raytrace basic test 2023-08-31 22:57:56 +02:00
RaveYard
96576ea1ae DoomLevelMesh LightmapUVs are now finally correct 2023-08-31 22:57:56 +02:00
RaveYard
68002d3edc Fix bad UV indices in FinishSurface and export UVs in dumplevelmesh 2023-08-31 22:57:56 +02:00
RaveYard
5263a68dc9 Atlas UV mapping 2023-08-31 22:57:56 +02:00
RaveYard
1a25e492d9 Minor cleanup 2023-08-31 22:57:56 +02:00
RaveYard
0fc5f254fc WIP BuildSurfaceParams from ZDRay 2023-08-31 22:57:56 +02:00
RaveYard
3426cbcd0f Add bounds.cpp from ZDRay 2023-08-31 22:57:56 +02:00
Magnus Norddahl
1162a5017a Adjust names of variables for better readability 2023-08-31 03:11:24 +02:00
Magnus Norddahl
3750173eae Import ZDRay's GPURaytracer class as VkLightmap as the first step in letting the backend update them dynamically 2023-08-31 02:47:11 +02:00
nashmuhandes
4aa6ac5585 Merge remote-tracking branch 'remotes/origin/gzd_staging' 2023-08-31 08:37:25 +08:00
Magnus Norddahl
370bf24d2c Fix crash when frame buffers are resized 2023-08-30 18:53:45 +02:00
RaveYard
0edaa7ca9d Fix uninitialized bSky 2023-08-30 18:08:00 +02:00
RaveYard
4f5d2f3ec6 Add DumpLevelMesh ccmd 2023-08-30 18:08:00 +02:00
RaveYard
f228dd326b Backport support for Line_Horizon from ZDRay into doom_levelmesh 2023-08-30 18:06:35 +02:00
RaveYard
97eaa46b69 Configurable sampling per custom texture in material shaders 2023-08-25 18:18:03 +02:00
nashmuhandes
354b0f9257 Add website to README.md 2023-08-22 09:23:50 +08:00
nashmuhandes
18c162c771 Remove the AppImageBuilder stuff 2023-08-22 09:10:50 +08:00
nashmuhandes
9e0bf90be6 Merge remote-tracking branch 'remotes/ZDoom/gzdoom/staging' into gzd_staging 2023-08-22 09:09:51 +08:00
nashmuhandes
9cadf983b0 Go back to the hex font for now 2023-08-22 07:49:34 +08:00
nashmuhandes
89b42e3e97 Use a custom naming convention for VKDoom-only stuff 2023-08-21 18:52:05 +02:00
Christoph Oelckers
7fee89d1f5 - uncouple the file system from the engine's Printf function.
This is needed to use it in non GZDoom based projects.
2023-08-17 21:36:22 +02:00
Christoph Oelckers
9b790d23a8 - optimization of WideString and FileReader::Printf.
Both now omit the intermediate FString as the target buffer can be directly written to.
WideString was also moved to utf8.cpp/h to uncouple from zstring.
2023-08-17 18:45:33 +02:00
Cacodemon345
a4573b4ad1 Fix QOI image loading 2023-08-17 08:56:50 -04:00
Cacodemon345
2261dde791 Fix for Clang compilers 2023-08-14 19:30:50 +02:00
Cacodemon345
ce8753c6e1 Replace cxx_thread_local check 2023-08-14 19:30:50 +02:00
Cacodemon345
14a3cf8fc2 CMakeLists upgrade to 3.16 and cleanup
* Remove precompiled header hack
* Fixes for compilation on VS2022 Debug configurations
2023-08-14 19:30:50 +02:00
Christoph Oelckers
74b3d8e0a0 - optimized the QOI loader
* removed the intermediate pixel buffer
* instead of calling the file API for each single byte, load it into a buffer and use direct memory access. Using a file API like this can be magnitudes slower, depending on the underlying data.
* don't store the header in the image source object, it is never used again after validatipn.
2023-08-13 19:03:20 +02:00
Cacodemon345
c727e40e6c Add support for QOI image formats 2023-08-13 06:04:15 -04:00
Cacodemon345
fe7beaaf17 Add support for HDR canvas textures
Vulkan only.
2023-08-12 06:46:05 -04:00