Magnus Norddahl
0835ae415b
Use the command buffers from VkCommandBufferManager
2023-09-02 15:14:01 +02:00
Magnus Norddahl
7c862dd861
Finish upload before using buffers
2023-09-02 14:50:57 +02:00
Magnus Norddahl
13819967f1
Merge LightmapSurface into DoomLevelMeshSurface
2023-09-02 13:50:28 +02:00
Magnus Norddahl
e297b78a25
Create DoomLevelMeshSurface
2023-09-02 13:24:04 +02:00
Magnus Norddahl
375e71dc0d
Namespace fixes
2023-09-02 13:09:57 +02:00
Magnus Norddahl
52a1c62b2c
Move SurfaceInfo and PortalInfo to vk_raytrace
...
Add VSMatrix * FVector4 operator
2023-09-02 12:54:07 +02:00
Magnus Norddahl
1e47db3cf3
Rename MeshSurfaces to MeshSurfaceIndexes for clarity
2023-09-02 12:34:00 +02:00
Magnus Norddahl
44c75fb9a7
Fix unmap asserts
2023-09-02 12:27:12 +02:00
Magnus Norddahl
706256b969
Fix misc typos
2023-09-02 12:03:32 +02:00
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
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