Commit graph

592 commits

Author SHA1 Message Date
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
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
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
1d62816a77 Fixed most annoying compiler warnings on Linux 2022-05-19 16:47:24 +02: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
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
Stephen Saunders
69be2f1e05 Enabled RoQ & ffmpeg decoders in testVideo cmd, fixed RoQ looping with ffmpeg decoder 2022-02-26 18:51:01 -05:00
Stephen Saunders
c4bc217d26 Linux case sensitivity hack for opening RoQ files with ffmpeg 2022-02-25 01:13:54 -05: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
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
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
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
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
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
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
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
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
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
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
8863db872e Added CMake options STANDALONE and DOOM_CLASSIC 2021-11-09 19:47:06 +01:00
Robert Beckebans
d0f5cd7308 Added new GFX options for SSAO and Ambient Lighting 2021-10-30 17:54:07 +02:00
Robert Beckebans
b65bef4d62 Use snapped origin of env_probes for new naming convention 2021-10-12 21:08:59 +02:00