Commit graph

319 commits

Author SHA1 Message Date
Stephen Saunders
dd17edbdc1 Simplify OPTICK_THREAD() instrumentation and fix scope for common_frame 2023-12-28 09:41:18 -05:00
Stephen Saunders
2335326a6b Revert changes to idPolynomial, add ~idPolynomial() destructor to fix leak properly 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
08be7a35f9 Duplicating lights with Ctrl+D works now 2023-12-10 17:00:07 +01:00
Robert Beckebans
288852224a convertMapToValve220 removes light flares 2023-11-07 21:11:57 +01:00
Robert Beckebans
87e2004634 Added helper entityDefs for TrenchBroom 2023-10-26 01:52:03 +02:00
Robert Beckebans
def152081d Fixed bug in convertMapToValve220 cmd. Added origin brushes 2023-10-18 13:39:07 +02:00
Robert Beckebans
a51833e4ed Applied astyle 2023-07-14 11:35:37 +02:00
Robert Beckebans
047dd46d9e Merge remote-tracking branch 'SRSaunders/clang-warnings-fixes' 2023-07-14 11:30:13 +02:00
Stephen Saunders
eef8e1b329 Fix PCH for idlib when using gcc compiler on linux 2023-06-24 01:24:08 -04: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
52dd6193bf Replace sprintf() / vsprintf() with idStr::snPrintf() / idStr::vsnPrintf() for buffer security 2023-06-20 12:24:24 -04:00
HarrievG
ab7fefcadc - Added possibility to use Focal Length / FOV animation with GLTF Camera animations.
- Added blenderPy script which shows howto set lenscurves as a custom prop float array containing all evaluated fov values
- minor cleanup to gltfparser and gltfExtras.
- gltfExtra key value pairs can now contain a bracket enclosed string as value

# Conflicts:
#	neo/idlib/gltfProperties.h
2023-04-29 12:43:54 +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
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
cdce094518 gltf GetNode mesh* fix 2023-04-08 15:25:53 +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
Stephen Saunders
5968997562 Fix Vulkan Vsync mode and handle NUM_FRAME_DATA = 2 or 3 2023-03-24 11:29:40 -04:00
Robert Beckebans
9f305c2399 Removed stencil shadow volumes with additional fixes by icecoldduke 2023-03-16 20:49:30 +01:00
Robert Beckebans
a6d76a7104 Stencil shadows work but some flicker as bad as in RBDOOM 1.4.0 2023-03-15 12:36:43 +01:00
HarrievG
fd975a8f24 Fixed recursive mesh adding in findEntities for gltf scenes 2023-03-13 19:28:55 +01:00
Robert Beckebans
9121f84559 Started to clean up the renderer removing obsolete Vulkan bits 2023-03-10 17:10:25 +01:00
Robert Beckebans
2ad666adcf NUM_FRAME_DATA cleanup 2023-03-06 20:31:54 +01:00
SRSaunders
23c3b66c8f
Merge branch 'master' into sync-changes 2023-03-05 09:44:21 -05:00
Stephen Saunders
764469ab31 Revert #if USE_OPTICK wrappers 2023-03-05 09:36:44 -05:00
Robert Beckebans
784c46ebc7 Fixed Optick related compile warnings on Linux #750 2023-03-05 11:03:54 +01:00
Stephen Saunders
76da1beefd Fix compilation errors when Optick profiling is off 2023-03-04 16:39:43 -05:00
Stephen Saunders
f0c61a3f55 Use command queue sync method vs. device sync for higher performance / frame rate 2023-03-04 16:19:39 -05:00
Robert Beckebans
cfd3981409 Fixed the CMake option -DOPTICK=ON/OFF 2023-03-01 16:50:27 +01:00
Robert Beckebans
b3e9c27d74 Display all the common different threads in Optick 2023-03-01 16:20:37 +01:00
Robert Beckebans
a441eccfd0 Super basic Optick profiler integration 2023-02-28 18:00:54 +01:00
Stephen Saunders
3029b80486 Fix posix pthread_yield and readdir_r deprecations on linux 2023-02-16 00:06:43 -05:00
Stephen Saunders
421160087d Integrate the AMD Vma allocator for images and buffer objects 2023-02-13 19:06:41 -05:00
Robert Beckebans
7a4c56e105 Merge remote-tracking branch 'SRSaunders/basepath-sdl-fixes' 2023-01-18 09:48:04 +01: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
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
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
e5ec631caf [+] Allowing binding of asset library instances in gltf scenes. 2022-12-22 15:27:16 +01:00
Robert Beckebans
37127cde0e Merge branch 'master' into 635-nvrhi4 2022-11-18 16:51:40 +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
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