1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-23 12:37:45 +00:00
Commit graph

374 commits

Author SHA1 Message Date
ed9d6e62b8 More stuff that's needed for directional lighting
It's not working yet as we're missing view positions and the normal
clear color is wrong, but it's getting there. It can display a nice
blobby plane with the light color right now.
2024-04-21 13:04:25 -04:00
7f1c167251 Create GBuffer (normals only for now) and render into it 2024-04-21 12:00:13 -04:00
fd61cfca26 "Implement" the directional lighting pass, fix GBuffer normal
Implement is in quotes because it doesn't work yet, the code is just
written. We still need actual framebuffers to do work in and not the
swapchain image we're reusing.

In other news, the GBuffer shader now works and outputs normals! I
forced it to simple texture mode for now so it makes development easier.
2024-04-21 11:52:30 -04:00
2d17af5675 Fix the dummy texture not actually being white 2024-04-21 11:50:56 -04:00
0d303f0e6e Add dummy shader for testing purposes
This is used to make sure the vertex stage successfully completed, thats
it.
2024-04-21 11:50:39 -04:00
81bdef14ca Remove and simplify code in the render system 2024-04-21 10:30:51 -04:00
2f8f155a6c Begin implementation of directional lighting
This takes the correct node from directionallighting.shpk, but doesn't
draw anything yet as we're missing GBuffers.
2024-04-21 10:25:52 -04:00
d651f56e2b No longer hardcode the SHPK node selector 2024-04-21 10:08:55 -04:00
699141d04b Pass real data to the new render system
Based off of structures reversed engineered by Ouroboros, now it can
render objects without shading! Note that it breaks the basic renderer
at the moment, will be fixed later.
2024-04-21 09:01:02 -04:00
640099f9db Fix compilation on Fedora 2024-04-21 07:02:34 -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
db50a7ff36 Fix translation error in shpk part, prevent crashes when decomp fails 2024-04-20 15:45:19 -04:00
02ce1c2f51 Renderer: Add a slight ambient to not make shadows pitch black 2024-04-20 15:38:49 -04:00
26c7fad3a0 MDLViewer: Add lod and triangle count 2024-04-20 15:32:32 -04:00
c7b618e6bc Armoury: Make sure the import and edit buttons are disabled when needed 2024-04-20 15:14:49 -04:00
1bddb6f8f0 Armoury: Add gear icons 2024-04-20 15:11:02 -04:00
384f23ef1e Add support for viewing dictionary files 2024-04-18 22:21:53 -04:00
ce29debf24 Add action to Data Explorer to copy the file path 2024-04-18 18:57:28 -04:00
002a460379 Prevent crash in map editor when it loads an invalid plate model 2024-04-18 18:53:21 -04:00
16759394c7 Clear model viewer before adding another model, prevent crash 2024-04-18 18:53:08 -04:00
d04f20a445 Add file types icons to the Data Explorer 2024-04-18 18:50:02 -04:00
9d129163bb Add a standard way to detect game file types from their extensions
This is now used to populate the file properties window in the Data Explorer.
2024-04-18 18:42:36 -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
5eebc2677f Update libphysis for more Dawntrail fixes 2024-04-18 17:57:34 -04:00
88dfb45c36 Allow textures that failed to load 2024-04-18 17:57:16 -04:00
6f9cf59f94 Armoury: Prevent crashes in FMV when face and other misc models fail to load 2024-04-18 17:53:21 -04:00
182fe062e2 Bump libphysis for initial Dawntrail benchmark support 2024-04-14 13:31:14 -04:00
3e29ee1323 Remove unnecessary normalize from tangent import 2024-02-25 11:16:57 -05:00
1b6ec85404 Add Messages.sh 2024-02-25 11:16:33 -05:00
f967974627 Fix LOD combo text 2024-02-25 11:16:26 -05:00
2ccab76191 Hook up translation domains 2024-02-04 15:36:08 -05:00
57c2e9c7f9 Misc string fixes 2024-02-04 15:32:42 -05:00
a460e46595 sagasu: Support localization 2024-02-04 15:32:35 -05:00
76f8b4859c sklbpart: Support localization 2024-02-04 15:26:12 -05:00
edc0439a0a shpkpart: Support localization 2024-02-04 15:25:14 -05:00
e49ebcea33 exlpart: Support localization 2024-02-04 15:24:01 -05:00
d3dfb9bcc0 exdpart: Support localization 2024-02-04 15:23:24 -05:00
1eae14b239 cmppart: Support localization 2024-02-04 15:22:28 -05:00
c3b4d3e6ac mdlviewer: Support localization 2024-02-04 15:18:49 -05:00
86fc949582 mapeditor: Support localization 2024-02-04 15:18:03 -05:00
8d0603eda4 launcher: Support localization 2024-02-04 15:17:15 -05:00
4ca38efc57 karuku: Support localization 2024-02-04 15:16:18 -05:00
98036249fb armoury: Support localization 2024-02-04 15:13:46 -05:00
1c0712bdbf common: Support localization 2024-02-04 15:04:01 -05:00
240ec484e7 Prevent other QSplitters from collapsing children 2024-02-04 14:58:21 -05:00
4f99fc363d renderer: Remove unnecessary imgui font size message 2024-02-04 14:56:04 -05:00
7ee5622561 armoury: Cascade enabled state to the mdlpart
This should prevent accidental mouse movements when no gear is loaded.
2024-02-04 14:54:37 -05:00
f13ead3168 mdlpart: Don't allow mouse movements when disabled 2024-02-04 14:54:13 -05:00
6d026cf522 mapeditor: Use splitter, improve margins everywhere 2024-02-04 14:47:12 -05:00