02ce1c2f51
Renderer: Add a slight ambient to not make shadows pitch black
2024-04-20 15:38:49 -04:00
5c907b63da
Add a wireframe checkbox to MDLViewer
2024-04-18 18:08:50 -04:00
4f99fc363d
renderer: Remove unnecessary imgui font size message
2024-02-04 14:56:04 -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
af8582467b
renderer: Add position property to RenderModel
2024-02-02 14:26:33 -05:00
883169762a
renderer: Add GLM_EXPERIMENTAL just in case for older GLM
2024-02-02 14:26:18 -05:00
1b518b1eee
renderer: Support meshes without materials properly
2024-02-02 14:26:01 -05:00
3af1e9f8f9
renderer: Change clear color
2024-02-02 14:25:47 -05:00
693a47cf4e
Fix tangent reading/writing
...
Updates to latest physis changes, and fixing tangent reading/writing.
2023-12-17 19:00:43 -05:00
039b6e6d30
More small code improvements/cleanup
2023-12-10 08:39:45 -05:00
09e1d25d09
Fix a crash in VulkanWindow when trying to close one
2023-12-10 07:16:21 -05:00
546ebfd0bd
Reformat CMake code a bit
2023-12-10 06:51:33 -05:00
81e9c09be8
Fix most warnings
2023-12-09 22:35:59 -05:00
7d93024a56
Use more CMake library aliases
2023-12-09 21:51:57 -05:00
2ac5eb6498
Fix more petty warnings
2023-12-09 21:18:34 -05:00
88d80a64cf
Fix misc warnings, code errors and slight improvements
2023-12-09 15:24:54 -05:00
c7b6dd076c
Add glTF import support, multiple fixes for upstream physis changes
...
Adds basic glTF import (although right now it only imports back
positions) and fixes support for more of the vertex data that's
available to us. The MDL file isn't written back out yet either, it only
displays in the viewport.
2023-12-09 14:49:31 -05:00
b5b83e1b83
renderer: Add from_body_id and to_body_id parameters to RenderModel
...
This will be used in the future for model deformation.
2023-10-13 14:59:28 -04:00
9d6f06bf1f
renderer: Reformat code, misc cleanup
2023-10-12 23:45:45 -04:00
7b59ed7f28
renderer: Prevent imgui from saving settings
2023-10-10 18:37:08 -04:00
44732293ac
renderer: Clean up CMakeLists, remove standalone window
2023-10-10 18:31:50 -04:00
5698992250
renderer: Add README
2023-10-10 17:56:09 -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
c2fa324ec0
armoury: Export proper model and part names
2023-10-10 16:02:02 -04:00
5c9284106f
renderer: Add support for imgui
2023-09-26 17:10:18 -04:00
4cd6f17439
Port to Qt6
2023-09-26 00:37:55 -04:00
127b57b820
Add a settings file to store the game directory
2023-09-23 15:21:36 -04:00
dc6f12a95a
Use even less FetchContent!
2023-09-23 14:57:56 -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
b96b2a86c2
Use uint64 for storing descriptor hashes
2023-09-23 14:09:33 -04:00
749ad49c3a
Ensure compliance with REUSE, add to CI
2023-08-06 08:50:33 -04:00
dd0dc5fbcf
Allow no material meshes with a dummy texture instead
2023-07-09 11:53:27 -04:00
635cf15f2c
Increase descriptor count limits
2023-07-07 15:51:00 -04:00
673a80e781
Oops, bone weights are 4 components and not 3
2023-07-06 17:39:29 -04:00
b216a670b2
Add support for modifying the renderer view matrix
2023-07-06 17:39:29 -04:00
792da6da6a
Expand Renderer's capabilities for materials and skeletons
...
The renderer can now store diffuse, normal, specular, and multi
textures. Skin textures now color with a hardcoded skin tone (to be
changed) and bone info buffers are now per-model instead of set globally
Level of detail above 0 is now loaded properly, although break for
other reasons.
2023-04-09 15:26:27 -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
6800c875b8
Fix the remaining depth buffer issues
2022-05-04 15:56:30 -04:00
92ac7b1163
Add depth buffer to mdlviewer
2022-05-04 15:56:30 -04:00
4fab565843
Fix camera position in mdlviewer
2022-05-04 15:56:30 -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
7ec107dfd8
Add level of detail selection in mdlviewer
2022-04-14 10:32:41 -04:00
de2b6f6307
Add export button and support for exporting all mesh parts
2022-04-12 20:18:22 -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
98edd9e57d
Add gear list to mdlviewer
...
It doesn't (yet) grab gear information automatically, but
you can select between smallclothes body/legs now, and it
works.
2022-04-12 12:19:46 -04:00
d168592db9
Remove the hideous red and green colors in the mdlviewer viewport
2022-04-12 09:55:48 -04:00
93c6bf726a
Fixup vertex normals
2022-04-12 09:47:36 -04:00
0b01715824
Use mdl normals to display some lighting
2022-04-12 09:11:31 -04:00