f713f5c150
Resolve more warnings
2024-05-10 16:37:40 -04:00
1815d60f21
Add debug markers for peeking via RenderDoc
2024-05-10 15:53:32 -04:00
1fef1e2acd
Prepare for dyeable gear
2024-04-30 19:05:55 -04:00
5a227971c2
Support 3D textures, add real tile diffuse/normal and fix lighting
...
I broke the lighting accidentally while messing around with Dawntrail,
it's now restored. Real textures are used for tile diffuse/normal
textures which shoud fix the appearances of some gear.
2024-04-30 18:12:02 -04:00
9e4d99a0db
Add a way to quickly disable racial deforms in the full model viewer
2024-04-30 16:02:59 -04:00
0c9cb2b0cf
Attempt to display racial transforms in the bone editor
...
Not sure if it 100% works yet
2024-04-30 15:56:26 -04:00
2c780311c7
Try to the fix PBD being applied wrongly
2024-04-30 00:58:35 -04:00
7cd519fac2
Use the parameters defined in the material instead of hardcoding
...
This was only useful for testing, the new renderer loads the parameters
the material stores now.
2024-04-27 18:44:53 -04:00
a8d64a52df
Properly transition image layouts and create barriers
...
This along with other misc fixes by listening to the validation layers
"fixes" specular, but just for the skin. I need to do some more work to
figure out why it doesn't work for character shaders yet.
Also introduces new helper functions to Device to easily transition
textures and name them.
2024-04-27 17:49:03 -04:00
51ea3c3920
Create reusable material part
...
This takes the existing properties widget in the new material editor and
makes it reusable across multiple applications. It's now added to the
Armoury which shows the gear's used materials. It's also added to the
Data Explorer which now supports viewing material files.
I fixed the render viewport crashing when hiding it again, and made it
even more resilient.
2024-04-27 13:45:15 -04:00
88e64b859d
Use material's own shader keys if available
...
Instead of using the shader package default values
2024-04-27 12:29:19 -04:00
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