Commit Graph

38 Commits

Author SHA1 Message Date
Jarrod Doyle df99a34d81
Parse and use JointPos property 2024-12-07 13:20:03 +00:00
Jarrod Doyle 3ee172f16c
Update LGS lib (from lightmapper 2024-11-29 11:41:38 +00:00
Jarrod Doyle 691220b5c8
Add more property data definitions 2024-09-07 13:22:54 +01:00
Jarrod Doyle 23b5400eae
Add BinaryReader LGS rotation extension 2024-09-07 12:20:13 +01:00
Jarrod Doyle a08fd190f8
Rename PropScale to PropVector 2024-09-07 11:18:40 +01:00
Jarrod Doyle b959fb97c2
Add PropInt and PropBool 2024-09-07 11:18:26 +01:00
Jarrod Doyle da67a26eec
Change PropModelName to PropLabel 2024-09-07 10:48:30 +01:00
Jarrod Doyle a8e212fdd1
Use ReadNullString everywhere 2024-09-07 10:42:58 +01:00
Jarrod Doyle 9e115b6906
Refacor object hierarchy creation to be more maintainable and extensible 2024-09-07 09:06:20 +01:00
Jarrod Doyle 6f87bc6904
Add IMergable interface 2024-09-07 09:05:45 +01:00
Jarrod Doyle 001b6a944e
Add object transparency property support 2024-09-07 08:30:26 +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 0b347f7745
Fix bugged lightmaps 2024-08-29 17:15:22 +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 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 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 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
Jarrod Doyle df923492cf
Make defining property chunks easier 2024-08-25 13:07:49 +01:00
Jarrod Doyle 505adf5d44
Add scale property support 2024-08-25 11:53:50 +01:00
Jarrod Doyle db293791e0
Handle GAM_FILE chunk 2024-08-24 13:36:44 +01:00
Jarrod Doyle 0eb918d863
Add Links, ModelName props, and MetaProp LD loading 2024-08-24 11:33:35 +01:00
Jarrod Doyle f118c151f3
Add initial brush list support 2024-08-23 18:55:20 +01:00
Jarrod Doyle 736ced24e4
Remove old unused code 2024-08-13 21:38:32 +01:00
Jarrod Doyle a8b9ce8a54
Fix incorrect lightmap colors 2024-08-13 19:23:52 +01:00
Jarrod Doyle 1539d1910d
Fix incorrect 16bit lightmaps 2024-08-10 10:22:57 +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 d7b8ee35f4
Render all lightmap layers 2024-08-01 18:23:17 +01:00
Jarrod Doyle e8b77b42bb
Add working lightmaps 2024-07-30 21:52:34 +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