Commit graph

345 commits

Author SHA1 Message Date
Robert Beckebans
025627b155 Backported SMAA and TAA bugfixes from openvr3 branch 2024-11-26 21:18:42 +01:00
SRSaunders
fb8d82c56b Fix linux/macOS PCH builds for cmake policy versions > 3.2 2024-09-08 16:34:41 -04:00
Robert Beckebans
036318e94e Fixed glTF normals when transforms have not been applied in Blender. close #929 2024-09-04 21:37:46 +02:00
Robert Beckebans
1e2b1be338 Copied CullingThreadPool to renderer for making an id Tech 5 version 2024-09-02 21:00:01 +02:00
Robert Beckebans
b889c56e92 Raster triangles faster at the expense of memory 2024-08-30 16:41:32 +02:00
Robert Beckebans
fcf363ee47 Fixed a few bugs in the convertMapQuakeToDoom command 2024-08-30 14:27:19 +02:00
Robert Beckebans
747878eee1 Indented USE_PRECOMPILED_HEADERS blocks 2024-08-27 13:06:22 +02:00
Robert Beckebans
91351f8833 Astyle 2024-08-11 22:01:11 +02:00
Gianfranco Costamagna
ea567131e9 DataQueue.h
also check for b1 being NULL
2024-08-02 15:44:43 +02:00
Gianfranco Costamagna
53310744ce
Update DataQueue.h to fix a build failure in Append method
This is a quick and dirty fix for this gcc-13 build failure on ppc64el with -O3 optimization level:


/usr/bin/g++-13 -DCPUSTRING=\"ppc64el\" -DUSE_DOOMCLASSIC -DUSE_EXCEPTIONS -DUSE_FFMPEG -DUSE_NEWER_JPEG -DUSE_OPENAL -D__DOOM__ -I/usr/include/imgui -I/usr/include/stb -I/<<PKGBUILDDIR>>/neo/. -I/<<PKGBUILDDIR>>/neo/idlib -isystem /usr/include/SDL2 -g -O3 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/rbdoom3bfg-1.4.0+dfsg-3ubuntu2 -Wdate-time -D_FORTIFY_SOURCE=3  -std=c++11   -pipe -Werror=format-security -Werror=format -Wno-pragmas -Wno-unused-variable -Wno-switch -Wno-unused-value -Winvalid-pch -Wno-multichar -fno-strict-aliasing -MD -MT CMakeFiles/rbdoom3bfg.dir/sys/Snapshot_Jobs.cpp.o -MF CMakeFiles/rbdoom3bfg.dir/sys/Snapshot_Jobs.cpp.o.d -o CMakeFiles/rbdoom3bfg.dir/sys/Snapshot_Jobs.cpp.o -c /<<PKGBUILDDIR>>/neo/sys/Snapshot_Jobs.cpp
In file included from /usr/include/string.h:548,
                 from /<<PKGBUILDDIR>>/neo/idlib/sys/sys_includes.h:141,
                 from /<<PKGBUILDDIR>>/neo/idlib/precompiled.h:34,
                 from /<<PKGBUILDDIR>>/neo/sys/PacketProcessor.cpp:29:
In function ‘memcpy’,
    inlined from ‘idDataQueue<64, 8000>::Append(int, unsigned char const*, int, unsigned char const*, int)’ at /<<PKGBUILDDIR>>/neo/idlib/../idlib/DataQueue.h:112:8,
    inlined from ‘idPacketProcessor::VerifyEmptyReliableQueue(unsigned char, unsigned char)’ at /<<PKGBUILDDIR>>/neo/sys/PacketProcessor.cpp:660:16:
/usr/include/powerpc64le-linux-gnu/bits/string_fortified.h:29:33: error: argument 2 null where non-null expected [-Werror=nonnull]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/powerpc64le-linux-gnu/bits/string_fortified.h:29:33: note: in a call to built-in function ‘__memcpy_chk’
cc1plus: some warnings being treated as errors
2024-08-01 08:17:34 +02:00
Robert Beckebans
5060bc8047 Extended listCvars with -new option to show all RBDoom related cvars 2024-07-10 20:33:20 +02:00
Robert Beckebans
440368c996 Added back .pk4 support but only for paks without a dll inside 2024-06-26 20:47:05 +02:00
Robert Beckebans
c5e5cfeae7 Drastic dmap speed boost by reducing prints like in q3map 2024-06-21 18:01:12 +02:00
Robert Beckebans
526e097257 Merge branch 'master' into 841-makeMaterials-command 2024-06-13 21:28:16 +02:00
Robert Beckebans
d91b94d6b2 Extended makeMaterials command 2024-06-13 21:28:12 +02:00
Karin
d1c63f8821
Linux arm 32bits compile 2024-05-30 20:27:52 +08:00
Robert Beckebans
f2acbbabde Introduced idLight::modelTarget key for TrenchBroom light group setup 2024-05-16 21:00:44 +02:00
Robert Beckebans
729013311d Killed remnants of renderLight precalculated shadowvolume models 2024-05-13 23:11:02 +02:00
Robert Beckebans
985d73697a Don't mess up material names when loading patches from valve 220 format 2024-05-11 21:29:43 +02:00
Robert Beckebans
ca012ce843 Changed important console cmds to CONSOLE_COMMAND_SHIP for new ModDB builds 2024-05-11 20:42:22 +02:00
Robert Beckebans
a4558ff5b8 Optimized convertMapToValve220 output with sane 3 point plane definitions 2024-05-11 18:13:26 +02:00
Robert Beckebans
9ee8f94390 Fixed leaking problems when converting a map to valve 220 format 2024-05-11 14:17:18 +02:00
Robert Beckebans
41f8a22f23 Split lights with brushes/patches into light groups for TrenchBroom #825 2024-05-10 21:34:49 +02:00
Robert Beckebans
117b41c0a4 Support linked group instances by TrenchBroom. close #700 2024-05-01 11:11:03 +02:00
Robert Beckebans
f8a5329ea8 Read Blender lights directly through the KHR_lights_punctual glTF extension 2024-04-24 15:46:03 +02:00
Robert Beckebans
4c9c242808 Killed hard to maintain renderdemo code 2024-03-22 09:01:23 +01:00
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