1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-21 03:57:44 +00:00
Commit graph

23 commits

Author SHA1 Message Date
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
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
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
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
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
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
53ff0e72e7 Handle new changes in libxiv refactoring 2022-04-17 16:55:54 -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
3c49c87f66 Properly initialize currentRace on startup 2022-04-12 12:43:27 -04:00
2f4f212c86 Add race selection combo box to mdlviewer 2022-04-12 12:39:33 -04:00
7aadf086de Add basic vulkan renderer to mdlviewer
Right now it just displays a red screen
2022-04-11 23:11:33 -04:00
99fb9ca1aa Add framework for mdlviewer 2022-04-11 21:59:37 -04:00