Jan Laupetin
ff7b940e86
fix: properly dump gltf with root node in models with more than one root bone
2026-05-03 16:35:06 +02:00
Jan Laupetin
2d2ea30b45
fix: iw5 uses isFrictionInfinity as well
2026-05-03 16:00:30 +02:00
Jan Laupetin
a31d3c4b88
fix: iw4 physpreset uses FLT_MAX as infinite friction
2026-05-03 15:56:09 +02:00
Jan Laupetin
67bdb79654
fix: do not clamp iw4 physpreset mass
2026-05-03 15:46:52 +02:00
Jan Laupetin
0c1bc747dc
chore: update default root bone name to empty string and do not specify if matching default name
2026-05-03 13:51:56 +02:00
Jan Laupetin
4886767e67
chore: get rid of unnecessary class in XModelDumper
2026-05-03 13:09:03 +02:00
Jan Laupetin
2527f23c10
chore: use references when possible in xmodel dumper
2026-05-03 13:09:02 +02:00
Jan Laupetin
d6a736eb5d
feat: preserve root bone name when dumping xmodels with omitted default armature
2026-05-03 13:09:02 +02:00
Michael Oliver
618592e411
fix: only omit default armature if it can be omitted for all lods
2026-05-03 13:09:02 +02:00
Jan Laupetin
f3859e6952
fix: iw3 vert lists are sometimes not complete
2026-05-03 13:09:02 +02:00
njohnson
1d6c028454
Clang format.
2026-05-02 12:04:51 +02:00
njohnson
0eb1f9f978
Add IW5 SndCurve dumper.
2026-05-02 12:04:51 +02:00
njohnson
6400b57caf
Add dumper logic from IW4.
2026-05-02 12:04:51 +02:00
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