Commit Graph

48 Commits

Author SHA1 Message Date
Jarrod Doyle 40ea7cce0e
Parse per cell fog/ambient zones 2024-12-26 17:10:41 +00:00
Jarrod Doyle b8a5169b78
Parse anim light cutoff in LmParams 2024-12-26 13:47:30 +00:00
Jarrod Doyle 1b13d92b99
Fix #5: Cull any gamesys links/linkdata with concrete LinkIDs 2024-12-23 19:36:28 +00:00
Jarrod Doyle 045285f82d
Handle model files with too many joints 2024-12-23 18:34:19 +00:00
Jarrod Doyle a8bdf37097
Add joint transformation to modelfile 2024-12-23 17:46:45 +00:00
Jarrod Doyle 9c71529d8e
Add layer range check on AddLight 2024-12-23 17:42:03 +00:00
Jarrod Doyle e3aac88c17
Add SpotlightAndAmbient parsing 2024-12-23 17:40:50 +00:00
Jarrod Doyle 1aac751043
Error if install config doesn't have resname_base 2024-12-11 17:38:30 +00:00
Jarrod Doyle ad08d373b7
Better handling of multiple config file resource paths 2024-12-11 17:36:37 +00:00
Jarrod Doyle 7ae7407c2b
Fix #4: Handle non-existent directories in install config 2024-12-11 17:14:53 +00:00
Jarrod Doyle 2a75e016ef
Fixed underpowered 16 bit lighting 2024-12-10 21:00:39 +00:00
Jarrod Doyle ca3dfa677f
Add basic 16bit lm writing 2024-12-10 20:06:03 +00:00
Jarrod Doyle 596ce88215
Make UseSunlight a bool 2024-12-09 14:35:41 +00:00
Jarrod Doyle 122bd2bfa7
Add immobile and static shadow props 2024-12-07 18:28:07 +00:00
Jarrod Doyle c96a42b883
Add JointPos prop 2024-12-07 17:08:01 +00:00
Jarrod Doyle 8cc64ae1e5
Parse model sub objects 2024-12-07 16:52:05 +00:00
Jarrod Doyle ff91ad567b
Add LmParams parsing 2024-10-29 17:49:03 +00:00
Jarrod Doyle c162a5028d
Fix incorrect anim light map layering 2024-10-27 09:21:19 +00:00
Jarrod Doyle 3df1b728e6
Simplify light strength ratio calculation 2024-10-27 08:54:52 +00:00
Jarrod Doyle ef95b07926
Remove double dict access when adding object property 2024-10-27 08:39:17 +00:00
Jarrod Doyle 466b7a4c0b
Change GetProperty return to be nullable 2024-10-27 08:38:47 +00:00
Jarrod Doyle 13f822673a
Make light indices a list 2024-10-06 10:56:17 +01:00
Jarrod Doyle 6d665302d2
Make Lightmap a class and add AddLayer method 2024-10-05 18:13:30 +01:00
Jarrod Doyle 1f05663460
Add dummy sunlight source to light table 2024-10-05 17:36:12 +01:00
Jarrod Doyle dff2a9da2c
Add comment about sunlight 2024-10-05 16:35:11 +01:00
Jarrod Doyle 0a4dcc6de0
Clear cell anim light palette 2024-10-05 16:27:35 +01:00
Jarrod Doyle 0bcf24f640
Remove unneeded using directives 2024-10-05 15:00:47 +01:00
Jarrod Doyle 3fa86a233f
Use TryGetChunk everywhere 2024-10-05 14:57:40 +01:00
Jarrod Doyle ab738203d6
Reset lighting table and lightmaps 2024-10-05 14:52:09 +01:00
Jarrod Doyle ea72c3af4a
Make LightmapInfo a class 2024-10-05 14:51:31 +01:00
Jarrod Doyle 013a3b845a
Make Cell and LightTable classes 2024-10-05 14:35:07 +01:00
Jarrod Doyle 25e8e50f5e
Add DbFile TryGetChunk method 2024-10-05 14:33:53 +01:00
Jarrod Doyle b9eae0e437
Split lightmap pixels array into layers 2024-10-04 18:49:37 +01:00
Jarrod Doyle 9251685d26
Handle subtractive lights 2024-09-29 14:46:46 +01:00
Jarrod Doyle 6efceff852
Fix incorrect AnimLight prop write 2024-09-29 10:30:23 +01:00
Jarrod Doyle bd72554b9a
Add ability to not inherit properties 2024-09-29 10:09:09 +01:00
Jarrod Doyle 46fe99bbfc
Parse AnimLight property 2024-09-29 09:52:12 +01:00
Jarrod Doyle 8b7ffcd7a3
Recalculate TOC on write 2024-09-27 17:46:10 +01:00
Jarrod Doyle bcc60eff52
Add BSP tree and LightTable parsing 2024-09-27 17:42:28 +01:00
Jarrod Doyle d7fcf7a2d8
Add model vhots and model light offset/dir 2024-09-26 20:25:01 +01:00
Jarrod Doyle 51e3a3a9e7
Add prop spotlight parsing 2024-09-26 16:45:48 +01:00
Jarrod Doyle dcecc33bcd
Handle HDR and light strength multiplication in AddLight 2024-09-26 12:04:58 +01:00
Jarrod Doyle d5664b2614
Swap chunk merging so we're not making the mission chunks too big 2024-09-23 16:43:20 +01:00
Jarrod Doyle e6d3489b11
Actually parse light and lightcolor props lol 2024-09-22 13:18:11 +01:00
Jarrod Doyle 4bc55b9130
Add RendParams and writers for each chunk 2024-09-22 11:14:34 +01:00
Jarrod Doyle cf7ad880fb
Make LGS project a library 2024-09-22 11:14:05 +01:00
Jarrod Doyle 5c345d3277
Add write extensions 2024-09-22 11:13:50 +01:00
Jarrod Doyle 27b52f32d8
Add LGS project (from TMV) 2024-09-20 16:28:44 +01:00