njohnson
3136a03754
Add dumper and loader call to parents.
2026-05-02 12:04:45 +02:00
Paging Red
759a3ccf0e
Merge pull request #753 from pagingred/iw5_physpreset_dumper
...
feat: phys presets dumping and loading for IW3, IW5, T5
2026-05-02 12:01:59 +02:00
Jan Laupetin
1d6a9d6df1
chore: only dump gltf color when there is non-default data
2026-05-01 21:48:41 +02:00
Michael Oliver
98d8ea9005
fix: xmodel glTF dumps dropping COLOR_0 vertex attributes
2026-05-01 21:48:28 +02:00
Paging Red
010ac3ad3e
Add IW3 PhysPreset dump logic ( #744 )
...
* Copied template from font.
* Create PhysPreset writer from Font dumper template.
* Completely refactor to match previous implementation.
* Remove files from previous implementation.
* Fix PhysPresetFields.
* Add missing fields and correct order.
* Add static infinity check as builtin does not work.
* Wasn't clang formatted.
* Remove unused 'perSurfaceSndAlias' field.
* Removed unsupported vals (tracer & vehicle) and un-needed vals (material).
* Make order match struct and mark 'tempDefaultToCylinder' as QBOOLEAN.
* Make order match struct and clamp vals for 'mass' and 'tempDefaultToCylinder'.
* Remove un-needed includes and add limits for float max.
* Remove clamping of mass.
* Use float max to determine if friction is infinite.
* Clang format.
* chore: formatting
* chore: do not use classes for obj constants
---------
Co-authored-by: njohnson <gitea.nicholasjohnson.info>
Co-authored-by: Jan Laupetin <jan@laupetin.net >
2026-04-23 23:27:34 +02:00
Jan Laupetin
eee44b5860
chore: use ordered_json for gltf
...
order is based on what blender does
https://github.com/KhronosGroup/glTF-Blender-IO/blob/7bea3666f8b5043292e578501a779f244d8e8f06/addons/io_scene_gltf2/io/exp/export.py#L48
2026-04-20 20:08:46 +01:00
Jan Laupetin
d050721142
chore: add additional known texture def hashes for iw5
2026-03-19 21:20:24 +01:00
Jan Laupetin
b98ae1fdc8
fix: properly dump iw5 vertex sampler
2026-03-19 19:26:33 +01:00
Jan Laupetin
72f285178b
feat: add techset dumping for iw5
2026-03-18 23:04:35 +01:00
Jan Laupetin
3da04f8092
feat: more details about which assets are dumped
2026-03-15 22:47:46 +01:00
Jan Laupetin
b93925c306
fix: inconsistencies on t5 technique compilation
2026-03-15 15:31:01 +01:00
Jan Laupetin
04870e8fbf
chore: use templated code for t5 techset dumping
2026-03-14 23:23:10 +01:00
Jan Laupetin
5993c88897
feat: dump iw3 technique sets
2026-03-14 20:54:59 +01:00
Jan Laupetin
3aac05a516
fix: make sure matrix shader args with less than 4 rows are properly dumped and loaded
2026-03-14 09:09:55 +01:00
Jan Laupetin
2f12092773
fix: indentation in shader dumping error message
2026-03-14 09:09:55 +01:00
Jan Laupetin
eae57d9da0
feat: template techset and shader dumping for IW4,T6
2026-03-14 09:09:55 +01:00
Jan Laupetin
90d7f92ddd
chore: replace all usages of removed ClassUtils macros
2026-03-06 00:13:04 +01:00
Jan Laupetin
d469af2328
chore: use namespace for FileUtils
2026-03-05 20:27:47 +01:00
Jan Laupetin
1611c222cc
chore: add logic for computing precompiled index on material pass
2026-03-04 22:00:30 +00:00
Jan Laupetin
d0ee167d2d
fix: not properly setting common technique shader type
2026-03-02 22:09:01 +00:00
Jan Laupetin
7ab9adc17c
chore: handle flag 80 on t6 techniques
2026-03-02 22:09:01 +00:00
Jan Laupetin
c0a7114b24
chore: add tests for techset and technique compilation
2026-03-02 22:08:59 +00:00
Jan Laupetin
5ab3fd7ca0
chore: enable techset debugging on dumper creation level
2026-03-02 22:08:59 +00:00
Jan Laupetin
38abe459e1
fix: errors with common techset dumping
...
* not respecting transposing matrices
* not respecting arrays
2026-03-02 22:08:58 +00:00
Jan Laupetin
9a527c16fa
feat: add t6 vertexdecl sub asset creator
2026-03-02 22:08:57 +00:00
Jan Laupetin
3ef8cc7260
chore: add more details to common techset infos in t5,t6
2026-03-02 22:08:57 +00:00
Jan Laupetin
e61ec8582a
chore: use CommonTechset instead of TechsetDefinition
2026-03-02 22:08:55 +00:00
Jan Laupetin
aa47ffa629
refactor: introduce subasset loading
2026-02-05 18:17:15 +01:00
Jan Laupetin
0a06a01e67
feat: dump t5 techsets and techniques
2026-01-13 20:24:00 +00:00
Jan Laupetin
33584f6f7b
feat: add external image loader for every supported game
2026-01-05 09:50:20 +00:00
Jan Laupetin
da2a76f6da
chore: update image namespacing
2026-01-05 09:50:20 +00:00
Jan Laupetin
ffdbe955db
chore: fix compilation error on linux for techniqueset debug mode
2025-12-19 15:43:42 +01:00
Jan Laupetin
dadcdc84e0
feat: dump t6 shader args
2025-12-16 11:47:29 +00:00
Jan Laupetin
f1485fa230
chore: move ShaderDumpingZoneState to non-game specific code
2025-12-16 11:47:29 +00:00
Jan Laupetin
930b116ac0
feat: add vertex declaration to t6 techset dumps
2025-12-16 11:47:29 +00:00
Jan Laupetin
9b526adaed
feat: dump material techniques for T6
2025-12-16 11:47:28 +00:00
Jan Laupetin
18ccbb9180
feat: dump techsets for t6
2025-12-16 11:47:25 +00:00
Jan Laupetin
b35973db8a
fix: not being able to load zones without progress
2025-10-15 23:03:44 +02:00
Jan Laupetin
6a84d1ea68
chore: generalize IAssetDumper interface
2025-10-15 20:06:01 +01:00
Jan Laupetin
c6e9cbedda
feat: report on unlinking progress
2025-10-14 23:20:56 +01:00
Jan Laupetin
d693ace12f
feat: verbose option sets log level to debug
2025-09-11 22:18:59 +02:00
Jan Laupetin
02f20f09b6
chore: update all logging to use centralized logging component
2025-09-11 20:25:51 +02:00
Jan Laupetin
fed6e2f845
chore: backwards compatibility for old xmodel exports
2025-09-07 22:10:53 +01:00
Jan Laupetin
84409a975a
fix: bad gltf node rotations in export
2025-09-06 09:02:50 +01:00
Jan Laupetin
98fe3ed6f7
fix: bad gltf math on inverse bind matrix in export
2025-09-06 09:02:49 +01:00
Jan Laupetin
0cc47ce12c
fix: not being able to write xmodel_export with omitted default armature
2025-09-06 09:02:38 +01:00
Jan Laupetin
734173066b
refactor: only refer to game id in zone
2025-08-31 18:00:27 +01:00
Jan Laupetin
46fb919a52
refactor: do not nest asset namespaces in game namespaces
...
* Duplicated namespace names are kind of annoying
2025-08-06 00:50:35 +02:00
Jan Laupetin
6806337f46
refactor: streamline IW4 asset loading
2025-08-05 01:14:20 +02:00
Jan Laupetin
472e59991f
refactor: streamline shader dumping
2025-08-04 21:36:47 +02:00