Robert Beckebans
eb017e40c5
Cleanup
2023-01-13 14:43:09 +01:00
Stephen Saunders
c4a2f52fbf
Simplify precompiled.h.gch cleanup for linux/macOS using post-build custom command
2023-01-12 15:40:35 -05:00
Stephen Saunders
245d06c4d6
Comment out redundant Shaders source groups in main CMakeLists, already handled inside Shaders target
2023-01-12 15:31:18 -05:00
Stephen Saunders
2d1945044a
Create macOS app bundle for Xcode release / universal builds, add macOS app icon, update README
2023-01-12 14:46:36 -05:00
Stephen Saunders
502522826a
Minor consistency change for USE_VK define in DeviceManager.h
2023-01-09 13:41:23 -05:00
Stephen Saunders
26edabe752
Rename / update macOS cmake build scripts, update README to reflect new names
2023-01-08 00:30:02 -05:00
Stephen Saunders
5137637126
Filter SDL video modes same as on Win32, fix SDL window position drift when exiting fullscreen
2023-01-08 00:25:05 -05:00
Stephen Saunders
7485a123f6
Fix idParser::Directive_include() to properly handle full os path as fetched by idLexer::GetFileName()
2023-01-07 22:53:11 -05:00
Stephen Saunders
1c4883354b
Fix linux/macOS CreateOSPath() regression by eliminating path-relative references in fs_basepath
2023-01-07 22:44:42 -05:00
Stephen Saunders
1340adb820
Restore support for FFMPEG legacy channel_layout & channels fields, remove self-assignment in idSoundDecoder_Vorbis::Open()
...
(cherry picked from commit 22f9e5cc0e42a8d101f628df461ee7649acb3e01)
2022-12-26 12:20:50 -05:00
Stephen Saunders
21b021c3c0
Update FFMPEG deprecated calls to use supported ch_layout structure
...
(cherry picked from commit c6fca09b0e2e24735ca808e75e90f6d03e4d16e5)
2022-12-26 12:20:42 -05:00
Stephen Saunders
f1b0f2ec00
R_TestVideo_f command fixes and Cinematics startup fix for NVRHI (BinkDec green frame)
...
(cherry picked from commit 846fcf14c723391c6e6b311eaaeb31926b1e65d1)
2022-12-26 12:20:25 -05:00
Stephen Saunders
600f4de937
Merge branch 'master' of https://github.com/RobertBeckebans/RBDOOM-3-BFG into cinematic-updates
2022-12-26 12:18:55 -05:00
Stephen Saunders
e7b681a06e
Build-time perf improvement for PCH, c_str() fix in idCameraAnim::gltfLoadAnim()
2022-12-24 14:10:55 -05:00
Robert Beckebans
21947e8f08
Merge branch 'master' into 635-nvrhi5
2022-12-22 16:49:18 +01:00
Robert Beckebans
5eaa7801db
Merge fixes, default models scene remains Scene
2022-12-22 16:46:29 +01:00
HarrievG
defc18ddaa
[!] Fixed loading animations when the armatures option is not used..
2022-12-22 15:27:16 +01:00
HarrievG
0a48ec16d4
[!] Fixes loading animations from different GLTF files
...
[!] Fixes loading file exclusive skinned models when multiple scenes are present and scene with model is not the default scene.
2022-12-22 15:27:16 +01:00
HarrievG
8496f9bf30
[!] Fixes regenerating bMD5Anim from GLTF animation when source is newer than binary
2022-12-22 15:27:16 +01:00
HarrievG
e5ec631caf
[+] Allowing binding of asset library instances in gltf scenes.
2022-12-22 15:27:16 +01:00
HarrievG
1cd57dce1d
[!] dont crash when trying to load an animation from and GLB does not match last loaded model glb
2022-12-22 15:27:15 +01:00
HarrievG
0e42fbba93
[!] Root motion transfer fixes.
2022-12-22 15:27:15 +01:00
HarrievG
34d616b08c
GLTF model import improvements
...
- Added rename node option
- Added option for root motion transferal
- Fixed re-orient option parsing
- Fixed last(?) bug in orientation frame conversion
2022-12-22 15:27:15 +01:00
HarrievG
0829898cb4
[!] Fixed loading animated file exclusive models
...
[!] Fixed reloading of models with a commandline (anims: todo)
2022-12-22 15:27:15 +01:00
HarrievG
e97584642a
[!] Make missing joints on player model non-fatal
2022-12-22 15:27:15 +01:00
HarrievG
250c06bfc0
[!] Make checkmodelhierachy non-fatal
2022-12-22 15:27:14 +01:00
HarrievG
8c18d58c49
[+] Added -reorient option to gltf model import
2022-12-22 15:27:14 +01:00
HarrievG
0cf9dac1ef
A-Style
...
# Conflicts:
# neo/d3xp/Camera.cpp
# neo/d3xp/Camera.h
2022-12-22 15:27:14 +01:00
HarrievG
31d79dfd36
[~] idAssert -> assert
...
[+] addOrigin model import option
# Conflicts:
# neo/renderer/Model_gltf.cpp
2022-12-22 15:25:01 +01:00
HarrievG
bba7ddd665
[!] Merge error fixes
...
# Conflicts:
# neo/idlib/MapFile_gltf.cpp
# neo/renderer/Model_gltf.cpp
2022-12-22 15:22:30 +01:00
Robert Beckebans
407086a603
Astyle
2022-12-19 12:40:45 +01:00
Robert Beckebans
91a33de38e
Deleted obsolete cmake shortcut bash files
2022-12-19 12:39:35 +01:00
Stephen Saunders
308892db87
Change DeviceManager_VK Vulkan API calls to NVRHI API, fix vulkan dll unloading bug
2022-12-16 13:42:12 -05:00
Stephen Saunders
591d9d71a7
Clean up macOS cmake build scripts and handle macOS makefile build path within Sys_DefaultBasePath()
2022-12-14 12:50:05 -05:00
Stephen Saunders
cd2bb986c2
Handle macOS / linux differences for build path option within Sys_DefaultBasePath()
2022-12-14 01:30:48 -05:00
Stephen Saunders
7f37eccf61
Extend Sys_DefaultBasePath() to check IDE build path for linux and macOS
2022-12-13 21:28:26 -05:00
Stephen Saunders
55a9950dd8
Support USE_MoltenVK cmake option for macOS NVRHI builds, update xcode cmake scripts
2022-12-12 18:13:55 -05:00
Stephen Saunders
fbeb02df9c
Fix Vulkan descriptor set selection within bink and bink_gui shaders
2022-12-12 17:55:08 -05:00
Stephen Saunders
f41cc5e46a
Decouple FFMPEG / BINKDEC cmake options from x86-only SSE intrinsics, fix macOS-specific logic for intrinsics and PCH
2022-12-12 17:48:49 -05:00
Stephen Saunders
4dc2a8ca12
Fix compileshaders.cmake to reference USE_VULKAN, fix missing override warning in Model_local.h
2022-12-12 17:35:51 -05:00
Robert Beckebans
3f8bc0a568
Fixed FramebufferInfoEx in CommonPasses
2022-12-06 23:51:49 +01:00
Robert Beckebans
a94f67adaa
Point to latest RB/nvrhi/main
2022-12-06 23:43:56 +01:00
Robert Beckebans
22f10571e3
Fixed Win64 build. Renamed USE_NVRHI_VULKAN to USE_VULKAN
2022-12-06 23:28:48 +01:00
Robert Beckebans
e02f2f92c2
Removed obsolete glslang submodule
2022-11-22 18:49:25 +01:00
Robert Beckebans
432af457ca
Removed legacy GL/Vulkan backends from CMakeLists.txt
2022-11-22 18:47:31 +01:00
Robert Beckebans
632ad33f80
Write constant buffers if changed or layout changed
2022-11-20 15:42:48 +01:00
Robert Beckebans
c48346c551
Move nvrhi::Device->waitForIdle() back to GL_BlockingSwapBuffers()
2022-11-20 13:37:10 +01:00
Robert Beckebans
74c8a9f94e
Always write the constant buffer -> BAD but works
2022-11-20 13:34:46 +01:00
Stephen Pridham
a7f83bf631
Update the render state whenever the constant buffer is written to
2022-11-20 12:52:07 +01:00
Stephen Pridham
47d68fb6e0
Invalid binding set cache if either vertex data or joint data changes
2022-11-20 12:52:07 +01:00
Stephen Pridham
2ac23b0c9b
Add back uniformsChanged = false
2022-11-20 12:52:07 +01:00
Stephen Pridham
8f190b85c2
Remove unused comment
2022-11-20 12:52:07 +01:00
Stephen Pridham
7a82dc1c9b
Update NVRHI submodule
2022-11-20 12:52:07 +01:00
Stephen Pridham
726c4524e9
Update map buffer calls. Astyle
2022-11-20 12:52:07 +01:00
Stephen Pridham
4af1742b17
Astyle
2022-11-20 12:52:06 +01:00
Stephen Pridham
e3ede978d4
Update to make it easier to switch constant buffer usage
2022-11-20 12:52:06 +01:00
Stephen Pridham
47312f8997
Allow buffer ranges for constant buffers
2022-11-20 12:52:06 +01:00
Stephen Pridham
c1c0334bf2
Fix VK descriptor set slot for motionBlur shader
2022-11-20 12:52:06 +01:00
Robert Beckebans
3a3af32ddb
Replaced std::min/max with Min/Max
2022-11-19 16:46:21 +01:00
Robert Beckebans
636e64a1f4
Astyle after merge conflicts
2022-11-18 16:58:08 +01:00
Robert Beckebans
37127cde0e
Merge branch 'master' into 635-nvrhi4
2022-11-18 16:51:40 +01:00
Robert Beckebans
8a821c3a7a
Astyle
2022-11-18 16:47:29 +01:00
Stephen Saunders
96347cab74
Minor defensive #ifdef change in sdl_vkimp for SetScreenParmsWindowed() - handle non-macOS / non-linux case
2022-11-18 10:30:08 -05:00
Stephen Saunders
afacd8014c
Improve timer stats, get / set displayFrequency, implement Vulkan vsync mode 1, fix DX12 vsync mode 0 for fullscreen
2022-11-17 23:42:06 -05:00
Stephen Saunders
8d57d5399b
Skip GL_BlockingSwapBuffers() sync during shutdown when in Doom 3 mode (com_smp = -1)
2022-11-14 23:38:55 -05:00
Stephen Saunders
7a7571f88a
Fix window resize/fullscreen handling and make consistent between DX12 and Vulkan (Windows & SDL)
2022-11-11 21:51:31 -05:00
Robert Beckebans
f1d7f2ff9e
Fixed compile errors
2022-11-11 17:34:38 +01:00
Robert Beckebans
ad78435446
Merge branch '721-gltf2-cameras' into 705-gltf2-import-options
2022-11-11 17:00:47 +01:00
Robert Beckebans
6689d60b74
Passed idImportOptions along the animations loader code
2022-11-11 16:59:36 +01:00
Robert Beckebans
0d5d947f17
Apply import options to glTF2 models
2022-11-11 16:59:36 +01:00
Robert Beckebans
6cbb205ece
Hook idImportOptions into idRenderModel*::InitFromFile()
2022-11-11 16:59:36 +01:00
Robert Beckebans
81d70dc5d8
Parse idImportOptions for model declarations
2022-11-11 16:59:36 +01:00
Robert Beckebans
e499514fea
Little cleanup of the glTF2 code
2022-11-11 16:59:35 +01:00
Robert Beckebans
891ba7478e
Added idMat4::GetTranslation() and some comments
2022-11-11 16:58:19 +01:00
Robert Beckebans
9f50dbc9bc
Astyle
2022-11-11 13:12:38 +01:00
HarrievG
389798ee4b
[!] Corrected Spot light transforms
...
[+] Added support for GLTF cameras. useable with idCameraView and idAnimatedCamera
2022-11-11 13:11:21 +01:00
HarrievG
3d366ba386
[!] Fixed runtime reloading for gltf models
...
[!] Fixed timestamp check for static models
2022-11-11 13:11:21 +01:00
Stephen Saunders
f5745b4ab6
Support window resize and fullscreen changes on Windows and Linux without validation errors
2022-11-10 14:56:18 -05:00
Stephen Saunders
f6e5571d39
Support image depth/stencil format D32S8 when D24S8 not available (e.g. Vulkan on AMD GPUs)
2022-11-10 14:50:09 -05:00
Stephen Saunders
80c56e573d
Fix compile errors: DeviceManager.h include path for DX12, sync2 structure initialization typo for Vulkan
2022-11-10 12:19:54 -05:00
Stephen Saunders
f756ef26c2
Move DeviceManager_<API>.cpp files to neo/sys directory for single stream common maintenance
2022-11-08 16:33:29 -05:00
Stephen Saunders
7703d4221d
Vulkan timer query fixes, support in-game display mode / window size / vsync changes
2022-11-08 15:27:09 -05:00
Stephen Saunders
1adedfd3fc
Vulkan volatile buffer and validation error fixes (sync2, fillModeNonSolid, MoltenVK imageViewFormatSwizzle)
2022-11-08 15:21:50 -05:00
Robert Beckebans
7fb6948777
Merge branch '635-nvrhi3-cleanexit' into 635-nvrhi3
2022-11-03 18:54:56 +01:00
Robert Beckebans
600e50ad50
Astyle
2022-11-03 18:54:38 +01:00
Robert Beckebans
e9284c3818
Use fixed size (-8 -8 0, 8 8 16) bounds for all model based entities for TB
2022-11-02 15:51:12 +01:00
Robert Beckebans
15a9d12661
exportFGD proxymodel fix
2022-11-02 11:44:38 +01:00
Robert Beckebans
1ee669c31f
Merge branch 'master' into 635-nvrhi3
2022-10-29 19:09:30 +02:00
Robert Beckebans
3a877568e4
Support glTF2 vertex colors for static models
2022-10-29 19:08:12 +02:00
Robert Beckebans
b53271fc68
No need to set the rotation for the Blender lights
2022-10-29 18:25:56 +02:00
Robert Beckebans
7166b50501
Astyle
2022-10-29 17:42:09 +02:00
HarrievG
889f613610
[+] Ext_KHR_lights_punctual::Point support
...
[!] Fix for multple collections, entity names will be written out according to the full hierarchy.
2022-10-29 17:37:47 +02:00
Stephen Saunders
3d3658384d
Cleanup references to nvrhi::IDevice on shutdown, otherwise device won't clean up properly on final exit
2022-10-28 17:50:48 -04:00
Stephen Saunders
9734df5f01
Fix NVRHI device shutdown for SDL and do additional resource cleanup on exit
2022-10-28 14:11:10 -04:00
Stephen Saunders
8219860378
Clean up NVRHI resources before Sys_Quit(), otherwise non-zero exit code (destructors too late)
2022-10-27 14:52:08 -04:00
HarrievG
2cf8d5c8f9
[+] Recursive entity/collection support for gltf maps
...
[+] KHR_lights_punctual spotlight support
2022-10-27 12:10:32 +02:00
HarrievG
9589ea300d
[+] Inline support for gltf maps; add "inline" 0 property to an idStaticEntity or func_static to not inlude it in the map bsp. Defaults to 1
2022-10-27 12:10:32 +02:00
Robert Beckebans
98ed96adf4
LoadOgg fix
2022-10-27 12:09:47 +02:00
Robert Beckebans
dd69e30e40
Reenabled parallel shader compiling on Windows
2022-10-26 11:09:50 +02:00
Robert Beckebans
b3bab4de96
Merge branch 'master' into 635-nvrhi3
2022-10-26 10:59:41 +02:00
Robert Beckebans
822ff7d860
Astyle
2022-10-26 10:59:22 +02:00
Robert Beckebans
b12379e1af
Merge branch '635-nvrhi3-sdl' into 635-nvrhi3
2022-10-25 20:55:54 +02:00
Robert Beckebans
bb79eae285
Turn off SSAO if Vulkan is active
2022-10-25 20:42:16 +02:00
Robert Beckebans
40aec4ca2e
Turn off timer queries if Vulkan is active
2022-10-25 20:33:03 +02:00
Robert Beckebans
bdea96cc2a
Astyle
2022-10-25 19:11:22 +02:00
Robert Beckebans
7ee1180d22
Build with NVRHI Vulkan by default
2022-10-25 19:10:47 +02:00
Robert Beckebans
b58f009369
LoadOgg fix
2022-10-25 19:02:34 +02:00
Stephen Saunders
9eef374819
Update DeviceManager_VK.cpp for Windows and SDL (linux + macOS) cross-platform portability
2022-10-23 23:31:12 -04:00
Richard Tollerton
bc8882b8a2
Cinematic.cpp: Revert removal of void from METHODDEF(void), etc.
...
In fd6c589d
, all instances of (void) were replaced by (). However, the libjpeg
defines `METHODDEF`, `LOCAL`, `GLOBAL`, and `EXTERN` (see `jmorecfg.h`) are
occasionally used in code as if they are functions:
```
METHODDEF(void)
METHODDEF void
init_source( j_decompress_ptr cinfo )
```
fd6c589d
therefore breaks these builds when `USE_NEWER_JPEG` is defined, because
several function definitions are missing return types.
2022-10-23 17:49:56 -05:00
Richard Tollerton
a7322c1131
Add various move constructors
...
Commit 93b8564b
requires move constructors for many classes which do not
presently exist; they seem simple enough to add.
Fixes #708 .
2022-10-23 17:49:54 -05:00
Stephen Saunders
2ffb89c80e
Fix builtin/VR case sensitivity on linux, fix r_useValidationsLayers on macOS when USE_MoltenVK set
2022-10-23 08:45:53 -04:00
Stephen Saunders
86bcffdd00
Build / Source changes for NVRHI on SDL, source cleanup for clang C++17 std, initial macOS NVRHI implementation
2022-10-21 23:46:42 -04:00
Robert Beckebans
ddb2be02ff
Merge branch 'master' into 635-nvrhi3
2022-10-20 17:08:08 +02:00
Robert Beckebans
9866e121ba
Cleanup & Astyle
2022-10-20 16:40:11 +02:00
HarrievG
b1e198ce57
- fixed dmap crash while trying to merge leaf nodes
2022-10-20 16:28:40 +02:00
HarrievG
3702fb1dec
- removal of backface genration in Aasbuild for polygonmeshes.
2022-10-20 16:28:40 +02:00
Robert Beckebans
73b70ce4ba
Astyle
2022-10-19 18:26:14 +02:00
Robert Beckebans
0119d754b9
Merge pull request #659 from SRSaunders/vulkan211-fixes
...
Enable VK_KHR_portability_enumeration for macOS on Vulkan SDK 1.3.211.0 or later
2022-10-19 18:17:30 +02:00
Robert Beckebans
f11ae43dcf
Merge pull request #707 from SRSaunders/compiler-fixes
...
List.h fix and Doom Classic snprintf() fixes for modern clang and gcc compilers
2022-10-19 18:15:29 +02:00
Robert Beckebans
2a9d846dab
Merge pull request #699 from Admer456/better-idlist-perf
...
Thanks for the contribution :)
2022-10-19 18:14:19 +02:00
Stephen Saunders
4691a4cf01
Include STL <algorithm> in List.h to define std::copy() for clang 14+
...
(cherry picked from commit 2c36496af53d89a74cf3e9d7889a019c829afb48)
2022-10-18 14:24:05 -04:00
Robert Beckebans
fc42078ccf
Fixed Linux compile issues. Closes #702 #703
2022-10-13 09:37:14 +02:00
HarrievG
67022836c4
~ Fixed pose root root matrix correction.
...
- Removed single bone orientation hack
- removed unused code.
2022-10-11 20:48:03 +02:00
Robert Beckebans
e792a586a6
Merge branch 'master' into 635-nvrhi3
2022-10-01 14:22:37 +02:00
Robert Beckebans
f08657cb3f
Fixed random Unknown punctuation error while loading a glTF2 model
2022-10-01 13:59:10 +02:00
Robert Beckebans
0991956693
Merge branch 'master' into 635-nvrhi3
2022-09-26 22:13:43 +02:00
Admer
93b8564b6e
Add move semantics to idList and idStr
...
* idListArrayResize uses std::move
* idStr implements move constructor
* and move operator
* mpMap_t also implements a move operator
2022-09-26 20:54:27 +02:00
Robert Beckebans
e4ed5733fc
Moved BSP visualization into separate dmap -asciiTree option
2022-09-26 13:32:42 +02:00
HarrievG
28730655a1
Fixed boneless TRS animations
2022-09-26 12:05:50 +02:00
HarrievG
d8f7b72d74
Fixed multiplication order for idRenderModelGLTF::ProcessNode_r
2022-09-26 11:52:49 +02:00
Robert Beckebans
0ede52ba72
Transform entity geometry for dmap -glview .obj output into world space
2022-09-26 11:51:41 +02:00
Robert Beckebans
d8aba3e850
Renormalize normals & tangents from dmap .glb import
2022-09-26 11:50:29 +02:00
Robert Beckebans
ace5c7e87f
Merge branch 'master' into 635-nvrhi3
2022-09-26 10:18:23 +02:00
Robert Beckebans
0b677fe752
Fixed dmap .glb world+entity geom for the Y-Up case
2022-09-26 10:06:13 +02:00
Robert Beckebans
02941624f9
Repaired glTF2 animations for the Y-Up case
2022-09-26 00:31:47 +02:00
Robert Beckebans
64cd34412c
Fixed math problem and transposed idMat4::ToMat3()
2022-09-26 00:30:20 +02:00
Robert Beckebans
c23a30003b
Merge branch 'master' into 635-nvrhi3
2022-09-25 14:41:39 +02:00
Robert Beckebans
868fd1dce3
.glb models require the +Y-Up option to be turned off
2022-09-25 14:16:29 +02:00
Robert Beckebans
abff7d850c
Merge branch 'master' into 635-nvrhi3
2022-09-25 13:48:54 +02:00
Robert Beckebans
111c554215
Merge branch '519-background-music'
2022-09-25 13:32:13 +02:00
Robert Beckebans
d36cbec34b
Make sound files in base/music/* automatically loop
2022-09-25 13:31:56 +02:00
Robert Beckebans
379057ecaa
Cleanup
2022-09-24 21:28:39 +02:00
Robert Beckebans
d3227eb2b0
Sub meshes for entities from Blender work but only without the Y-Up option
2022-09-24 21:06:30 +02:00
Robert Beckebans
03c1a91647
Attempt to use submodels with origin != 0 0 0
2022-09-24 20:13:48 +02:00
Robert Beckebans
cc169f9ba8
Merge branch 'master' into 635-nvrhi3
2022-09-23 19:26:13 +02:00
Robert Beckebans
a02f7dde13
Merge branch '694-nvrhi-vulkan-swapchain' into 635-nvrhi3
2022-09-23 19:21:26 +02:00
Robert Beckebans
283e94269f
Removed obsolete HLSL shaders and changed Vulkan descriptor sets
2022-09-23 19:15:01 +02:00
Robert Beckebans
620a1616ed
Made sure that struct VS_IN has the same signature for all idDrawVert shaders
2022-09-23 18:04:59 +02:00
Robert Beckebans
4c85798e67
Fixed rendering of the main menu with Vulkan
2022-09-23 09:39:48 +02:00
Robert Beckebans
c55467ef33
Fixed several Vulkan errors
2022-09-22 20:08:07 +02:00
Robert Beckebans
1d456a9026
Probably fixed Vulkan swapchain problem
2022-09-22 18:34:07 +02:00
Robert Beckebans
d6f4ccb072
Extended dmap glview option to print an ASCII art BSP tree in the proc file
2022-09-21 18:38:23 +02:00
Robert Beckebans
6512628af8
Tweaked dmap -glview option to dump an .obj next to the .proc file with similar content
2022-09-20 18:01:18 +02:00
Robert Beckebans
d7d699258b
Tweaked dmap -glview option to dump an .obj next to the .proc file with similar content
2022-09-19 20:05:31 +02:00
Robert Beckebans
9307983475
Some code to debug the NVRHI swapchain problem
2022-09-17 20:01:06 +02:00
Robert Beckebans
44d65a6377
Switched nvrhi to github.com/RobertBeckebans/nvrhi.git
2022-09-17 13:37:34 +02:00
Robert Beckebans
f975108e43
Merge branch 'master' into 635-nvrhi3
2022-09-17 09:06:53 +02:00
Robert Beckebans
f426ae3472
Bumped required C++ standard to 14
2022-09-17 08:55:55 +02:00
Robert Beckebans
5569af4f26
Astyle
2022-09-17 08:55:07 +02:00
HarrievG
4401deac27
idList iterator fix
...
parser cleanup fix
2022-09-17 08:55:07 +02:00
Robert Beckebans
5c01fb206e
Astyle
2022-09-17 08:12:31 +02:00
HarrievG
e0d178b14d
idList iterator fix
...
parser cleanup fix
2022-09-17 08:04:34 +02:00
Robert Beckebans
4dbb4bd114
Renamed r_gapi to r_graphicsAPI
2022-09-17 08:01:22 +02:00
Robert Beckebans
322245d9f1
Small fixes to get the ingame AF editor running
2022-09-15 11:44:26 +02:00
Robert Beckebans
25b7680cfb
Added Imgui AF editor by Stephen Pridham
2022-09-15 11:03:22 +02:00
Robert Beckebans
f4e84b50db
Adapted imgui_stdlib to idStr
2022-09-15 11:02:43 +02:00
Robert Beckebans
86dd5558da
Added imgui_stdlib.h interface
2022-09-15 10:36:37 +02:00
Robert Beckebans
2249abbbd8
Updated Imgui to version 1.88
2022-09-15 10:34:02 +02:00
Robert Beckebans
a72b78fd26
Synced renderer with SP branch for the most parts
2022-09-14 18:03:29 +02:00
Robert Beckebans
75b299b6c0
Merge branch 'master' into 635-nvrhi3
2022-09-14 16:26:15 +02:00
Robert Beckebans
55b9937380
Formatted jpeg-6 code with Astyle
2022-09-12 20:47:41 +02:00
Robert Beckebans
a86e001738
Added more Makkon textures to convertMapQuakeToDoom cmd
2022-09-12 18:53:26 +02:00
Robert Beckebans
5d5de028ea
Improved Quake .map converter to get Makkon's samplemaps working
2022-09-11 15:34:29 +02:00
Robert Beckebans
4335eed1a7
Added sample sound shaders for looping background music
2022-09-10 22:09:24 +02:00
Robert Beckebans
18a4af8dd4
Formatted terrible oggvorbis code with Astyle
2022-09-10 21:28:59 +02:00
Robert Beckebans
3219e86f01
Also play music after loading a savegame
2022-09-10 21:14:24 +02:00
Robert Beckebans
12c9664a55
Scan for music/*.ogg files and play a different track for each map
2022-09-10 19:52:35 +02:00
Robert Beckebans
7e4694aa3e
Merged Ogg Vorbis support from DNF id Tech 4 branch
2022-09-10 14:01:35 +02:00
Robert Beckebans
d7d3694118
Added ancient oggvorbis code from vanilla Doom 3
2022-09-10 13:35:51 +02:00
Robert Beckebans
7f95839129
[bakeLightGrids] Fixed too bright grid points caused by bad cubemap captures
2022-09-06 18:39:47 +02:00
Robert Beckebans
2e6f61f9cb
Merge branch 'master' into 635-nvrhi3
2022-09-06 12:24:11 +02:00
Robert Beckebans
4652eb94d9
Merge pull request #646 from davidebeatrici/collisionmodel-contactinfo-material-id-init
...
cm/CollisionModel: Initialize "material" and "id" fields in "contactInfo_t"
2022-09-05 22:33:15 +02:00
Robert Beckebans
de6ab9d31f
Removed #define JPEG_INTERNALS from Cinematic.cpp. Closes #684
2022-09-05 22:29:53 +02:00
Robert Beckebans
539c3a93cd
Formatted doomclassic code with Astyle
2022-09-05 22:25:33 +02:00
Robert Beckebans
b04ba7fcfd
Fixed GCC compile error caused by the glTF2 code
2022-09-05 22:07:19 +02:00
Robert Beckebans
30b394bd3f
Fixed inconsistent override warnings
2022-09-05 21:57:17 +02:00
Robert Beckebans
3c1bcc2153
Fixed Linux compile issues caused by glTF2 code
2022-09-05 19:29:11 +02:00
Robert Beckebans
fd6eee32e3
Removed idVec4i
2022-09-04 16:15:02 +02:00
Robert Beckebans
007c601c58
Merge branch '679-gltf-map-support2' into 679-gltf-map-support-nvrhi
2022-09-04 13:43:31 +02:00
Robert Beckebans
b775de0e99
Merge branch 'master' into 679-gltf-map-support2
2022-09-04 13:41:47 +02:00
Robert Beckebans
4258367037
Fixed glTF2 bounding box calculation if GPU skinning is used
2022-08-16 20:35:52 +02:00
HarrievG
8b5dc677e3
- fixed asserts while converting gltf meshes primitives
2022-08-16 20:26:37 +02:00
Robert Beckebans
f22d7f511b
Merge branch '679-gltf-map-support2' into 679-gltf-map-support-nvrhi
2022-08-16 13:45:58 +02:00
Robert Beckebans
f195a7670e
Merge branch '635-nvrhi2' into 679-gltf-map-support-nvrhi
2022-08-16 13:44:44 +02:00
Robert Beckebans
3ea4ac29fe
Fixed support for glTF2 uint16 weight indices
2022-08-16 13:00:52 +02:00
Robert Beckebans
88b02efd6d
Fixed camera clipping with static glTF2 models
2022-08-16 10:41:00 +02:00
Robert Beckebans
5f43800b02
Merge remote-tracking branch 'HarrievG/679-gltf-map-support2' into 679-gltf-map-support2
2022-08-16 09:21:12 +02:00
HarrievG
1d354e995f
- fix for file exclusive gltf models
2022-08-15 16:13:04 +02:00
Robert Beckebans
f451b41981
SP: Update debug drawing so that it's only allocating vertex/index buffer once.
2022-08-15 14:28:10 +02:00
Robert Beckebans
1e30b08363
SP: Fix null indexbuffer issue when the validation layers are enabled
2022-08-15 14:20:19 +02:00
Robert Beckebans
b709b4ee6b
Merged reloadImages fix from SP branch #674
2022-08-15 13:36:00 +02:00
Robert Beckebans
c52e4c345d
( ) -> ()
2022-08-15 12:23:38 +02:00
Robert Beckebans
e243072f56
Merge remote-tracking branch 'origin/679-gltf-map-support2' into 679-gltf-map-support2
2022-08-15 11:16:02 +02:00
HarrievG
457e0e143b
- Fixed missing surfaces in multi surface/texture gltf models.
2022-08-14 20:02:06 +02:00
HarrievG
486315c7e7
- removed global gltfParser so it cannot be used as an singleton anymore.
...
- fixed destruction and cleanup of gltfData and gltfParser
- gltfParser always fixes up skeletonID's for skins that do not have it set.
- fixed gltfData::GetAnimation to also check for duplicates taking multple targets for the same animation into account.
- several boneless animation fixes
[!] [ BUG WARNING ] Be aware -> for some reason models/meshes that use multple textures are not drawn correctly; ATM onlt single texure users are correct.
2022-08-14 13:43:12 +02:00
HarrievG
ecaf297ef6
Allow for multple GLTF/GLB to be loaded at the same time.
2022-08-07 15:56:46 +02:00
HarrievG
d0ff0a7f64
Dont load GLTF data when loading bglb/bgltf
2022-08-07 15:05:14 +02:00
HarrievG
8e889c1804
Fixed non Simdpath for idRenderModelGLTF::UpdateSurface
2022-08-06 20:43:25 +02:00
HarrievG
2ef1fe3ce2
idRenderModelGLTF::NearestJoint
2022-08-04 01:40:59 +02:00
HarrievG
b41411f8d0
Fixed axis conversion for gltfModels with animated translations
2022-08-03 21:44:42 +02:00
HarrievG
7e7ee22f3b
AAS support for MapPolygonMehses
2022-08-03 02:14:06 +02:00
HarrievG
b6bccf19d0
Fixed gltf animation bounds.
2022-08-01 22:05:13 +02:00
HarrievG
c5f8af3b66
corrected sw skinning bounds
2022-07-31 21:37:42 +02:00
HarrievG
e56f696c9c
- Skinned / animated GLTF models
2022-07-31 12:13:07 +02:00
HarrievG
edf657f50d
- Initial GLTF Animation Implementation. For now only supports boneless TRS animations without scale.
...
![only works with r_UseGpuSkinning 0]!
- Writes bmd5anim for each animation. its not perfect yet but, rot + trans looks good.
- Model tag supports gltf Animations. Indexed the same way as meshes.
- Enabled weights and bone index in ConvertFromMeshGltf
2022-07-10 21:09:25 +02:00
GoGo de Sica
c2b2598ced
Fix include in OpenGL RenderBackend
2022-07-04 00:55:57 +02:00
Robert Beckebans
007ad7dde7
Don't use TAA jitter when capturing env probes!
2022-07-03 14:46:14 +02:00
Robert Beckebans
60330e2d8d
Always clear the envprobe FBO for lightgrid capturing
2022-07-03 14:16:04 +02:00
Robert Beckebans
cdc39a0294
Merged some smaller cleanups from the SP branch
2022-07-03 11:26:54 +02:00
SRSaunders
62161be257
Merge branch 'master' into cinematic-updates
2022-07-03 00:12:40 -04:00
Robert Beckebans
d292e46148
Merge pull request #644 from davidebeatrici/sound-openal-pointer-check-array
...
sound/OpenAL/AL_CinematicAudio.cpp: Remove address check against array, zero out music buffer on shutdown
2022-07-02 14:29:22 +02:00
Robert Beckebans
c824d41152
Fixed merge conflict
2022-07-02 13:01:25 +02:00
Robert Beckebans
374897f750
Merge branch '679-gltf-map-support2' into 679-gltf-map-support
2022-07-02 12:55:10 +02:00
Robert Beckebans
525f00395c
Print engine version when starting to write a qconsole.log
2022-06-29 10:24:28 +02:00
Robert Beckebans
1664626bbb
Fixed window icon by adding the missing doom.rc
2022-06-28 09:31:57 +02:00
Robert Beckebans
ad922d6f49
Merge branch '655-nvrhi-gpu-skinning' into 635-nvrhi2
2022-06-27 19:56:30 +02:00
Robert Beckebans
539b25d799
Merged GPU skinning code by SP and did additional refactoring
2022-06-27 19:54:20 +02:00
Robert Beckebans
fbc07156d2
Merge branch 'master' into 635-nvrhi2
2022-06-26 15:46:48 +02:00
Robert Beckebans
3d269124b2
Don't generate collision models for every rendermodel in advance
...
(cherry picked from commit 82928cce8b6544466f4131b9bfd602ab2fa033d6)
2022-06-26 15:29:51 +02:00
Robert Beckebans
a664f8599e
Dmap: always write a .cm file, especially when overwriting from a mod dir
2022-06-26 15:29:13 +02:00
Robert Beckebans
04606dc3cf
Dmap: always write a .cm file, especially when overwriting from a mod dir
2022-06-26 15:28:15 +02:00
Robert Beckebans
ffd18bf9d4
Fixed duplication of glTF models
2022-06-26 13:24:55 +02:00
Robert Beckebans
5446ae31e4
Fixed binaryzation of .glb models that don't have 'models' as main scene
2022-06-26 12:23:21 +02:00
Robert Beckebans
cd41a6b785
Merge branch 'master' into 635-nvrhi2
2022-06-26 10:27:45 +02:00
Robert Beckebans
844bbb577f
Support the Valve 220 texture projection in MapPolygonMesh::ConvertFromBrush()
2022-06-26 10:20:58 +02:00
Robert Beckebans
0364eeb2f9
Automatically remove map collision .cm, .bcm files before running dmap
2022-06-26 10:20:57 +02:00
Robert Beckebans
131e4f1ce3
Crashfix: Don't refesh the screen using prints during engine shutdown.
2022-06-26 10:20:57 +02:00
HarrievG
833f112f4e
- gltfMesh support for mesh tag in idDeclModelDef
2022-06-25 15:05:59 +02:00
HarrievG
8030a5b1de
- idRenderModelGLTF now set dynamicModel_t to DM_STATIC when no anims are found, or to DM_CONTINUOUS
...
- idRenderModelGLTF now does only transform the model verts on read for DM_STATIC. Vertices for dynamicmodels are transformed on instantiation [wip]
- A-Style update
2022-06-24 21:40:08 +02:00
HarrievG
8f80816183
- binary loading/writing for (static) gltfMesh
2022-06-21 22:07:27 +02:00
HarrievG
6840b3a13e
- added cnew make batch file for vs2019
2022-06-21 00:44:01 +02:00
Robert Beckebans
90d329c78b
Moved FinishSurfaces for gltf
2022-06-21 00:20:25 +02:00
Robert Beckebans
d87d05e82c
Split Model_gltf.cpp into idlib/MapFile_gltf.cpp
2022-06-21 00:18:24 +02:00
HarrievG
39bdcba4ba
Merge remote-tracking branch 'RB/679-gltf-map-support2' into 679-gltf-map-support2
2022-06-21 00:03:31 +02:00
HarrievG
e84ef1edb2
transform bugs
2022-06-21 00:02:58 +02:00
Robert Beckebans
5f58f73845
Fixed missing generation of tangent spaces for glTF files
2022-06-20 23:57:13 +02:00
HarrievG
18677c0e4a
Merge remote-tracking branch 'RB/679-gltf-map-support2' into 679-gltf-map-support2
2022-06-20 22:34:43 +02:00
Robert Beckebans
6e3a048833
Merge remote-tracking branch 'HarrievG/679-gltf-map-support2' into 679-gltf-map-support2
2022-06-20 22:34:25 +02:00
Robert Beckebans
4f6f65f4b8
Ignore line definitions in OBJ files
2022-06-20 22:33:01 +02:00
HarrievG
d0b9d8f8a8
astyle
2022-06-20 22:25:52 +02:00
Robert Beckebans
57b0b9620f
Fixed idassert in Release builds
2022-06-20 20:55:50 +02:00
HarrievG
9e4cd947a1
- cleanup YUP define
...
- added rotation for entities
- models scene can be overriden with cvar
2022-06-20 01:12:45 +02:00
Robert Beckebans
52a99ea5f6
Astyle
2022-06-19 22:25:33 +02:00
HarrievG
44c4ba9e46
- if no meshname is given while trying to load a idRenderModelGLTF, add all primitives from the default scene of that gltf as surfaces
2022-06-19 22:19:27 +02:00
HarrievG
1f22320d37
- correct axis transform for gltf assets
2022-06-19 21:58:43 +02:00
HarrievG
72b535f0ac
- Fixed bsp/worldspawn scene node traversal
2022-06-19 01:26:16 +02:00
Robert Beckebans
0cb72166f8
Added missing copyright notices
2022-06-18 11:09:09 +02:00
Robert Beckebans
fd6c589da0
( ), ( void ) -> ()
2022-06-18 10:43:30 +02:00
Robert Beckebans
35d809a145
Astyle
2022-06-18 10:36:48 +02:00
HarrievG
e5ecb219e5
- hierarchical bsp/worldmodel loading
...
- gltf support for model def. Looks up item within the "models" scene of the target gltf!
2022-06-18 01:18:28 +02:00
Robert Beckebans
b147183658
Don't generate collision models for every rendermodel in advance
...
(cherry picked from commit 82928cce8b6544466f4131b9bfd602ab2fa033d6)
2022-06-16 12:32:58 +02:00
Robert Beckebans
2d133b6910
Made hashing faster in MapPolygonMesh::GetGeometryCRC()
2022-06-11 11:54:01 +02:00
Robert Beckebans
f7db9d0ab7
Simplified allocations and fixed potential crash if materials are missing
2022-06-11 11:45:09 +02:00
HarrievG
a6d4ca7694
material name is now used as texture/idMaterial
2022-06-10 22:06:38 +02:00
HarrievG
faa9207d01
- Fixed GLTF Mesh -> Polygon Mesh creaton
2022-06-10 10:27:17 +02:00
Robert Beckebans
c0a5f1233d
Fixed collision detection and shading
2022-06-09 10:51:20 +02:00
Robert Beckebans
c576583b28
Don't add indices from other polygons
2022-06-08 23:06:17 +02:00
Robert Beckebans
c74ed79e8d
Support the Valve 220 texture projection in MapPolygonMesh::ConvertFromBrush()
2022-06-08 21:34:04 +02:00
Robert Beckebans
9216f47572
Automatically remove map collision .cm, .bcm files before running dmap
2022-06-08 21:12:38 +02:00
Robert Beckebans
86b94dc8be
Crashfix: Don't refesh the screen using prints during engine shutdown.
2022-06-08 21:10:36 +02:00
Robert Beckebans
4e0199b75c
Entity glTF2 Y-Up -> Doom coord conversion
2022-06-07 22:48:36 +02:00
Robert Beckebans
e095e95173
glTF2 -> dmap triangulation bugfixes
2022-06-07 22:39:16 +02:00
Robert Beckebans
e86a8d1734
Crash fix when closing the engine
2022-06-07 22:04:43 +02:00
Robert Beckebans
d69db4ebad
Fixed rebase conflicts
2022-06-06 17:36:18 +02:00
Robert Beckebans
c3098186b5
Small glTF2 coords change
2022-06-06 17:24:47 +02:00
Robert Beckebans
24845c7edf
gltf2 -> idMapFile fixes. dmap and map commands work
...
# Conflicts:
# neo/idlib/containers/List.h
2022-06-06 17:24:47 +02:00
HarrievG
50bb904e22
[!] compile fix
2022-06-06 17:24:38 +02:00
HarrievG
e19e4f2b05
Update Model_local.h
2022-06-06 17:24:38 +02:00
HarrievG
c1c5917cda
+ id style gltf2 parser
...
+ initial attempt to dmap glb/gltf
[!] added blend file and glb for debugging purposes
# Conflicts:
# neo/idlib/containers/List.h
2022-06-06 17:24:37 +02:00
Robert Beckebans
eb08cd9c40
Small glTF2 coords change
2022-06-06 17:19:45 +02:00
Robert Beckebans
60c990c1d9
gltf2 -> idMapFile fixes. dmap and map commands work
2022-06-06 16:13:32 +02:00
Robert Beckebans
70dee3a79c
WIP non-compiling GPU skinning fixes
2022-06-06 13:21:14 +02:00
HarrievG
c73ba4e5b1
[!] compile fix
2022-06-06 01:22:55 +02:00
HarrievG
8981441237
Update Model_local.h
2022-06-06 01:00:36 +02:00
HarrievG
331d14567d
+ id style gltf2 parser
...
+ initial attempt to dmap glb/gltf
[!] added blend file and glb for debugging purposes
2022-06-06 00:53:44 +02:00
Robert Beckebans
e1bbf4bf28
Fixed chromatic aberration on right/bottom screen corners
2022-06-05 12:03:56 +02:00
Robert Beckebans
c0dd85bb80
Fixed rendering of FFmpeg, Binkdec videos and Doomclassic modes #648 677
2022-06-04 13:37:00 +02:00
Robert Beckebans
987085a247
More shader syncing with SP branch
2022-06-04 11:14:48 +02:00
Robert Beckebans
a97c92b6a5
Separate bind set for material textures in the light passes to avoid allocation problems #676
2022-06-03 18:47:02 +02:00
Robert Beckebans
f67360bc06
Fixed lightgrid and envprobe debug drawing #662
2022-05-29 16:45:12 +02:00
Robert Beckebans
d3382b03e2
Outcommented broken SMAA and MSAA options
2022-05-29 15:51:07 +02:00
Robert Beckebans
461001d5c0
Fixed filmic post processing #661
2022-05-29 15:11:12 +02:00
Robert Beckebans
94fea5c38c
Possible FBO mem leak fix #664
2022-05-29 12:14:26 +02:00
Robert Beckebans
592d587228
Fixed failed PSO bug with blend lights
2022-05-29 12:07:49 +02:00
Robert Beckebans
ef72010b01
Fixed problem with spot light projections #673
2022-05-29 11:20:43 +02:00
Robert Beckebans
1d62816a77
Fixed most annoying compiler warnings on Linux
2022-05-19 16:47:24 +02:00
Robert Beckebans
547bffce82
Fixed r_showPortals
2022-05-16 19:45:34 +02:00
Robert Beckebans
b109fc7a3e
idRenderBackend::DBG_ShowDebugLines works correctly
2022-05-14 10:51:19 +02:00
Robert Beckebans
cc11531f8d
Fixed failed graphics state if vertex_color shader is called
2022-05-14 10:18:08 +02:00
Robert Beckebans
5177b3b121
r_showSurfaceInfo works
2022-05-13 23:07:59 +02:00
Robert Beckebans
1e4a07c41c
r_showSurfaceInfo almost works
2022-05-13 21:42:00 +02:00
Robert Beckebans
478dfdf262
WIP integration of fhDoom debug line rendering
2022-05-11 21:35:25 +02:00
Robert Beckebans
f1139f7a33
Fixed unknown event 772 error on Linux
2022-05-09 14:07:19 +02:00
Robert Beckebans
17e865ae2c
Fixed UI clipping bugs #669
2022-05-07 22:32:21 +02:00
Robert Beckebans
1c4968a873
Compile shaders to renderprogs2, removed motion_vectors.*.hlsl
2022-05-07 18:57:25 +02:00
Robert Beckebans
c6735ce1df
Tweaked presets for Windows ARM
2022-05-01 21:36:06 +02:00
Robert Beckebans
c43a957a3f
Removed obsolete .bat file
2022-04-29 18:09:24 +02:00
Robert Beckebans
f792b68ba6
Merge branch '635-nvrhi2-arm' into 635-nvrhi2
2022-04-29 17:52:48 +02:00
Robert Beckebans
ac8171f258
Cleanup
2022-04-29 17:51:58 +02:00
Robert Beckebans
a7d0b8d9e7
Astyle
2022-04-29 17:28:48 +02:00
Robert Beckebans
c2eeb037d9
Merge remote-tracking branch 'CodeLikeCXK/635-nvrhi1' into 635-nvrhi2-arm
2022-04-29 17:27:51 +02:00
Robert Beckebans
0928018a00
Added renderdoc API header
2022-04-29 17:27:30 +02:00
CodeLikeCXK
8520b23a56
Add windows arm support (without optimization). To do list: implement Neon
2022-04-28 18:48:17 +08:00
Robert Beckebans
ea296d884d
Don't call ResizeFramebuffers() during bake commands!
2022-04-23 18:48:55 +02:00
Robert Beckebans
43b3375da7
bakeEnv* and bakeLightGrids partially work
2022-04-23 16:34:22 +02:00
Robert Beckebans
0c866655f8
Don't render motion vectors if standing still
2022-04-20 12:05:47 +02:00
Robert Beckebans
39227f1559
Improved TAA jittering
2022-04-20 10:54:25 +02:00
Stephen Saunders
511e18d9fd
Check Vulkan header version for macro compatibility, improve VkPhysicalDeviceProperties2 variable names
...
(cherry picked from commit 6399dc2a48829ea25be649213cc059d5bfd1b379)
2022-04-19 16:30:22 -04:00
Stephen Saunders
23044c8e43
Enable VK_KHR_portability_enumeration for macOS on Vulkan SDK 1.3.211.0 or later
2022-04-19 16:28:47 -04:00
Robert Beckebans
a7623165b5
Fixed TAA jittering bug
2022-04-19 21:56:30 +02:00
CodeLikeCXK
800cd210f9
Fix UTF-8 BOM error
2022-04-19 21:28:26 +08:00
Robert Beckebans
51405a3e8f
Simplified screenshot garbage. Closes #652
2022-04-16 16:29:17 +02:00
Robert Beckebans
54d30bbd05
Skip hands + view weapons for motion vectors
2022-04-14 14:43:14 +02:00
Robert Beckebans
6cd2b98491
TAA is working. Fixed wrong output resolution
2022-04-13 22:05:05 +02:00
Robert Beckebans
d078ada2d8
Changed the motionBlur shader to draw motion vectors
2022-04-13 12:35:00 +02:00
Robert Beckebans
2e363d6f99
Exposed TAA parameters to cvars
2022-04-12 19:24:53 +02:00
Robert Beckebans
ca1c1019d0
Less flickering
2022-04-12 18:29:55 +02:00
Robert Beckebans
1279a27a43
Copied TAA from Donut framework
2022-04-12 18:15:48 +02:00
Robert Beckebans
024ad532e2
Make shadow atlas optional for perf comparison
2022-04-09 14:58:31 +02:00
Robert Beckebans
ca6b434a63
Fixed r_skipShadows and removed r_logFile
2022-04-02 12:33:58 +02:00
Robert Beckebans
0d9d13d6f0
Fixed shadow plopping effects and reeanbled vogel disk sampling
2022-04-02 11:57:33 +02:00
Robert Beckebans
51db69a19f
Use slower but more stable bin 2d packing for now
2022-04-01 19:54:09 +02:00
Robert Beckebans
b9ceae755e
Fixed missing graphics state updates if the viewport changes
2022-04-01 19:19:25 +02:00
Robert Beckebans
45b75aa623
Bumped r_shadowMapAtlasSize to 16384
2022-04-01 17:38:52 +02:00
Robert Beckebans
f6fd593c72
Added faster Quad Tree for rectangle packing
2022-04-01 17:10:53 +02:00
Robert Beckebans
d6a43278db
Don't use atlas for interactions that didn't fit into the atlas
2022-04-01 13:55:34 +02:00
Robert Beckebans
98368669fa
Shadowmap atlas is working if there are not too many lights
2022-03-31 22:45:29 +02:00
Robert Beckebans
c0e4082651
Use shadow atlas for interaction rendering
2022-03-31 22:07:05 +02:00
Robert Beckebans
63fe4a167a
Sort and render shadows into shadowmap atlas
2022-03-31 18:42:52 +02:00
Robert Beckebans
52545c8230
Shadow atlas preparations
2022-03-30 12:19:06 +02:00
Robert Beckebans
361c0292ec
Added missing tonemapping vertex shader
2022-03-30 12:13:43 +02:00
Robert Beckebans
77a73a2cd2
Fixed compile and runtime problems
2022-03-30 12:09:22 +02:00
Robert Beckebans
a18d2609ce
Merge branch 'master' into 635-nvrhi1
2022-03-30 12:08:40 +02:00
Robert Beckebans
b4077053bb
Added missing TonemapPass.h/cpp files
2022-03-29 15:26:16 +02:00
Robert Beckebans
144ce1dab9
Disabled FullscreenFXManager::Process() post processing effects #647
2022-03-29 15:25:25 +02:00
Robert Beckebans
cf128e42c8
Fixed total frame GPU time query
2022-03-24 19:28:10 +01:00
Robert Beckebans
4e776840d9
Implemented NVRHI timer queries
2022-03-24 18:22:41 +01:00
Stephen Saunders
308d0138cb
sound/OpenAL/AL_CinematicAudio.cpp: Zero out music buffer on shutdown
2022-03-23 23:17:06 +01:00
Robert Beckebans
ff29a5dbd4
Perf: Only write constant buffer if it has changed
2022-03-23 21:13:06 +01:00
Robert Beckebans
62429d8f46
Optimized perf by fixing several issues with the GPU<->CPU syncing
2022-03-23 20:22:05 +01:00
Stephen Saunders
2d129d9537
Minor consistency optimization when initially calling alSourceQueueBuffers()
2022-03-23 11:29:45 -04:00
Robert Beckebans
d4f1d99bd7
Some work on GPU Skinning and Vulkan debugging
2022-03-22 20:46:44 +01:00
Robert Beckebans
fe80d08eb0
Fixed crash with NVRHI context
2022-03-22 12:05:11 +01:00
Robert Beckebans
51d317543c
Sync NVRHI branch by SP
2022-03-22 11:16:44 +01:00
Stephen Saunders
58cc477a58
Add s_playCinematicAudio cvar to enable/disable cinematic audio playback
2022-03-18 14:49:38 -04:00
Davide Beatrici
d88fa4f694
cm/CollisionModel: Initialize "material" and "id" fields in "contactInfo_t"
...
The Dark Mod only does it in idCollisionModelManagerLocal::ContentsTrm().
Prey only initializes "id", in idCollisionModelManagerLocal::Translation().
2022-03-18 03:11:35 +01:00
Stephen Saunders
97b8cd08a7
Instantiate and destroy cinematicAudio only if audio stream is present in cinematic file
2022-03-17 18:00:53 -04:00
Stephen Saunders
78c5fd3a8c
Properly delete cinematicAudio instances, eliminate use of new for ffmpeg error strings, vkCreateImageView FMT_DEPTH_STENCIL fix
2022-03-16 22:00:52 -04:00
Robert Beckebans
ccd5086d20
Attempt to implement DrawStencilShadowPass
2022-03-16 17:43:55 +01:00
Robert Beckebans
51294e6549
Small vertex cache cleanup
2022-03-16 15:24:08 +01:00
Robert Beckebans
00612732d4
Fixed mirrors
2022-03-16 13:32:19 +01:00
Robert Beckebans
24853acc45
GL_State cleanup. Fixed most GUI rendering problems
2022-03-16 12:20:58 +01:00
Stephen Saunders
87271337c3
Support mp4/webm/mkv cinematics for mods, fix duration calculation, fix testVideo shutdown on exit
2022-03-15 20:26:47 -04:00
Robert Beckebans
0eb9b97471
Trying to use default samplers for all unknown material stages
2022-03-15 18:57:47 +01:00
Robert Beckebans
85ff5d2a66
Use FataError for NVRHI errors so we get an small info window later on
2022-03-15 17:06:36 +01:00
Robert Beckebans
07bef6e114
Fixed linear RGB -> sRGB gamma ramp after tone mapping
2022-03-15 16:58:07 +01:00
Robert Beckebans
91ae3aa3ed
Sync NVRHI branch by SP
2022-03-15 11:41:56 +01:00
Davide Beatrici
229496cffb
sound/OpenAL/AL_CinematicAudio.cpp: Remove address check against array
...
neo/sound/OpenAL/AL_CinematicAudio.cpp:246:6: warning: address of array 'this->alMusicBuffercin' will always evaluate to 'true' [-Wpointer-bool-conversion]
if( alMusicBuffercin )
~~ ^~~~~~~~~~~~~~~~
2022-03-15 09:30:57 +01:00
Robert Beckebans
c336da5ffd
Optimized ShadowMapPass
2022-03-14 19:20:23 +01:00
Robert Beckebans
69a27458a0
Fixed Imgui rendering
2022-03-14 16:34:38 +01:00
Robert Beckebans
274766f5d5
Mars City 1 works, disabled Binding/Sample Caches
2022-03-14 14:00:42 +01:00
Robert Beckebans
59349e88f3
Removed obsolete samplers from lightgrid/envprobe shaders
2022-03-14 10:47:20 +01:00
Robert Beckebans
851e8179bb
Fixed binding layout for bumpyenvironment shaders
2022-03-14 10:03:13 +01:00
Robert Beckebans
fd7802dfb4
Sync NVRHI branch by SP
2022-03-14 10:00:30 +01:00
Robert Beckebans
827bb275d6
Fixed cascaded shadowmap rendering
2022-03-12 11:38:21 +01:00
Robert Beckebans
21ce622907
Run garbage collection between render passes
2022-03-12 11:28:55 +01:00
Robert Beckebans
e85851991b
Fixed skybox shader
2022-03-12 11:28:34 +01:00
Robert Beckebans
52d20500d7
Outcommented unused renderpasses
2022-03-12 10:14:05 +01:00
Robert Beckebans
8f97eb6973
Removed obsolete RBDoom 1.1 ambient_light shader
2022-03-11 18:18:02 +01:00
Robert Beckebans
f1a499093f
Only add valid entries to the binding sets
2022-03-11 18:17:31 +01:00
Robert Beckebans
a63c5ba5f1
Got point light shadowmaps working
2022-03-11 12:56:07 +01:00
Robert Beckebans
67a0768560
Fixed sRGB and screen size problems with the DX12 device manager
2022-03-11 11:44:07 +01:00
Robert Beckebans
fc0e8e7c07
Use RGB565 -> RBGA8 loading hack like on Apple
2022-03-10 20:26:29 +01:00
Robert Beckebans
01a86e2b3d
Fixed flash light shadow maps
2022-03-10 20:20:48 +01:00
Robert Beckebans
529d91f611
Some spot light shadowmap debugging
2022-03-10 19:42:59 +01:00
Robert Beckebans
28c756b1d7
Don't resize Framebuffers after device shutdown
2022-03-10 19:42:43 +01:00
Robert Beckebans
9cb65c4fcf
Don't reload intrinsic images
2022-03-10 19:42:06 +01:00
Robert Beckebans
19f38c9a83
Renderer can load the test_box.map
2022-03-09 21:31:40 +01:00
Robert Beckebans
6ae1f07e95
Synced with Steve's latest NVRHI code
2022-03-09 20:40:15 +01:00
Robert Beckebans
5b98d387ce
Fixed compiling of the Vulkan backend
2022-03-06 10:26:37 +01:00
Robert Beckebans
219033e26a
Fixed black screen after reloadImages #621
2022-03-06 10:10:18 +01:00
Robert Beckebans
2ce90cf97b
Applied Astyle
2022-03-06 08:59:13 +01:00
Robert Beckebans
d212e5b948
Merge remote-tracking branch 'SRSaunders/master'
2022-03-06 08:34:02 +01:00
Robert Beckebans
67a5e99597
Smaller merge changes with master
2022-03-06 08:32:26 +01:00
Robert Beckebans
e3101a6b05
Added Zoomap categories railing, pipe and ladder and changed it to look for .bobj and .bdae files
2022-03-05 18:55:30 +01:00
Robert Beckebans
f1668b7db8
Stencil shadows work again (thanks to Stephen Pridham), Renderer Sync #395
2022-03-05 18:27:27 +01:00
Stephen Saunders
1ac9baca5d
Tiny fix for printing Bink audio stream sample format
2022-03-03 16:31:49 -05:00
Stephen Saunders
8f474b9cb4
Tiny fix for printing RoQ cinematic filename
2022-03-03 11:59:32 -05:00
Stephen Saunders
bd3c82c930
Align frame logic for Cinematic decoders (ffmpeg, Bink, RoQ), use correct shaders, fix bugs in RoQ looping and testVideo cmd
2022-03-02 20:49:26 -05:00
Robert Beckebans
5ebbbf32e4
Added support for the prototype.wad in the convertMapQuakeToDoom cmd
2022-03-02 17:47:05 +01:00
Robert Beckebans
6d7ebabcbf
Fixed a divide by zero bug in the convertMapToValve220 cmd
2022-03-02 09:27:09 +01:00
Robert Beckebans
daf5ed43c0
Export FGD files to base/_tb/fgd/*.fgd
2022-02-27 17:26:58 +01:00
Robert Beckebans
3de739ae32
Added small hack to load autogenerated genmodel_ entities
2022-02-27 16:58:25 +01:00
Robert Beckebans
920df3df63
Tweaked export to TrenchBroom cmds with proxymodels
2022-02-27 13:56:14 +01:00
Stephen Saunders
69be2f1e05
Enabled RoQ & ffmpeg decoders in testVideo cmd, fixed RoQ looping with ffmpeg decoder
2022-02-26 18:51:01 -05:00
Robert Beckebans
67aaf93af8
Added 2D Bin Packing library
2022-02-26 18:48:15 +01:00
Robert Beckebans
5368eb5521
Added more categories to makeZooMapForModels cmd
2022-02-26 15:53:14 +01:00
Robert Beckebans
60d7801780
Added category sorting to makeZooMapForModels cmd
2022-02-26 15:29:39 +01:00
Robert Beckebans
75d55a7ed3
Tweaked makeZooMapForModels cmd with better sorting
2022-02-25 22:14:45 +01:00
Stephen Saunders
c4bc217d26
Linux case sensitivity hack for opening RoQ files with ffmpeg
2022-02-25 01:13:54 -05:00
Robert Beckebans
9cc5fa7a3a
Write labels above model groups in zoo maps
2022-02-24 22:14:40 +01:00
Stephen Saunders
27c1fe476a
Close all ffmpeg contexts, remove packet queue, support ffmpeg RoQ decoding with audio
2022-02-24 02:04:30 -05:00
Robert Beckebans
cbc9a31b74
Added cmd makeZooMapForModels
2022-02-23 22:52:23 +01:00
Stephen Saunders
f24d7ecc16
Fix XAudio2 and OpenAL errors on shutdown, improve cinematic audio queue mgmt
...
(cherry picked from commit 4bfdf622f94b52eae52faece058c0e3d6139551e)
2022-02-22 20:16:31 -05:00
Stephen Saunders
22cd420513
More cinematic audio memory mgmt fixes, support cinematic audio looping
...
(cherry picked from commit bb0b260baa187d2dd88ef2a631e7b7f163095b10)
2022-02-22 19:52:24 -05:00
Robert Beckebans
b2f68faffe
exportModelsToTrenchBroom writes another FGD with helper entities
2022-02-22 21:36:00 +01:00
Robert Beckebans
4bdaca627f
Don't use BC1_UNORM_SRGB because it breaks YCoCg decoding
2022-02-21 23:08:31 +01:00
Robert Beckebans
f9c9f9c65e
Changed engine branch name to NVRHI
2022-02-21 22:09:48 +01:00
Robert Beckebans
d557c82b35
Improved RenderDoc logging
2022-02-21 22:08:04 +01:00
Robert Beckebans
1d93ad0a58
It can start and load a map!
2022-02-21 21:26:36 +01:00
Robert Beckebans
535e56f580
It's compiling!
2022-02-21 19:56:21 +01:00
Robert Beckebans
025ba4419e
Added more missing files
2022-02-21 19:21:16 +01:00
Robert Beckebans
9b4b93e8ef
Added missing files
2022-02-21 18:15:56 +01:00
Robert Beckebans
c37dc4e04e
NVRHI merge by Stephen Pridham part 2
2022-02-21 17:59:13 +01:00
Robert Beckebans
16a21fdeb8
NVRHI merge by Stephen Pridham part 1
2022-02-21 16:29:53 +01:00
Robert Beckebans
2282cfb9d8
Differentiate between classic func_groups and TB layers
2022-02-19 14:43:49 +01:00
Stephen Saunders
922f9eddef
Cinematic Video and Audio memory management fixes
...
(cherry picked from commit 40a9190283d30180a3b7e4ab9b77f3c3728dad4f)
2022-02-18 14:01:53 -05:00
Robert Beckebans
1f2df87be7
Fixed a couple of func_groups with TrenchBroom related bugs
2022-02-18 18:00:09 +01:00
Robert Beckebans
c23709c2db
Formatted code with Astyle
2022-02-12 12:55:46 +01:00
Robert Beckebans
4bba6b3e46
Merge remote-tracking branch 'SRSaunders/gpu-support'
2022-02-12 10:54:56 +01:00
Stephen Saunders
1c6ec627f2
Minor fix for astyle-code.sh compatibility with macOS grep
...
(cherry picked from commit 82206ebeaac285d68add1042e1f151857e67e53b)
2022-02-10 10:40:43 -05:00
Stephen Saunders
d0d3917ba1
Simplify ffmpeg audio code, sync ffmpeg audio frames to video, enable Bink cinematic audio, ensure audio buffers are released
...
(cherry picked from commit 62853bfc0307d1507903f0454bd062f387f775e2)
2022-02-10 10:40:30 -05:00
Stephen Saunders
846c00c885
Fix XAudio2 cinematic audio and restore Windows build
...
(cherry picked from commit f09a3083e220f1a715816e097e0e5342ca48456d)
2022-02-05 21:08:27 -05:00
Stephen Saunders
3be85d9c4b
ffmpeg 5 compatibility plus cinematic audio playback on OpenAL & XAudio2
...
(cherry picked from commit bcb683e8e6ba6cb23acac2f1121c6e3eece1ed01)
2022-02-05 21:08:11 -05:00
Robert Beckebans
cde21c018d
Did a little Quake to Doom experiment
2022-02-05 15:49:50 +01:00
Stephen Saunders
813767feea
Generalize handling of heap avoid flags in Vulkan and VMA Allocators
...
(cherry picked from commit 7c49b044d37ff65599470103d360b8d46045bfb5)
2022-02-01 14:38:59 -05:00
Stephen Saunders
6d41dae922
Add display of VK_MEMORY_HEAP_MULTI_INSTANCE_BIT to Vulkan_PrintHeapInfo console command
...
(cherry picked from commit 794d8e52c81448c09b537b4b9b9767d69dbfc563)
2022-02-01 01:18:27 -05:00
Robert Beckebans
2ea2db396d
Fixed random alpha values within exportImagesToTrenchBroom cmd
2022-01-31 16:40:29 +01:00
Stephen Saunders
552ada02d7
macOS Vulkan: Check and disable MoltenVK's use of Metal argument buffers for shader allocation scalability
...
(cherry picked from commit 939ab3b6396bd7196ce7f0c16cf59c83ebdc6a4e)
2022-01-30 12:41:12 -05:00
Stephen Saunders
96da1f3eed
Fix heap flags check in Vulkan Allocator and add heap flags check to VMA Allocator
...
(cherry picked from commit 488f8d27616570029de9429cf4794886f6d209e1)
2022-01-29 13:28:10 -05:00
Robert Beckebans
e978d92aeb
Added TrenchBroom helper entities like func_door_model
2022-01-29 18:10:54 +01:00
Stephen Saunders
e4021513d1
Fixes for: Vulkan+BinkDec validation errors, BinkDec replay in PDAs, macOS Vulkan+BinkDec stall, VK_EXT_debug_utils handling, Vulkan gfxInfo on Windows & Linux, idVulkanAllocator::Free(), idCinematicLocal::GetStartTime(), ImGui timings for timedemo first pass
...
(cherry picked from commit 2a93ad2380374e1a327f7af4f8e71c27b2b51528)
2022-01-28 10:33:07 -05:00
Robert Beckebans
b31840bda1
Moved CommandlineProgressBar out of RenderCommon.h to its own files
2022-01-22 16:20:21 +01:00
Robert Beckebans
c7499aeb8e
Bumped version to 1.4.0
2022-01-22 14:55:03 +01:00
Robert Beckebans
da947328f0
Fixed some wrong texture projections with convertMapToValve220
2022-01-21 19:38:58 +01:00
Robert Beckebans
92c5cbf758
convertMapToValve220 now works with just the .resource files
2022-01-21 18:33:42 +01:00
Robert Beckebans
7279cd5d05
Small export path change
2022-01-20 22:28:18 +01:00
Robert Beckebans
7a0ac78762
Added cmd exportImagesToTrenchBroom
2022-01-20 22:25:06 +01:00
Stephen Saunders
bf889b9631
Vulkan: Simplify Instance error checking, fix validation errors when using BINK decoder, check GPU's maxSamplerAnisotropy
...
(cherry picked from commit f0f7536e888e4a4b70a71510d5b61313aa4ebb6a)
2022-01-19 23:41:18 -05:00
Stephen Saunders
0c6e72be37
Improve Vulkan instance extension setup, add Vulkan instance and driver info to gfxInfo
...
(cherry picked from commit 631358eda14468bdc3f8dd5c0ed7998b8e0be0eb)
2022-01-19 23:40:45 -05:00
Robert Beckebans
b7f952ad80
Extended idFileSystem::ListFilesTree to recursive .resources files
2022-01-10 23:22:26 +01:00
Robert Beckebans
55abfc26aa
Added entityDef misc_model helper for TB
2022-01-09 11:41:01 +01:00
Robert Beckebans
ef47fc9092
Fixed bug by last filesystem change
2022-01-08 18:33:55 +01:00
Robert Beckebans
c104fff7ea
Autoremove rotation keyword for TrenchBroom
2022-01-08 14:30:19 +01:00
Robert Beckebans
3cc6c0744e
Added exportModelsToTrenchBroom console command
2022-01-07 18:46:35 +01:00
Stephen Saunders
a6675c1689
Improve GPU Vendor detection for OpenGL renderer
...
(cherry picked from commit 5556575dc7620a2f25e91ad65306d335dc03588c)
2022-01-07 01:28:16 -05:00
Stephen Saunders
1b865406c0
Add support for Apple GPUs (e.g. M1) and fill-in gfxInfo data for Vulkan renderer
...
(cherry picked from commit 22f38cef0bbc3997c24990b5ee0f16c05e10de53)
2022-01-07 01:27:45 -05:00
Robert Beckebans
a89dc048e8
DOOM_CLASSIC is ON by default again. closes #627
2022-01-06 18:13:16 +01:00
Robert Beckebans
2b727db4c2
Merge branch 'master' of github.com:RobertBeckebans/RBDOOM-3-BFG
2021-11-16 22:11:31 +01:00
Robert Beckebans
362e7484e4
Added explanation about the difference between lite and full packages
2021-11-16 22:11:27 +01:00
Tobias Frost
b11cd5d1b5
Fix identation of CMakeLists.txt
...
The mixing of tabs and space lead to confusion; Changes back to tabs,
like the rest of the file
2021-11-15 07:33:05 +01:00
Tobias Frost
9c368cbf56
Fix linking of open_al.
...
Closes #623
2021-11-15 07:32:50 +01:00
Robert Beckebans
cbf0ffbcca
Fixed UV projections within convertMapToValve220 cmd
2021-11-09 21:30:49 +01:00
Robert Beckebans
8863db872e
Added CMake options STANDALONE and DOOM_CLASSIC
2021-11-09 19:47:06 +01:00
Robert Beckebans
ebdea5f6c9
Tweaked exportFGD command for new icons
2021-11-06 19:09:40 +01:00
Robert Beckebans
d0f5cd7308
Added new GFX options for SSAO and Ambient Lighting
2021-10-30 17:54:07 +02:00
Robert Beckebans
5b252f82d1
Fixed DPI Scaling problems #616
2021-10-28 11:12:07 +02:00
Robert Beckebans
50a722ec38
Started to port bswf JSON importer to Blender 2.93
2021-10-27 16:24:30 +02:00
Robert Beckebans
84f238fc00
Added _extra_ents.map files for ROE campaign
2021-10-23 16:02:08 +02:00
Robert Beckebans
083b031373
_extra_ents.map files can override entities
2021-10-20 14:49:45 +02:00
Robert Beckebans
b65bef4d62
Use snapped origin of env_probes for new naming convention
2021-10-12 21:08:59 +02:00
Robert Beckebans
77f8031eb9
Allow _extra_ents.map files next to the map files
2021-10-10 17:47:24 +02:00
Robert Beckebans
e1db32fe30
Little TrenchBroom interop fixes
2021-10-09 18:37:53 +02:00
Robert Beckebans
1d7bcb5f27
Tweaked exportFGD further to support sprite icons
2021-10-08 22:46:30 +02:00
Robert Beckebans
efcf72fae4
Tweaked exportFGD to support sprite icons
2021-10-08 20:51:08 +02:00
Stephen Saunders
aeefb34561
Revert commit using getters for gameThread times - wrong type size
2021-10-01 00:29:09 -04:00
Robert Beckebans
79b28779b7
Astyle cleanup
2021-09-28 09:58:48 +02:00
Stephen Saunders
af08e7d414
Use proper getters & setters for gameThread and renderSync times
2021-09-27 22:58:32 -04:00
Stephen Saunders
09e0a4c5c8
Fix Frame time calculation to properly handle CPU/GPU parallelism
2021-09-27 17:56:45 -04:00
Stephen Saunders
3d7cfe7351
Added Total CPU time to Perf Stats overlay, fixed Frame time calculation
2021-09-24 09:03:27 -04:00
Stephen Saunders
45b9850546
Disable detailed GUI timestamps only when 3D timestamps are active
2021-09-23 10:21:03 -04:00
Stephen Saunders
945684f55c
Add CPU+GPU total time to Perf Stats & Fix Idle time for non-smp modes
2021-09-23 01:11:05 -04:00
Stephen Saunders
6f3f0ca491
Fix CPU timer scaling on Win64 + minor format changes for FPS overlay
2021-09-22 17:57:19 -04:00
Stephen Saunders
f75701a9ab
Fix overwrite of RC_DRAW_VIEW_3D timestamps by RC_DRAW_VIEW_GUI rendering pass
2021-09-22 17:40:11 -04:00
Stephen Saunders
1c41e52fc0
Change libMoltenVK.dylib path in CMakeLists for MoltenVK custom build flexibility
2021-09-20 11:38:34 -04:00
Stephen Saunders
0306b6189a
Improve accuracy of gpuMicroSec timer on macOS OpenGL
2021-09-17 14:44:30 -04:00
Robert Beckebans
cbf17d4f36
Cleanup and Astyle
2021-09-11 18:02:16 +02:00
Admer
2f58f2b0c2
Re-order all pragma once statements to be AFTER the precompiled.h include, to silence IntelliSense's warning about PCH header stops
2021-09-11 17:53:30 +02:00
Admer
474a299a27
Use idMapFile instead of CM for brush origin offsets
2021-09-11 17:43:50 +02:00
Admer
302c4aa14d
Supress Windows API's DrawText macro, for proper highlighting of idRenderWorld::DrawText
2021-09-11 17:43:50 +02:00
Admer
9381796d3f
idEntity: use origin brush offsets
2021-09-11 17:43:50 +02:00
Admer
17068426e4
dmap: write origin brushes to .cm files
2021-09-11 17:43:50 +02:00
Admer
677025bf6c
idMaterial: origin flags
...
# Conflicts:
# neo/renderer/Material.h
2021-09-11 17:43:50 +02:00
Admer
1e18029909
idParallelJobList: fix syntax highlighting for AddJob
2021-09-11 17:43:50 +02:00
Admer
a1e1bec54a
r_skipBloom CVar
2021-09-11 17:43:50 +02:00
Robert Beckebans
80c48e3895
Astyle
2021-09-11 13:02:59 +02:00
Robert Beckebans
6510531ad8
Merge pull request #606 from SRSaunders/game-return-fix
...
Update gameReturn_t() to explicitly initialize sessionCommand
2021-09-11 12:55:00 +02:00
Stephen Saunders
0a6e7c976f
Update gameReturn_t() to explicitly initialize sessionCommand vs. compiler-specific behaviour
2021-09-03 22:13:56 -04:00
Stephen Saunders
aa767c360c
Properly delete renderWorld, soundWorld, and menuSoundWorld on shutdown
2021-08-31 10:49:57 -04:00
Robert Beckebans
87bbebac1c
Applied Astyle
2021-08-28 15:05:12 +02:00
Robert Beckebans
306e980f8e
Merge pull request #601 from SRSaunders/master
...
Support for macOS Universal Binary builds and README updates
2021-08-28 14:57:23 +02:00
Robert Beckebans
530e96657e
Merge pull request #600 from SRSaunders/x11xcb-fixes
...
Remove X11_XCB dependencies for Linux and macOS
2021-08-28 14:55:03 +02:00
Stephen Saunders
a8f870ef18
Add support for macOS universal binary builds (x86_64 & arm64)
2021-08-20 02:13:19 -04:00
Stephen Saunders
04ac31b058
CMakeLists: define VULKAN_USE_PLATFORM_SDL for all UNIX platforms - remove Linux/macOS restriction
2021-08-16 16:57:24 -04:00
Stephen Saunders
c80d601276
Remove all X11_XCB platform-specific code from RBDoom3BFG
2021-07-30 14:08:44 -04:00
Robert Beckebans
b02eaf8f6b
Merge pull request #599 from SRSaunders/binkdec-fixes
...
Support FFmpeg / BinkDec optionality for macOS
2021-07-30 09:17:15 +02:00
Robert Beckebans
8fb98c011c
Merge pull request #598 from SRSaunders/master
...
Fix broken glslang include path in CMakeLists.txt
2021-07-30 09:16:02 +02:00
Robert Beckebans
9772dfd88b
Merge pull request #594 from tomgreen66/rbdoom3_osxcpufreqfix
...
Fix odd output for CPU frequency on Mac
2021-07-30 09:09:04 +02:00
Stephen Saunders
9e57d60850
Disable FFmpeg and enable libbinkdec for macOS release and retail builds
2021-07-29 21:03:18 -04:00
Stephen Saunders
d71eb2bf36
Disable X11_XCB dependencies for Linux and macOS
2021-07-29 00:10:13 -04:00
Stephen Saunders
cbb9610a1b
Enable FFmpeg / BinkDec optionality for macOS
2021-07-27 17:24:01 -04:00
Stephen Saunders
7e50d6dcb8
Fix broken glslang include path in CMakeLists.txt
2021-07-27 15:42:54 -04:00
Robert Beckebans
c4030850ab
Merge pull request #595 from r-a-sattarov/master
...
loongarch64: added initial support of LoongArch64 CPU architecture
2021-07-26 09:36:48 +02:00
Robert Beckebans
34cc04358d
idMath::FLT_EPSILON -> idMath::FLOAT_EPSILON for system define clash on macOS
2021-07-26 08:51:44 +02:00
Robert Beckebans
9a0a89dbbd
idMath::INFINITY -> idMath::INFINITUM for system define clash on macOS
2021-07-26 08:46:39 +02:00
r-a-sattarov
c82bc9c52b
loongarch64: added initial support of LoongArch64 CPU architecture
2021-07-25 21:03:25 +03:00
Thomas Green
3503dd2f17
Use integer to obtain cpufrequency in OSX
...
Using a double to try to obtain cpufrequency in OSX seems to not produce anything useful (integer representation in a double). Using int64 seems to work.
2021-07-20 23:51:17 +01:00
Robert Beckebans
d430f6a1fd
Astyle
2021-07-08 08:40:03 +02:00
Stephen Saunders
960cd1cd8c
Add doc comments to macOS cmake-xcode-vulkan shell scripts
2021-06-28 19:42:26 -04:00
Stephen Saunders
afd7a5e69d
Improve macOS build robustness re sysroot path spec
2021-06-21 19:47:19 -04:00
Stephen Saunders
d76110c0d7
Remove gcc/clang default option -fno-unsafe-math-optimizations (ref issue #575 )
2021-06-18 01:03:58 -04:00
Stephen Saunders
ae44b1059d
Remove unneeded macOS cmd line debug-version shell scripts
2021-06-16 16:09:07 -04:00
Stephen Saunders
041db6b348
Capture mouse properly on macOS when outside of window, fixes issue #584
2021-06-15 01:53:35 -04:00
Robert Beckebans
3b3e08510d
Merge pull request #586 from SRSaunders/master
...
Release mouse when console opened in-game: revert previous change
2021-06-14 13:24:25 +02:00
Stephen Saunders
b44f3694db
Release mouse when console opened in-game: revert previous change to support map dev workflow
2021-06-13 21:10:47 -04:00
r-a-sattarov
7fdaad65c5
Removed cmake files with USE_INTRINSICS_SSE=OFF
...
After https://github.com/RobertBeckebans/RBDOOM-3-BFG/pull/567 they are no longer needed
2021-06-13 20:43:36 +03:00
r-a-sattarov
2c13183a59
CMakeLists.txt: added use of Intel Intrinsics for e2k by default
...
e2k (MCST Elbrus 2000) architecture has half native / half software support of most Intel/AMD SIMD
e.g. MMX/SSE/SSE2/SSE3/SSSE3/SSE4.1/SSE4.2/AES/AVX/AVX2 & 3DNow!/SSE4a/XOP/FMA4
2021-06-13 19:41:13 +03:00
Robert Beckebans
fb8c744330
Astyle
2021-06-12 10:31:42 +02:00
Robert Beckebans
cc659683f3
Merge branch 'master' of github.com:RobertBeckebans/RBDOOM-3-BFG
2021-06-12 10:30:12 +02:00
Robert Beckebans
7f41a7b3cc
Updated contributor credits
2021-06-12 10:30:08 +02:00
Stephen Saunders
4c3a9ad3df
Use custom _aligned_alloc on macOS for better SDK and runtime portability
2021-06-11 11:12:49 -04:00
Stephen Saunders
ab9857987c
Add note to macOS vulkan build script re MVK_CONFIG_FULL_IMAGE_VIEW_SWIZZLE env var
2021-06-10 12:33:17 -04:00
Stephen Saunders
1d35964f82
Fix openal-soft includes on macOS; fix default sysroot for cmd line builds
2021-06-10 12:01:22 -04:00
Robert Beckebans
c705e894fd
Don't lookup Steam and GOG D3BFG paths by default.
...
This breaks development builds however you can set this behaviour by
setting +set sys_useSteamPath 1 or +set sys_useGOGPath 1
2021-06-04 13:06:34 +02:00
Robert Beckebans
6ee08ed8a4
Formatting
2021-06-03 12:27:40 +02:00
Robert Beckebans
583de344b6
Merge pull request #575 from BielBdeLuna/patch-3
...
Fix dmap errors: added -ffp-contract=off and took out -ffast-math
2021-06-03 11:37:42 +02:00
Robert Beckebans
7ee0123763
Merge pull request #565 from SRSaunders/master
...
Fix build on macOS for latest Vulkan SDK 1.2.176.1
2021-06-03 11:33:34 +02:00
Biel Bestué de Luna
9395db18c8
also added -fno-math-errno
and -fno-trapping-math
2021-06-01 22:15:39 +02:00
Biel Bestué de Luna
fb31e404a4
added -ffp-contract=off and took out -ffast-math
...
took out `-ffast-math` because according to the gcc optimize documentation it could bring:
> incorrect output for programs that depend on an exact implementation of IEEE or ISO rules/specifications for math functions.
https://gcc.gnu.org/onlinedocs/gcc-11.1.0/gcc/Optimize-Options.html#index-ffast-math
and put in `-ffp-contract=off` because at optimization levels of `-O2` and higher the operations of multiply and summing are not handled correctly and give wrong values, breaking in our case the Cross product of the vector math:
https://gcc.gnu.org/onlinedocs/gcc-11.1.0/gcc/Optimize-Options.html#index-ffp-contract
2021-06-01 14:24:08 +02:00
Stephen Saunders
baedc98b6d
Update cmake shell scripts for macOS with improved Xcode integration
2021-05-27 23:41:05 -04:00
Robert Beckebans
4ce0f587cb
Fixed typo
2021-05-26 10:35:59 +02:00
Robert Beckebans
b14a5b4fbb
Applied Astyle
2021-05-26 09:25:28 +02:00
Robert Beckebans
4c7e6ba501
Merge pull request #568 from raynorpat/steam-gog-path-win-support
...
Steam and GOG.com base path support for Windows
2021-05-26 09:22:43 +02:00
Robert Beckebans
eba1bf978c
Merge pull request #567 from raynorpat/cmake-update
...
Some improvements to CMakeLists.txt
2021-05-26 09:20:04 +02:00
raynorpat
90a20aec42
Support for Steam and GOG.com base path detection for Windows.
...
This uses the registry unfortunately, but is fairly clean.
This will check the Steam App ID first, then the Steam install path, then finally will check the GOG.com App ID.
2021-05-25 23:20:54 -04:00
raynorpat
b91080902b
Convert USE_INTRINSICS to USE_INTRINSICS_SSE and fix CMakeLists.txt logic surrounding its check to focus on x86 and x86_64 CPU types
2021-05-25 20:06:37 -04:00
raynorpat
49e46df731
Fix two compiler warnings in idlib/math/Vector.h - floor to floorf
2021-05-25 20:04:41 -04:00
raynorpat
4281dd6dcf
Some improvements to CMakeLists.txt:
...
- Change tests for Clang and AppleClang to use MATCHES instead of STREQUAL
- Add USE_FOLDERS global property, which helps keep the CMake default targets neat in IDEs
- Sets the default startup project in MSVC to RBDoom3BFG instead of ALL_BUILD, helps for easier debugging when opening the solution for the first time
- Sets the default debug directory path for MSVC, setting it to the root directory, which again helps for easier debugging
2021-05-25 18:46:12 -04:00
raynorpat
e574c50526
Add define wrappers for classic Doom in sound/OpenAL/AL_SoundHardware.cpp, similar to XAudio2
...
Also add MSVC 2019 Win10 OpenAL CMake batch file
2021-05-25 18:38:49 -04:00
Stephen Saunders
2068e92d92
Use default VULKAN_SDK location on macOS; disable broken ZERO_CHECK for Xcode Vulkan builds
2021-05-25 13:33:28 -04:00
Stephen Saunders
ea8096d949
Remove erroneous comment from CMakeLists
2021-05-25 01:04:23 -04:00
Stephen Saunders
2429e8bda0
Fix build on macOS for latest Vulkan SDK 1.2.176.1
2021-05-23 12:00:01 -04:00
Robert Beckebans
447d11b1ee
Run astyle
2021-05-20 08:10:50 +02:00
Robert Beckebans
f7c1ab7bfb
Merge branch 'master' of github.com:RobertBeckebans/RBDOOM-3-BFG
2021-05-20 08:08:40 +02:00
Robert Beckebans
85993e28ad
Give generated envprobes proper names
2021-05-20 08:08:35 +02:00
Robert Beckebans
dcbd2de28a
Merge pull request #564 from erickzmx/fix-empty-ase
...
Fix for ASE meshes without materials.
2021-05-20 08:05:11 +02:00
Robert Beckebans
b2cc747084
Merge pull request #561 from SRSaunders/master
...
Fix com_smp = -1 logic error in Frame() if com_editors active
2021-05-20 08:05:02 +02:00
ErickMx
b60f3907fc
Fixed loading empty ASE Models
2021-05-20 00:21:13 -05:00
Robert Beckebans
72a737d992
Updated release notes, added angles support for lights
2021-05-09 21:25:25 +02:00
Stephen Saunders
fdd9bbbcf8
Fix com_smp = -1 logic error in Frame() if com_editors active
2021-05-08 10:49:44 -04:00
Robert Beckebans
d7a96ca21b
Allow sys_lang to be saved to config
2021-05-08 15:05:47 +02:00
Robert Beckebans
0814287639
Updated release notes with screenshots
2021-05-08 11:34:12 +02:00
Robert Beckebans
5cd5f21564
Fixed reloading of images after bakeEnvironmentProbes...
2021-05-07 13:14:00 +02:00
Robert Beckebans
e466940b95
Write smaller EXR files using TinyEXR zip compression
2021-05-07 11:31:03 +02:00
Robert Beckebans
b633582dff
Merge pull request #559 from SRSaunders/master
...
Fixed uint64_t print formatting in Allocator_VK.cpp
2021-05-06 14:51:27 +02:00
Robert Beckebans
329d822d32
Show all valid light material textures with editLights
2021-05-06 13:31:58 +02:00
Robert Beckebans
cde3a596ee
Added editLights cmd as shortcut for g_editEntityMode 1
2021-05-06 10:03:06 +02:00
Stephen Saunders
7918e9af5e
Fixed uint64_t print formatting in Allocator_VK.cpp
2021-05-05 12:33:53 -04:00
Robert Beckebans
5a24940e08
Fixed reloading of images after bakeEnvironmentProbes
2021-05-05 12:34:45 +02:00
Robert Beckebans
1870c57308
Cull envprobes that aren't connected to any visible area
2021-05-05 11:51:36 +02:00
Robert Beckebans
9a1ccf644a
Don't render SSAO during multi bounce lightgrid bake
2021-05-04 19:33:22 +02:00
Robert Beckebans
0c07739483
bakeLightGrids grid( 32 32 64 ) light grid size option
2021-05-04 19:10:16 +02:00
Robert Beckebans
458f8f5155
Added options to bakeLightGrids -limit[num] -bounce[num]
2021-05-04 16:16:08 +02:00
Robert Beckebans
fc7e7acff2
Updated default builtin irradiance/radiance probe data
2021-05-03 22:38:51 +02:00
Robert Beckebans
c119cf3513
Several bugfixes that address cubemap processing for SH/GGX data
2021-05-03 20:36:26 +02:00
Robert Beckebans
7d5c840ec3
Updated changelog for upcoming release
2021-05-03 14:41:30 +02:00
Robert Beckebans
544ea11ce1
Merge pull request #557 from SRSaunders/master
...
Restore PCH for macOS Vulkan builds
2021-05-02 19:24:10 +02:00
Stephen Saunders
f6de8ee716
Restore PCH for macOS Vulkan builds
2021-05-02 13:10:03 -04:00
Robert Beckebans
4026fea4a9
Surpress some warnings for retail builds
2021-05-02 15:42:40 +02:00
Robert Beckebans
460719336e
Print time results at the end of all baking commands
2021-05-02 14:29:01 +02:00
Robert Beckebans
3786c3aa51
Fixed progressbar updates with bakeEnvironmentProbes
2021-05-01 16:28:05 +02:00
Robert Beckebans
30373922c3
Optimized bakeLightGrids
2021-05-01 15:59:46 +02:00
Robert Beckebans
7707dc222e
Modified zip scripts
2021-04-30 18:56:30 +02:00
Robert Beckebans
ae7dc33b5c
Use builtin environment probe data as fallback
2021-04-30 16:39:27 +02:00
Robert Beckebans
0762ed4f04
Don't store temp cubemaps on disc for bakeEnvironmentProbes
2021-04-30 15:40:27 +02:00
Robert Beckebans
325fe39fd8
Use L4 Spherical Harmonics
2021-04-30 15:02:34 +02:00
Robert Beckebans
595fa370cf
Fixed several bugs with the new bake* commands
2021-04-30 14:33:51 +02:00
Robert Beckebans
8ae5bace37
Fixed building for Vulkan on Linux
2021-04-30 11:42:20 +02:00
Robert Beckebans
b67612c67c
Allow more than 1 lightgrid file version
2021-04-29 17:05:56 +02:00
Robert Beckebans
5b0a3a8ac8
Merge branch '545-irradiance-light-grid'
2021-04-29 16:33:10 +02:00
Robert Beckebans
dbbcea94c5
Pull request cleanup
2021-04-29 16:32:15 +02:00
Robert Beckebans
0964c02bcf
Ran Astyle
2021-04-29 15:20:45 +02:00
Robert Beckebans
d5b9fbc7e8
Fixed crash in glslang when compiling new lightgrid shaders
2021-04-29 12:52:40 +02:00
Robert Beckebans
0b4be8c73a
Added interpolation of the 3 nearest reflection probes
2021-04-28 15:44:33 +02:00
Robert Beckebans
167085385b
Fixed bad lighting with objects behind the area light grid bounds
2021-04-27 19:14:55 +02:00
Robert Beckebans
b96b085d04
Don't use 1 pixel border for non-lightgrid octahedrons
2021-04-27 14:15:11 +02:00
Robert Beckebans
dcf9cc4e6d
Store irradiance probe resolution and border size
2021-04-26 16:31:04 +02:00
Stephen Saunders
d72ce4a2d5
Fixed assert on macOS when -D_DEBUG defined, assertion guarding atan2f in Math.h not needed
2021-04-23 01:06:53 -04:00
Robert Beckebans
f7e898bb61
PBR spec probes shouldn't be linear filtered
2021-04-23 00:55:53 +02:00
Robert Beckebans
8d1e7c5afd
Lowered irradiance probe resolution to ( 16 + 2 )^2
2021-04-23 00:36:14 +02:00
Robert Beckebans
f3ee2baac8
Enable linear filtering for octahedron lightgrid probes
2021-04-23 00:21:22 +02:00
Stephen Saunders
dd6b75d009
Fix error in CMakeLists for UNIX/macOS use of SPIRV_SHADERC
2021-04-21 13:29:56 -04:00
Stephen Saunders
b14c3c21cb
Fixed segfault on exit by integrating pull request #378 by tomgreen66
2021-04-20 18:35:37 -04:00
Stephen Saunders
0aae6f0902
macOS support for OpenGL and MoltenVK, demo recording/playback improvements
2021-04-19 14:32:52 -04:00
Robert Beckebans
d11fae0c20
Don't write .exr files for empty light grid areas
2021-04-19 00:44:41 +02:00
Robert Beckebans
03c5e0273b
Small bugfixes and r_useHDR 1 is now fixed for OpenGL
2021-04-18 21:20:29 +02:00
Robert Beckebans
6bad4df47e
Lowered film grain intensity
2021-04-17 21:07:39 +02:00
Robert Beckebans
cb0e534804
First draft of new .lightgrid file format to store volume settings
2021-04-17 21:06:19 +02:00
Robert Beckebans
5c03286448
Move light grid sampling origins around if in solid like q3map1 did
2021-04-16 21:16:44 +02:00
Robert Beckebans
b0238772a8
It's now bakeEnvironmentProbes and bakeLightGrids
2021-04-16 13:21:43 +02:00
Robert Beckebans
36e7b2e86e
Skip entire area if lightgrid count exceeds limit
2021-04-16 10:37:12 +02:00
Robert Beckebans
25b14756bb
Use first valid lightgrid of viewEntity areas
2021-04-15 21:28:50 +02:00
Robert Beckebans
15a9411161
Changed lightgrid texture layout
2021-04-15 18:06:50 +02:00
Robert Beckebans
2752432416
Use dynamic light grid size in shaders
2021-04-15 16:09:39 +02:00
Robert Beckebans
0596300c45
Combined lightgrid trilerp with IBL PBR lighting
2021-04-15 15:01:31 +02:00
Robert Beckebans
884658d6dd
Added lightgrid debug shader
2021-04-15 13:11:27 +02:00
Robert Beckebans
6ad03afca6
Write an irradiance atlas for each area
2021-04-14 22:17:09 +02:00
Robert Beckebans
7e16444fcc
More light grid debug code
2021-04-14 18:17:28 +02:00
Robert Beckebans
26faa5797a
r_showLightGrid 2 shows how light grid interpolation works
2021-04-14 12:55:46 +02:00
Robert Beckebans
f1e54f249b
Splitted light grid up into multiple for each BSP area
2021-04-13 19:53:02 +02:00
Robert Beckebans
99c7d58dc6
Compute irradiance for each light grid point
2021-04-13 17:51:16 +02:00
Robert Beckebans
6decaa2293
Started to bring back the Quake 3 lightgrid as irradiance cache
2021-04-13 15:50:46 +02:00
Robert Beckebans
09c9f254c8
Generated new default ambient cube with smooth SH lighting
2021-04-10 17:26:51 +02:00
Robert Beckebans
7d2f35ab9a
Only do parallax correction test for local cubemaps
2021-04-10 17:23:04 +02:00
Robert Beckebans
69f17a61fd
Merge branch 'master' of github.com:RobertBeckebans/RBDOOM-3-BFG
2021-04-10 16:55:57 +02:00
Robert Beckebans
d8188cf90b
Fixed problems with Mesa GLSL compiler
2021-04-10 16:55:54 +02:00
Robert Beckebans
2f8ae72431
Fixed Linux build issues. Tested with Clang
2021-04-10 09:53:52 +02:00
Robert Beckebans
5d26aaddb3
Added parallax correction for local cubemaps
2021-04-09 22:28:09 +02:00
Robert Beckebans
c40ab1e7e8
Fixed irradiance fireflies using spherical harmonics
2021-04-08 18:36:23 +02:00
Robert Beckebans
4a3ba04317
Simplified R_MakeAmbientMap
2021-04-08 12:41:40 +02:00
Robert Beckebans
ee4085b388
Added spherical harmonics math
2021-04-08 12:06:14 +02:00
Robert Beckebans
36105c277c
Added missing shaders from last commit
2021-04-07 10:04:39 +02:00
Robert Beckebans
5854242d7b
Moved D3 gloss -> roughness hack to function
2021-04-06 14:27:46 +02:00
Robert Beckebans
7c3ff6466b
Minor cleanup
2021-04-01 14:23:47 +02:00
Robert Beckebans
8f82bb0fb9
Added invertGreen( normalmap.png ) material keyword
2021-03-27 22:17:05 +01:00
Robert Beckebans
9ce36e420a
Support angles keyword again for TrenchBroom
2021-03-27 18:36:50 +01:00
Robert Beckebans
97656fb9cf
Defaulted r_forceAmbient to 0.4
2021-03-26 18:40:02 +01:00
Robert Beckebans
39facaa1ac
Vulkan can handle FMT_R11G11B10F textures
2021-03-26 17:39:04 +01:00
Robert Beckebans
9fae3ccdb2
Vulkan backend compiles again
2021-03-26 13:35:05 +01:00
Robert Beckebans
d9112cd381
Merge branch '497-envprobe-rendertarget'
2021-03-26 11:20:53 +01:00
Robert Beckebans
1f796a1f08
Embedded default HDR light probe data
2021-03-26 10:49:16 +01:00
Robert Beckebans
d5a4dda542
Added console command makeImageHeader
2021-03-26 10:13:42 +01:00
Robert Beckebans
5bbca6f98c
Use id Tech 5 multithreading for generateEnvironmentProbes
2021-03-23 21:53:21 +01:00
Robert Beckebans
81905fb735
Delete temporary scene captures after processing
2021-03-23 10:00:38 +01:00
Robert Beckebans
8c397e9463
Bugfixed and flipped environment probe glReadPixels output
2021-03-23 09:36:39 +01:00
Robert Beckebans
2391ba1b43
Implemented GGX Split Sum approximation using a 2D atlas trick
2021-03-22 20:45:25 +01:00
Robert Beckebans
779534626f
Added LoadEXR using tinyexr, LoadHDR using stb_image
2021-03-17 21:01:43 +01:00
Robert Beckebans
afae2740bf
Fixed unnessary warnings with VS2017
2021-03-15 21:21:56 +01:00
Robert Beckebans
30b88cc197
Ran Astyle
2021-03-15 21:16:11 +01:00
Robert Beckebans
4f55ec094d
Merge pull request #538 from r-a-sattarov/master
...
tiny improvements and fixes
2021-03-15 21:14:42 +01:00