Commit Graph

191 Commits

Author SHA1 Message Date
Jarrod Doyle ab34a78739
Add TxtRepl metadata to materials 2024-08-31 11:59:54 +01:00
Jarrod Doyle 047c2a1305
Fix string properties 2024-08-31 11:59:34 +01:00
Jarrod Doyle 5d23f87359
Add yucky textrepl parsing 2024-08-31 09:34:18 +01:00
Jarrod Doyle 81fde92ea4
Remove dummy mesh 2024-08-30 18:54:22 +01:00
Jarrod Doyle 38a360793a
Faster GIF loading 2024-08-30 18:22:40 +01:00
Jarrod Doyle eca63077b8
Cleaner model return 2024-08-30 17:56:28 +01:00
Jarrod Doyle 89cc70345e
Add more detailed model loading timings 2024-08-30 17:47:19 +01:00
Jarrod Doyle 8237a46989
Time a bunch more stuff 2024-08-29 19:59:01 +01:00
Jarrod Doyle 72f8666f5d
Sum repeated stage names 2024-08-29 19:27:18 +01:00
Jarrod Doyle ec79e07ec7
Only load textures that are actually used 2024-08-29 19:09:53 +01:00
Jarrod Doyle 30bfd05073
Preload obejct texture paths and use jorge for failed model textures 2024-08-29 18:36:36 +01:00
Jarrod Doyle 74bde133bb
Simplify model cache setting 2024-08-29 18:09:10 +01:00
Jarrod Doyle 0b347f7745
Fix bugged lightmaps 2024-08-29 17:15:22 +01:00
Jarrod Doyle e7e9c300fd
Remove unneccesary casts on bounds 2024-08-29 16:59:41 +01:00
Jarrod Doyle c0666a5404
More lightmap asbytes cleanup 2024-08-29 16:58:20 +01:00
Jarrod Doyle 5b53d03ae6
Slightly simplify lightmap bytes conversion 2024-08-29 16:55:46 +01:00
Jarrod Doyle 117f5b924c
Remove debug lightmap texture export 2024-08-28 22:18:53 +01:00
Jarrod Doyle e499cfcbfc
Further simplify packing algorithm and increase default width 2024-08-28 22:18:20 +01:00
Jarrod Doyle f6ef623bb4
Simplify packing by reversing sort and growing in only 1 direction 2024-08-28 22:03:48 +01:00
Jarrod Doyle d55231178e
Use custom naive rectpacker 2024-08-28 21:39:30 +01:00
Jarrod Doyle 0ceb011af9
Raise .net version 2024-08-28 21:29:42 +01:00
Jarrod Doyle 110c9b8a3c
Add initial UI for lightmap layer toggling 2024-08-28 08:07:01 +01:00
Jarrod Doyle 4a80ef547b
Support toggling lightmap layers 2024-08-28 07:44:07 +01:00
Jarrod Doyle 092896aa52
Use Texture2dArray for lightmap texture 2024-08-27 21:18:31 +01:00
Jarrod Doyle cbf309aaa4
Fix incorrect lightmap scale multiplier 2024-08-27 08:02:10 +01:00
Jarrod Doyle bb617ffc52
Get lightmap data as bytes and blit to atlas 2024-08-27 07:46:44 +01:00
Jarrod Doyle d125fb2cd3
Parse lightmaps as flat array rather than multidimensional array 2024-08-27 07:10:38 +01:00
Jarrod Doyle efb15c19dd
Handle lightmap scale 2024-08-26 16:53:01 +01:00
Jarrod Doyle 9605c36303
Change BuildHierarchy type signature 2024-08-26 15:24:07 +01:00
Jarrod Doyle d3e58af75c
Split hierarchy building to a method and time it 2024-08-26 15:10:05 +01:00
Jarrod Doyle 261d5fe399
Decrease target rectpacking density 2024-08-26 14:30:40 +01:00
Jarrod Doyle 42cc08363e
Profile the rectpacking 2024-08-26 14:30:19 +01:00
Jarrod Doyle 20a0796410
Time lightmap building 2024-08-26 14:03:50 +01:00
Jarrod Doyle 326543c0f6
Add timing method that returns a value 2024-08-26 14:03:37 +01:00
Jarrod Doyle e213b3ea26
Add some basic timings 2024-08-26 13:25:06 +01:00
Jarrod Doyle 6e70ad22c1
Add timing function 2024-08-26 13:22:29 +01:00
Jarrod Doyle 2f2aab828e
Add export preset 2024-08-26 12:58:53 +01:00
Jarrod Doyle 413e3bf937
Fix use of obselete methods 2024-08-26 12:40:51 +01:00
Jarrod Doyle 7ec48abda5
Add basic model caching 2024-08-26 12:38:13 +01:00
Jarrod Doyle afb6689683
Update project to Godot 4.3 2024-08-26 11:38:46 +01:00
Jarrod Doyle 1cfbd498c7
Loosely handle campaigns not having an obj folder when trying to get obj texture path 2024-08-25 17:09:59 +01:00
Jarrod Doyle 05e90c1a30
Add jank object texture path gathering 2024-08-25 16:52:21 +01:00
Jarrod Doyle b6a65fc10b
Extract model loading functionality out 2024-08-25 16:47:05 +01:00
Jarrod Doyle e313ca58a7
Merge GetObjectPath implementations 2024-08-25 16:25:12 +01:00
Jarrod Doyle 0d7ff677de
Slightly working support for custom model textures 2024-08-25 16:20:46 +01:00
Jarrod Doyle 2365f09931
Add basic object hierarchy generation and traversal 2024-08-25 15:49:40 +01:00
Jarrod Doyle 501f27a721
Load generic property chunks 2024-08-25 13:56:28 +01:00
Jarrod Doyle 8aa1c7c4bc
Don't render objects marked not rendered 2024-08-25 13:21:55 +01:00
Jarrod Doyle be937d53fc
Add RenderType property support 2024-08-25 13:21:27 +01:00
Jarrod Doyle 2be1bc4352
Add generic prop definition 2024-08-25 13:09:45 +01:00