Commit graph

954 commits

Author SHA1 Message Date
Stephen Saunders
9613bd6d0e Initialize idRenderModelDecal decals so members are defined for logical tests 2024-01-19 23:44:47 -05:00
Stephen Saunders
097ef81f6e Enable r_useParallelAdd* to be changed for bake* operations on multiplayer maps
(cherry picked from commit 7bee6f2096d9d3162e3280f1c4e9e81bc307e6a2)
2024-01-19 23:17:24 -05:00
Stephen Saunders
953eec4e40 Enable r_useScissor to be changed for bake* operations on multiplayer maps
(cherry picked from commit 8552611d723595e56c4ba9ae7e04ca830ddf6639)
2024-01-19 23:16:19 -05:00
Stephen Saunders
7d67082a10 Fix clang compile failure in GuiModel: use static_cast<short> in initializer list 2023-12-28 09:32:06 -05:00
Stephen Saunders
6e2c637578 valgrind: Fix uninitialized variables in debug tools - ImmediateMode and Optick 2023-12-28 09:29:47 -05:00
Robert Beckebans
59940e7037 Got rid of NVRHI depth-stencil is read-only warnings. Closes #760 2023-12-26 15:33:02 +01:00
Stephen Saunders
2726e6ae29 Respect binary file row pitch for reading and uploading DXT1/DXT5 compressed mip images 2023-12-26 13:15:32 +01:00
Stephen Saunders
ad046923f5 VertexCache: enforce cache alignment without read beyond buffer boundary during allocation and update 2023-12-26 13:15:32 +01:00
Stephen Saunders
341b90bc05 Allocate correct memory size for FMT_DXT1 / FMT_DXT5 compressed images, fully init renderEntity_t in ReadFromDemoFile() 2023-12-26 13:15:32 +01:00
Stephen Saunders
e0fe1b8bed Properly init / shutdown device manager (all platforms) and SDL (non-windows) to avoid leaks 2023-12-26 13:15:32 +01:00
Stephen Saunders
8867e865e0 valgrind: fix undefined variables/warnings and a few more memory leaks on quit 2023-12-26 13:15:29 +01:00
Stephen Saunders
a7ef79ecb1 Fix leaks on quit: Free verts / indexes for basic surface triangles and shutdown SDL via SDL_Quit() 2023-12-26 13:14:59 +01:00
Stephen Saunders
04c638fb28 Fix a few remaining leaks in idFont, SWF Scripts, and idTrigger_Touch 2023-12-26 13:14:59 +01:00
Stephen Saunders
cb209718be Fix lightGridPoints and demo entity joints memory leaks 2023-12-26 13:14:59 +01:00
Stephen Saunders
fe411ba3b5 Fix a bunch of memory leaks throughout codebase 2023-12-26 13:14:58 +01:00
Robert Beckebans
a00d6dc9d9 Possible crashfix for D3HDP #822 2023-10-30 22:41:23 +01:00
Robert Beckebans
8c464de83d Fixed scissor clipping issues of regular surfaces like light flares #651 2023-10-30 21:38:02 +01:00
Robert Beckebans
80ca705d8d Removed unimplemented renderer passes 2023-10-18 13:39:06 +02:00
Robert Beckebans
f408fcad38 Fixed Imgui and light scissor clipping issues. Closes #651 2023-10-18 13:39:06 +02:00
Robert Beckebans
6f98740772 Fallback to material stages for GetEditorImage() 2023-10-18 13:39:06 +02:00
Robert Beckebans
eb2d963784 Wrote simple exportMaterialsToBlender command 2023-10-18 13:39:06 +02:00
Robert Beckebans
c6ae88310f Always draw the console after Imgui 2023-10-18 13:39:06 +02:00
Robert Beckebans
b04705c594 Changed _currentRender back to RGBA16F 2023-10-18 13:06:14 +02:00
Stephen Pridham
251c879483 Move commonPasses back to private 2023-10-17 19:11:42 -04:00
Stephen Pridham
693883a737 Fix fullscreen fx 2023-10-17 18:01:35 -04:00
Robert Beckebans
047dd46d9e Merge remote-tracking branch 'SRSaunders/clang-warnings-fixes' 2023-07-14 11:30:13 +02:00
Robert Beckebans
33615ef541 Merge remote-tracking branch 'SRSaunders/optick-vulkan' 2023-07-14 09:44:55 +02:00
Stephen Saunders
c0e6c7a5dd Fix MSVC warnings for RBDoom3BFG, suppress for some third party source libs (jpeg, png, oggvorbis) 2023-06-23 16:30:48 -04:00
Stephen Saunders
4110dc1f05 Remove unneeded references to com_smp cvar 2023-06-20 22:04:11 -04:00
Stephen Saunders
52dd6193bf Replace sprintf() / vsprintf() with idStr::snPrintf() / idStr::vsnPrintf() for buffer security 2023-06-20 12:24:24 -04:00
Stephen Saunders
5ff88fdfd0 Fix Doom Classic crashes on exit and/or quit 2023-06-15 15:13:52 -04:00
Robert Beckebans
387c10ee52 Fixed crash in Delta Labs Sector 3 with Vulkan on Linux (Radeon RX 6700) 2023-05-23 17:50:25 +02:00
Stephen Saunders
0b510de3e9 Update RenderBackend to select OPTICK_GPU_CONTEXT graphics API at runtime 2023-05-12 03:01:11 -04:00
Stephen Saunders
d9d721a73e Add Optick for Vulkan, remove need for USE_OPTICK_GPU, fix calls to OPTICK_SHUTDOWN() 2023-05-04 22:51:30 -04:00
Robert Beckebans
f07d8881b2 Find bone of selected armature if -transfermotion is given 2023-04-18 21:09:10 +02:00
Robert Beckebans
d5473c51f1 Added glTF2 import option -nomikktspace 2023-04-13 21:49:39 +02:00
Robert Beckebans
097995d21a Fixed crash and made the -rotate [yaw] glTF2 import option functional 2023-04-13 21:31:34 +02:00
Robert Beckebans
52acc84901 [glTF2] Fetch all skinned for selected rig 2023-04-12 18:43:26 +02:00
Robert Beckebans
d1d04d70da Fixed support for static glTF2 models 2023-04-12 14:09:21 +02:00
Robert Beckebans
9e927137c6 Use FindModelRoot() in idRenderModelGLTF::GetAnimBin() 2023-04-12 12:56:01 +02:00
Robert Beckebans
00b27d3141 Extended FindModelRoot logic 2023-04-10 17:17:28 +02:00
Robert Beckebans
c67a1b4379 Added glTF2 code comments 2023-04-09 20:51:01 +02:00
Robert Beckebans
f2739e4abc Fixed bone hierarchy when -addorigin is used 2023-04-09 20:41:18 +02:00
Robert Beckebans
114dbcd2c3 Some fixes to get the xaero.glb loading. Still broken 2023-04-09 17:24:52 +02:00
Robert Beckebans
0ca9d755a1 Fixed glTF2 root node lookup 2023-04-08 18:47:27 +02:00
HarrievG
a8703607d3 + bug fixes for animated gltf models
+ crude attempt to support translation animations on armature bone

# Conflicts:
#	neo/renderer/Model_gltf.cpp
2023-04-08 15:25:18 +02:00
Robert Beckebans
bc5b4d97e9 Made idRenderModelGLTF::rootID private 2023-04-08 15:17:07 +02:00
Robert Beckebans
d2115c1a07 Cleanup, indented comments 2023-04-06 15:44:07 +02:00
Robert Beckebans
033282f8d6 Avoid copy constructor in glTF library 2023-04-04 22:36:46 +02:00
HarrievG
41a0c9a310 - Fixed loading gltf models with multiple skinned meshes
- All skeletons wil now automatically use the armature node as root bone. In gltfs with a single armature you can name the armature "origin". You can also rename the armature node on import with -rename "armature" "origin".
2023-04-04 22:36:46 +02:00