27 Commits

Author SHA1 Message Date
Jan
6f31e8cc29
chore: fix compilation issues with x64 2025-04-06 18:02:47 +01:00
Jan
2d58054ffc
refactor: make use of IOutputPath in ObjWriting 2025-01-11 17:52:04 +01:00
Jan
f653530714
chore: improve api for vector packing for models 2024-09-05 21:19:39 +02:00
Jan
f8b5734f86
chore: make XModelCommon use offset instead of pointer 2024-09-05 21:19:38 +02:00
Jan
d45f0ffab7
chore: adjust XModelCommon numeric types 2024-09-05 21:19:38 +02:00
Jan
fa08017250
fix: iw4 vertex weights for more than one bone 2024-05-12 21:12:34 +02:00
Jan
c89a6631b0
chore: replace custom vector, quaternion, matrix implementation with eigen library 2024-05-12 19:32:06 +02:00
Jan
499b752272
chore: add names to exported gltf models 2024-05-11 01:51:28 +02:00
Jan
9ab78d5384
fix: correct asset references in xmodel material dumping 2024-05-09 22:12:39 +02:00
Jan
a39e993cc6
chore: use XModelCommon for dumping obj to reduce code duplication 2024-05-09 22:12:37 +02:00
Jan
2497a9f228
fix: use after free when dumping xmodel vertex weights 2024-05-09 22:12:37 +02:00
Jan
826e59d627
chore: update xmodel common to be a struct with substructs 2024-05-09 22:12:37 +02:00
Jan
0a65c93aa5
chore: move materialIndex to XModelObject 2024-05-09 22:12:36 +02:00
Jan
8a0c93d3d8
feat: add gltf and glb as model dumping formats 2024-05-09 22:12:36 +02:00
Jan
d4ef9fa3d9
chore: move xmodel packages 2024-05-09 22:12:35 +02:00
Clang Format
6b4f5d94a8
Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
30870c5e07 Only dump model surfs once 2022-04-17 15:38:07 +02:00
Jan
963e6537ca Add T5 model dumping material texture semantic detection to other game's dumpers 2021-08-14 14:08:13 +02:00
Jan
3d2479698c Make XModelDumper context const if possible 2021-08-14 11:35:31 +02:00
Jan
bd9110fbb3 Check not only texture semantic but also name start and end to ensure to pick colormap for exporting models 2021-08-13 23:58:56 +02:00
Jan
76a7ca99c3 Add ObjDumper for general use 2021-08-13 22:34:42 +02:00
Jan
0478a88d15 Export vertex weights for xmodel export 2021-08-13 17:33:13 +02:00
Jan
767daca2ea Add generic XModel Export dumper without bone support yet 2021-08-13 09:40:12 +02:00
Jan
56ebbbcfa8 Fix iw4 obj material file setting ambient map instead of diffuse map for color maps 2021-08-01 02:18:18 +02:00
Jan
c1a30c89ac Fix iw4 obj material file using wrong extension 2021-08-01 02:17:49 +02:00
Jan
bb0adb0b22 Switch iw4 xmodel axis to be Y Up and -Z Forward 2021-08-01 01:13:01 +02:00
Jan
24145e15e2 Dump IW4 xmodels as obj 2021-08-01 00:30:12 +02:00