1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-24 13:07:44 +00:00
Commit graph

58 commits

Author SHA1 Message Date
57c2e9c7f9 Misc string fixes 2024-02-04 15:32:42 -05:00
c3b4d3e6ac mdlviewer: Support localization 2024-02-04 15:18:49 -05:00
9b39c7b121 mdlviewer: Improve margins 2024-02-04 14:44:59 -05:00
f95fd2efc2 Add a dedicated skinned shader
This is to prevent trying to use bone transforms on terrain.
2024-02-02 14:37:58 -05:00
0f0e6b5f1b mdlviewer: Add bottom widget for future usage 2024-02-02 14:29:04 -05:00
5a03fafd3b mdlpart: Add support for model positions, free mode camera 2024-02-02 14:28:31 -05:00
9f6be07254 Fix mdlviewer not displaying skinned models correctly 2023-12-12 21:49:14 -05:00
039b6e6d30 More small code improvements/cleanup 2023-12-10 08:39:45 -05:00
81e9c09be8 Fix most warnings 2023-12-09 22:35:59 -05:00
b3b1079506 Remove unused utility header 2023-12-09 15:40:54 -05:00
8b34cd08fe Update libphysis and adapt to API changes 2023-10-13 17:02:29 -04:00
24f878b19a mdlviewer: Reformat code, misc cleanup 2023-10-12 23:45:13 -04:00
ac0fa3d728 mdlviewer: Port to NovusMainWindow 2023-10-10 18:21:28 -04:00
c05d935c04 mdlviewer: Fix compile error due to MDLPart API change 2023-10-10 17:20:55 -04:00
0f75e9730c armoury: Embed shaders, skeletons (for now) to allow it to run
Previously you needed the secret sauce of shader files and skeleton
files from TexTools in the same directory, now this is all embedded in
the application.
2023-10-10 17:16:11 -04:00
4cd6f17439 Port to Qt6 2023-09-26 00:37:55 -04:00
cfee6775f4 Use KAboutApplicationWindow instead of our custom one 2023-09-23 15:45:38 -04:00
2eccb10eda Remove fmt dependency
It's no longer used, and replaced with physis functions where formatting
was needed.
2023-09-23 14:51:47 -04:00
42cab361e0 Set margins for mdlviewer layout to 0 2023-09-23 14:09:33 -04:00
3140e0246e Set minimum size for mdlviewer 2023-09-23 14:09:33 -04:00
6761201ce0 Add quit action to all applications, add more icons to existing actions 2023-09-23 14:09:33 -04:00
749ad49c3a Ensure compliance with REUSE, add to CI 2023-08-06 08:50:33 -04:00
2ec31da272 Re-introduce standalone mdlviewer for viewin specific MDL files 2023-07-09 11:52:59 -04:00
589598b34c Rename mdlviewer to Armoury Editor 2023-07-09 11:31:18 -04:00
47d612eb8f Add file cache and concurrent item loading to speed up mdlviewer
Instead of extracting item sheets one at a time, it's now done on
multiple threads. Loading gear is now faster since reused files are
cached, switching between races is still wasteful, but it's a good
enough improvement for now.
2023-07-09 10:54:27 -04:00
9295980e3e Make donate action function 2023-07-08 10:15:29 -04:00
0aff927279 Add about window to mdlviewer 2023-07-08 10:12:35 -04:00
10996a7f5a Create and use gear list model and widget 2023-07-08 09:13:02 -04:00
d67a63710d Add .clang-format and format mdlviewer 2023-07-07 16:16:21 -04:00
8e9fd7fe15 Remove bone editor comments, add cmp editor action 2023-07-06 17:39:29 -04:00
7407d26247 Overhaul mdlviewer to use the MDL part, and add the full model viewer
This is a major code overhaul for mdlviewer, which will make it easier
to extend and modify in the future (trust me, the old code was garbage).

The different views are now split up (SingleGearView, FullModelViewer,
and MDLPart) which makes the functionality easier to handle, and less
error-prone.

Right now bone debugging is disabled (not that it worked that well
anyway) but will be brought back in a future commit.
2023-04-09 15:31:19 -04:00
8003571d13 Stop mdlviewer from crashing when selecting a second item 2022-10-17 20:16:01 -04:00
ab0d0a7d1e Add material and texture support to mdlviewer, renderer 2022-08-11 17:53:56 -04:00
2b79c33d1f Use physis in mdlviewer 2022-08-10 14:52:28 -04:00
f20cb2179c Export all 4 bone weights, normals and texture coordinates 2022-06-23 16:11:01 -04:00
8e795bc292 Start work on exporting vertex weights and skeletons
The mapping to vertex weights work, but skeleton exporting is still a
heavy WIP. Vertex weight export will need another pass in order to get
all 4 weights, but it's a functional proof of concept.
2022-06-22 23:16:56 -04:00
47d2d5744a Convert bone list widget to a tree widget
This makes it a lot easier to see the hierarchy of bones.
2022-05-04 15:56:30 -04:00
1142d1c143 Add support for reading arbitrary MDL files from disk 2022-04-28 23:20:58 -04:00
9802bafaa8 Fix stupid absolute path 2022-04-28 18:15:14 -04:00
9688c091af Add bone editing to mdlviewer
This is big, as it shows we are now correctly parsing the havok XML
sidecard data and you can edit the scale of the bones in the viewport.

This also pulls in a new libxiv version, which is required to fill out
the used bones list on a Model. Right now the bone editing is incredibly
basic, and the viewport suffers from a lack of depth testing still.
2022-04-28 17:50:05 -04:00
275c1a9976 Overhaul race and lod combos in mdlviewer
The number of lods are now properly loaded from the model data, and race
is checked by checking for the existence of race-specific models (I
think this is the current best way?).

Also, magic_enum is added as a dependency for some enum magic involving
enumerating Race.
2022-04-17 20:02:06 -04:00
d454dcf005 Handle even more changes in libxiv refactors 2022-04-17 19:08:48 -04:00
53ff0e72e7 Handle new changes in libxiv refactoring 2022-04-17 16:55:54 -04:00
7a9c752f94 Fix standalone window compilation 2022-04-16 16:38:48 -04:00
7ec107dfd8 Add level of detail selection in mdlviewer 2022-04-14 10:32:41 -04:00
6c691ae630 Read correct slot data
Now you can view more than just shirts!
2022-04-14 10:25:18 -04:00
de2b6f6307 Add export button and support for exporting all mesh parts 2022-04-12 20:18:22 -04:00
4a1d0cb0a1 Add model export support 2022-04-12 20:02:50 -04:00
bef13de12f Support mdlviewer on macOS
Qt5 for macOS can actually use the same code as on Linux/Win, but
apparently no one wants to build it with Vulkan support. Instead, we
spawn a standalone SDL2 window.
2022-04-12 16:19:06 -04:00
b3e13fa5b1 Add arbitrary item viewing
Right now it only supports a limited number of items.
2022-04-12 15:28:29 -04:00