cf6b97930f
Allow empty materials that have no set shader package
2024-04-22 16:12:26 -04:00
af806bff63
Remove hardcoded character.shpk path
...
Now the new renderer should load the material's requested shader package
2024-04-21 19:07:09 -04:00
dcb54cf4e3
Begin working on bone support for the new renderer
...
Doesn't work completely yet (not sure why) but for basic items it works.
2024-04-21 18:49:48 -04:00
e34daadbcd
Split up Renderer's source files and a lot of refactoring
...
This now splits up the rendering system into sensible parts, and makes
it easier to switch between the simple renderer and the new experimental
one. Lots of refactors I needed to do for a while are now done, too.
2024-04-21 17:35:51 -04:00
b9b162b377
Add experimental new rendering system
...
I started writing this late last year, and finally uploading parts of
it. Currently, doesn't work, but doesn't crash either. Enable it via
the NOVUS_USE_NEW_RENDERER environment variable.
The goal is to use the game's own shaders instead of creating our own,
it's lacking support for buffers with actual data in them and constants
so while it "works" nothing is displayed on screen yet.
2024-04-20 17:29:29 -04:00
5c907b63da
Add a wireframe checkbox to MDLViewer
2024-04-18 18:08:50 -04:00
ab1d02b25a
Add configurable camera distance, set to a smaller minimum in MDLViewer
2024-04-18 18:08:50 -04:00
88dfb45c36
Allow textures that failed to load
2024-04-18 17:57:16 -04:00
3e29ee1323
Remove unnecessary normalize from tangent import
2024-02-25 11:16:57 -05:00
2ccab76191
Hook up translation domains
2024-02-04 15:36:08 -05:00
f13ead3168
mdlpart: Don't allow mouse movements when disabled
2024-02-04 14:54:13 -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
5a03fafd3b
mdlpart: Add support for model positions, free mode camera
2024-02-02 14:28:31 -05:00
605e2f7e60
Fix accidental double bitangent handedness multiplication
2024-01-29 17:41:34 -05:00
f747033aac
Fix bitangents being slightly off when importing
2023-12-31 10:31:51 -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
b81cedcf53
Support importing models with higher vertex/index counts
2023-12-12 21:48:17 -05:00
2235d70882
Bump libphysis version, export submeshes
...
Will be needed later to correctly reconstruct models on re-import if the
index count happens to change.
2023-12-12 21:47:39 -05:00
ae96efcc5e
Import more vertex data, correct bone ids
2023-12-10 12:38:28 -05:00
9b135d9597
Include the necessary root bone when exporting
2023-12-10 12:38:11 -05:00
e9b02d53f1
Skip parts that don't exist in an existing model
2023-12-10 11:10:31 -05:00
039b6e6d30
More small code improvements/cleanup
2023-12-10 08:39:45 -05:00
34082479ed
Hide FMV by default, toggle with a menu action
2023-12-10 07:29:51 -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
2023254b7e
Ensure every class has a QWidget or QObject parent parameter
2023-12-09 21:28:02 -05:00
2ac5eb6498
Fix more petty warnings
2023-12-09 21:18:34 -05:00
b897b70105
Remove unused selectedModel variable
2023-12-09 21:08:31 -05:00
b38508e810
Begin support importing models of different vertex/index counts
2023-12-09 17:17:36 -05:00
73cc2a0753
Make MDL import more reliable
...
Now it shouldn't trip up on itself when importing a GLB we just exported
2023-12-09 16:57:08 -05:00
b50a058d86
Fix model switching in armoury
2023-12-09 15:55:33 -05:00
4269321841
Separate model import/export into their own files
2023-12-09 15:39:35 -05:00
88d80a64cf
Fix misc warnings, code errors and slight improvements
2023-12-09 15:24:54 -05:00
8bd7148b79
Fix ImGui using the wrong display size
2023-12-09 15:06:16 -05:00
7e61197516
Separate VulkanWindow class into its own source file
2023-12-09 15:05:09 -05:00
618c689dfb
Fix initialization order in VulkanWindow constructor
2023-12-09 15:01:20 -05:00
673a2bb6e0
Fix viewport resolutions on HiDpi displays
2023-12-09 15:01:00 -05:00
6ab6ad4732
Remove more mentions of the standalone window function
2023-12-09 14:57:30 -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
70cbd9672c
armoury: Remove hardcoded skeleton and deform JSON, read them from game
...
Physis gained skeleton and deform file read support, so we can use that
and extract these directly from the game (without help of the Havok SDK
like TexTools.) The racial deform is still slightly off, but this is
still a pretty big milestone.
2023-10-13 15:03:17 -04:00
1a97441647
mdlpart: Reformat code, misc cleanup
2023-10-12 23:45:34 -04:00
a73e80b531
mdlpart: Improve exported GLTF hierarchy a bit
2023-10-10 18:32:30 -04:00
cd14118751
mdlpart: Clean up CMakeLists
2023-10-10 18:31:30 -04:00
02c6f07a32
common: Rename to "novus-common" to match the rest of the targets
2023-10-10 17:20:43 -04:00
c2fa324ec0
armoury: Export proper model and part names
2023-10-10 16:02:02 -04:00
4bb45b55f7
mdlpart: Don't use mouse grab so the wayland QPA shuts up
2023-09-26 20:45:48 -04:00
a4b516e754
mdlpart: Add clamping to the camera to stop getting into fun situations
2023-09-26 20:42:45 -04:00
5c9284106f
renderer: Add support for imgui
2023-09-26 17:10:18 -04:00