a3704eb7a9
Improve surface and gfx context creation
...
This is laying some groundwork for a much better way
of determining the best GFX api to use at runtime, and
making it easier to support more GFX backends in the future.
2022-02-21 11:03:34 -05:00
ed8adba8ff
Change %lu -> %llu in debug menu
2022-02-21 00:15:02 -05:00
b0d875832d
Add [[nodiscard]] to some more methods
2022-02-21 00:14:47 -05:00
d167471369
Reformat input.cpp
2022-02-20 23:41:40 -05:00
6935f85351
Start work on converting GFXMetal to metal-cpp
2022-02-15 11:25:13 -05:00
25ccd18595
Add keybind to toggle all imgui ui off
2022-02-15 09:01:52 -05:00
aac9e673ad
Overhaul lighting and render debug menus
2022-02-08 09:17:44 -05:00
998c6f8bc2
Mark the material budget bar as an estimation
2022-02-08 09:11:22 -05:00
2c75d51278
Add parameters for metallic and roughness back
...
This also makes them modifiable in the debug menu at runtime
2022-02-08 08:50:10 -05:00
c6ccedb970
Add environment probe controls to debug menu
2022-02-08 08:32:58 -05:00
70c18ac169
Remove ImGui metrics window from showing on startup
2022-02-08 08:21:35 -05:00
c732a86df8
Improve debug light interface
2022-02-07 15:52:21 -05:00
e15d1c68f8
Add ability to select directory through imgui file picker
2022-02-01 20:53:47 +00:00
redstrate
ab814b7c78
Improve the look of console
2021-10-14 17:07:39 -04:00
redstrate
e79a98c7d2
Some minor code refactoring
2021-10-14 08:51:58 -04:00
redstrate
5226aa1200
Add hidden window flag, to be in line with how imgui's sdl backend works
2021-10-13 10:55:20 -04:00
redstrate
878ef9c5da
Only enable viewports on multimodal apps (like the editors)
...
* Dragging out windows on games and stuff is pointless and just adds complexity
2021-10-12 11:47:13 -04:00
redstrate
fd4661088a
Fix HiDPI support
2021-10-12 11:42:10 -04:00
redstrate
5915d0bf2c
Fix imgui windows not resizing properly when undocked
2021-10-12 11:25:01 -04:00
redstrate
a2f81d7ca7
Allow better DPI handling under SDL, handle external resize events in imgui
2021-10-12 11:06:59 -04:00
redstrate
8205f65a8e
Clean up a bunch of pass/backend code for imgui
2021-10-12 10:52:29 -04:00
redstrate
5a046ee27a
Some changes to make gcc stop complaining
2021-10-12 10:27:03 -04:00
redstrate
5ba4285776
Add string handling to console arguments
2021-10-12 10:22:38 -04:00
redstrate
c6bc56d033
Change window handles into opaque pointers
2021-10-12 10:22:16 -04:00
redstrate
182fbe195a
Add imgui open/save dialog
2021-10-11 13:39:15 -04:00
redstrate
6fde122401
Improve console interface
2021-10-07 17:55:14 -04:00
redstrate
9c8c257c43
Add new console debug window, handle text input under sdl
2021-10-07 17:46:28 -04:00
redstrate
529bc27702
Replace old logging and format system with fmt
2021-09-13 23:41:54 -04:00
redstrate
626e314ec2
Completely remove the defunct UI system
2021-09-13 23:10:26 -04:00
redstrate
b61eb98648
Fixes some clang-tidy warnings, remove fpermissive
2021-09-13 22:53:42 -04:00
redstrate
18bf9902e0
Reduce shadow and probe generation delay from 5->1 frames
2021-06-01 12:34:32 -04:00
redstrate
6d9cdfd969
Add configurable light size parameter to debug menu
2021-05-12 10:46:33 -04:00
redstrate
eab8a265f4
Add probe refresh timer (similiar to how shadows work) to generate probes correctly on scene load
2021-05-12 10:33:38 -04:00
redstrate
9951ffa58e
Rename vecX -> floatX
2021-05-12 09:56:44 -04:00
redstrate
fa65e99094
Rename Path -> path
2021-05-12 09:05:56 -04:00
redstrate
01966c1d81
Rename File -> file and move under the prism namespace
2021-05-12 08:50:02 -04:00
redstrate
2ddc1e1794
Fix up SDL2 mouse and key handling for imgui
2021-05-11 17:05:29 -04:00
redstrate
cbb731f68c
Disable Linux and Windows debug menu by default
2021-05-11 16:04:24 -04:00
redstrate
7b23fdfa09
Rename Renderer to renderer, move it to prism namespace, and rename last of member variables
2021-04-20 13:53:38 -04:00
redstrate
4a46786db0
Update example app to compile again
2021-04-20 12:17:49 -04:00
redstrate
653d5bb6ca
Rename Input to input_system and move to prism namespace
2021-04-20 11:53:38 -04:00
redstrate
bae6d05184
Move console and log namespaces to prism
2021-04-20 11:23:53 -04:00
redstrate
8370dfb6d6
Rename ImGuiLayer to imgui_backend
2021-04-20 10:37:56 -04:00
redstrate
59ee7faddd
Fix debug asset paths not appearing correctly on Windows
2021-04-19 12:38:33 -04:00
redstrate
4b9754fa03
Fix some clang-tidy warnings
2021-04-19 12:35:52 -04:00
redstrate
3827bede6d
Renames engine member variables to fix bad naming conventions
2021-04-19 12:29:49 -04:00
redstrate
4abf4b4ab8
Rename Engine to engine
2021-04-19 12:23:18 -04:00
redstrate
744123763f
Begin work on converting to the new class naming scheme and the new prism namespace
2021-04-19 12:06:44 -04:00
redstrate
069cf3e84c
Delay static shadowmap generation by five frames to prevent them from "sticking"
2021-04-18 22:14:19 -04:00
redstrate
c47f54992f
Add flag for apps like an editor who doesn't render any scene in the main window.
2021-04-18 21:38:57 -04:00