Commit Graph

200 Commits

Author SHA1 Message Date
Jarrod Doyle 622192a489
Add safer chunk usage 2024-08-14 18:39:13 +01:00
Jarrod Doyle 736ced24e4
Remove old unused code 2024-08-13 21:38:32 +01:00
Jarrod Doyle 93488ffc65
Add proper overbrightened 32bit2x lightmap rendering 2024-08-13 21:38:00 +01:00
Jarrod Doyle a8b9ce8a54
Fix incorrect lightmap colors 2024-08-13 19:23:52 +01:00
Jarrod Doyle 6f62d2ca00
Load textures from root thief resource CRF 2024-08-13 19:11:03 +01:00
Jarrod Doyle 9db1bc6681
Handle Thief 2 inst config file 2024-08-13 19:10:05 +01:00
Jarrod Doyle e773635677
Mission selector allows better browsing of campaigns 2024-08-13 18:31:20 +01:00
Jarrod Doyle 27dbc47419
Enable loading of PCX textures from FM folders 2024-08-12 19:52:36 +01:00
Jarrod Doyle 21b018298c
Use family palettes for PCX textures 2024-08-12 19:02:20 +01:00
Jarrod Doyle c14f74b108
Add PCX image loading 2024-08-12 18:46:30 +01:00
Jarrod Doyle 3aa6024103
Remove unused imports 2024-08-11 16:22:51 +01:00
Jarrod Doyle d1d6b310ab
Move material creation back to Mission 2024-08-11 15:43:44 +01:00
Jarrod Doyle 59edc0744c
Add texture manager/loader 2024-08-11 15:23:56 +01:00
Jarrod Doyle 51136b9526
Remove old code/comments 2024-08-11 14:31:27 +01:00
Jarrod Doyle 2ec121e056
Create one mesh per texture used 2024-08-11 12:28:24 +01:00
Jarrod Doyle 24ac6395d5
Moved Mission to TMV namespace 2024-08-11 09:18:02 +01:00
Jarrod Doyle 1508ed111d
Load TGA textures 2024-08-10 13:15:06 +01:00
Jarrod Doyle 1b661cbc7f
Meshes no longer cast shadows 2024-08-10 12:31:20 +01:00
Jarrod Doyle 9ef3a17e97
Mission node is no longer an EditorTool 2024-08-10 11:56:36 +01:00
Jarrod Doyle ad359ba656
Remove unnecessary WorldEnvironment node 2024-08-10 11:52:17 +01:00
Jarrod Doyle ae243fcd58
Fix lightmap colour blending 2024-08-10 11:50:46 +01:00
Jarrod Doyle 1539d1910d
Fix incorrect 16bit lightmaps 2024-08-10 10:22:57 +01:00
Jarrod Doyle 64dde9509d
better case insentitive checks 2024-08-10 08:58:02 +01:00
Jarrod Doyle 10da283f02
Add initial support for case sensitivity 2024-08-07 20:10:45 +01:00
Jarrod Doyle aaf93477d0
Fix incorrect paths for textures relative to mission file 2024-08-07 18:40:46 +01:00
Jarrod Doyle 9d49b38bf2
Clear texture cache on map clear 2024-08-07 17:30:20 +01:00
Jarrod Doyle 0758e24be5
Remove dummy mesh instance 2024-08-07 17:09:03 +01:00
Jarrod Doyle b2fc789734
Render textures and lightmaps together 2024-08-05 21:47:03 +01:00
Jarrod Doyle 74f4d0e7c6
Calculate texture UVs and move lightmap UVs to UV2 2024-08-05 19:49:36 +01:00
Jarrod Doyle da3f9b9203
Load and apply textures 2024-08-05 19:25:44 +01:00
Jarrod Doyle 79f7ebd7eb
Re-add occlusion culling 2024-08-05 18:57:21 +01:00
Jarrod Doyle 770f4e22d5
Split meshes into a surface for each poly 2024-08-05 18:46:57 +01:00
Jarrod Doyle 714c9804d8
Extract lightmap generation 2024-08-03 17:24:04 +01:00
Jarrod Doyle 114997f720
Extract mesh content generation 2024-08-03 17:22:38 +01:00
Jarrod Doyle 5dceedeaf1
Extract mesh and occluder generation to methods 2024-08-03 17:16:28 +01:00
Jarrod Doyle 91bddd5c12
Remove dummy light generation 2024-08-03 17:14:20 +01:00
Jarrod Doyle c9353f0100
Partly working texture rendering 2024-08-03 16:09:51 +01:00
Jarrod Doyle d405a9b5db
Add TXLIST reader 2024-08-03 16:09:30 +01:00
Jarrod Doyle fe5d2fb12f
Add better mission selection UI 2024-08-03 10:24:45 +01:00
Jarrod Doyle 50c4d06f19
Use a constant inverse scale when converting to godot vec3 2024-08-01 18:29:10 +01:00
Jarrod Doyle d7b8ee35f4
Render all lightmap layers 2024-08-01 18:23:17 +01:00
Jarrod Doyle 3307cdc8a9
Apply full ambient lighting 2024-07-31 17:12:21 +01:00
Jarrod Doyle e8b77b42bb
Add working lightmaps 2024-07-30 21:52:34 +01:00
Jarrod Doyle 185af065bc
Add simple UI for selecting/building/clearing mission 2024-07-22 21:09:27 +01:00
Jarrod Doyle 2105ea7b24
Little bit of cleanup 2024-07-22 20:34:12 +01:00
Jarrod Doyle 0ce662733b
Make occlusion culling more precise 2024-07-22 20:17:12 +01:00
Jarrod Doyle 6dc6297b7b
Add occlusion culling 2024-07-22 19:52:40 +01:00
Jarrod Doyle 76b95bcf67
Use indices for meshes 2024-07-22 19:37:56 +01:00
Jarrod Doyle 1ba0c6ac27
Add map clearing, handle cells without visible polys, add lighting 2024-07-22 19:37:27 +01:00
Jarrod Doyle 2e841276f3
Initial commit 2024-07-21 22:13:31 +01:00