Robert Beckebans
b9669d3788
Updated VMA library to newest stable 3.1.0 version
2024-10-23 12:19:03 +02:00
Robert Beckebans
eca0544339
Render MOC faster at half res like in Avalanche Engine
2024-10-18 18:23:16 +02:00
Robert Beckebans
ca3f8cd183
Interpolate env_probes over 2 seconds when running into new triangle set
2024-10-17 21:53:19 +02:00
Robert Beckebans
05a564228a
Yet another env_probe interpolation idea
2024-10-15 22:30:47 +02:00
Robert Beckebans
590cc61c24
Better env_probe interpolation when triangles form a line
2024-10-15 20:38:09 +02:00
Robert Beckebans
9a99185fe9
Renamed ENGINE_BRANCH back to master
2024-10-12 12:00:51 +02:00
Robert Beckebans
1056b50103
Fixed some light flickering when MOC is enabled
2024-10-11 16:12:27 +02:00
Robert Beckebans
b05d296fb6
Bumped GLMB_MAGIC and BRM_MAGIC to save the MOC per model data
2024-10-11 15:34:29 +02:00
Robert Beckebans
1dde25ac28
Merge branch '756-masked-software-occlusion-culling-optimized2' of github.com:RobertBeckebans/RBDOOM-3-BFG into 756-masked-software-occlusion-culling-optimized2
2024-10-11 13:53:16 +02:00
Robert Beckebans
5f1a5db3df
Deleted renderer/CullingThreadpool.cpp, we stick to the single threaded solution for now
2024-10-11 13:53:12 +02:00
Robert Beckebans
cbee44b5f8
Revert "Copied MaskedOcclusionCulling.h to renderer for USE_INTRINSICS_SSE=OFF (arm64 builds)"
...
This reverts commit d7165b175d
.
2024-10-11 13:48:37 +02:00
Robert Beckebans
4f05177682
Remove the .gch files when running cmake-linux*.sh
2024-09-10 18:34:39 +02:00
SRSaunders
d7165b175d
Copied MaskedOcclusionCulling.h to renderer for USE_INTRINSICS_SSE=OFF (arm64 builds)
2024-09-08 23:20:27 -04:00
SRSaunders
f1ce7a787d
Win/Linux/macOS: Update MOC cpuidex() and xgetbv() defs for cross-platform portability
2024-09-08 20:30:48 -04:00
SRSaunders
666f554c31
Consolidate USE_PRECOMPILED_HEADERS sections in CMakeLists.txt
2024-09-08 20:27:34 -04:00
SRSaunders
fb8d82c56b
Fix linux/macOS PCH builds for cmake policy versions > 3.2
2024-09-08 16:34:41 -04:00
Robert Beckebans
6f19bff3cf
Wrote some debug code for capturing env probes
2024-09-04 23:04:20 +02: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
dc7b80aead
Added material textures/common/occlusion
2024-09-03 21:43:13 +02:00
Robert Beckebans
6c00d6bcdd
Only draw BSP surfs/patches to masked buffer to reduce tris
2024-09-02 23:14:08 +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
abff15168b
Round moc buffer width and height
2024-08-30 21:06:40 +02:00
Robert Beckebans
b3a22ffc7e
Some MOC multithreaded code, not working
2024-08-30 18:41:03 +02:00
Robert Beckebans
b889c56e92
Raster triangles faster at the expense of memory
2024-08-30 16:41:32 +02:00
Robert Beckebans
4be1312188
Formatted MOC code
2024-08-30 14:44:06 +02:00
Robert Beckebans
fcf363ee47
Fixed a few bugs in the convertMapQuakeToDoom command
2024-08-30 14:27:19 +02:00
Robert Beckebans
09224febca
Show masked occlusion time with com_showFPS 3
2024-08-28 21:43:19 +02:00
Robert Beckebans
529beb5095
Changed branch name to Masked Software Occlusion Culling
2024-08-28 21:29:33 +02:00
Robert Beckebans
8a57cf210a
Increased vertex cache limits for TSM mod #918 #660
2024-08-28 21:26:43 +02:00
Robert Beckebans
06c6dd0e4a
Fixed viewInsideSurface check which caused much flickering
2024-08-27 23:01:08 +02:00
Robert Beckebans
d747be22d6
Fixed compiling MOC on Linux
2024-08-27 14:01:34 +02:00
Robert Beckebans
d34eaf0b09
Fixed compiling on Linux without MOC
2024-08-27 13:28:43 +02:00
Robert Beckebans
0921667151
Merge branch 'master' into 756-masked-software-occlusion-culling
2024-08-27 13:10:45 +02:00
Robert Beckebans
747878eee1
Indented USE_PRECOMPILED_HEADERS blocks
2024-08-27 13:06:22 +02:00
Robert Beckebans
59c309cd65
Merge branch 'master' into 756-masked-software-occlusion-culling
2024-08-27 11:58:07 +02:00
Robert Beckebans
c4e39bdc1c
Skip Masked Occlusion Culling on non-SSE2 CPUs
2024-08-27 11:41:39 +02:00
Stephen Saunders
1a2f19b6ad
rbdmap for win32: Suppress warnings from imtui / imgui / pdcurses / wincon third-party source libraries
2024-08-26 18:39:46 -04:00
SRSaunders
79ab0b63e6
rbdmap for linux/posix: Replace deprecated readdir_r() with readdir() to eliminate warnings
2024-08-26 17:17:44 -04:00
SRSaunders
5c8881c7cb
rbdmap: Suppress warnings from zlib and minizip third-party source libraries
2024-08-26 17:17:44 -04:00
SRSaunders
387c4a18e5
Fix rbdmap / idlib PCH mismatch and cleanup rbdmap PCH files after build
2024-08-26 17:17:44 -04:00
Robert Beckebans
930c968fa9
Turn off occlusion culling for mirrors and subviews
2024-08-26 22:58:59 +02:00
Robert Beckebans
a7d1d7f72e
All lights can be culled now
2024-08-26 22:36:58 +02:00
Robert Beckebans
e121472661
Point lights can be culled. #756
2024-08-26 10:26:40 +02:00
Robert Beckebans
5107d12cc5
Don't cull objects that we run into
2024-08-22 23:19:59 +02:00
Robert Beckebans
fc6c1fef7a
Query only draw surface boxes with MOC
2024-08-22 22:05:47 +02:00
Robert Beckebans
dba7404eff
Don't let TAA mess with masked culling
2024-08-22 00:24:17 +02:00
Robert Beckebans
1fda97ec25
Masked Software Occlusion Culling kinda works
2024-08-22 00:05:04 +02:00
Robert Beckebans
9e919c8d76
Added Masked Software Occlusion Culling lib by Intel
2024-08-21 18:39:52 +02:00
SRSaunders
4d34957f65
Respect basePath parameter vs hardcoded path in R_WritePNG()
2024-08-20 21:57:56 -04:00
Robert Beckebans
b66a4d1838
Merge branch '761-psx-rendermode'
2024-08-17 22:29:08 +02:00
Robert Beckebans
aa8ca629ea
Renamed Easymode in menu to Advanced
2024-08-17 22:25:25 +02:00
Robert Beckebans
dbddb347f7
Fixed PSX vertex jiggle in hell sky
2024-08-17 19:05:12 +02:00
Robert Beckebans
ab589eb5ef
PSX affine texture mapping
2024-08-17 18:37:50 +02:00
Robert Beckebans
91351f8833
Astyle
2024-08-11 22:01:11 +02:00
Robert Beckebans
25e2208f68
Ported advanced CRT shader by whkrmrgks0
2024-08-07 22:35:16 +02:00
Robert Beckebans
e66754b7f3
Easymode CRT looks like the games on my TV in the 90s
2024-08-05 22:59:28 +02:00
Robert Beckebans
802075fdf6
Merge pull request #923 from SRSaunders/zlib-warnings
...
Suppress clang deprecated-non-prototype warnings for ZLIB sources
2024-08-05 17:33:05 +02:00
Robert Beckebans
c78f16c0dc
Merge pull request #919 from SRSaunders/mvk-arg-buffers
...
macOS: Fix compile failure when configuring metal argument buffers with MoltenVK >= 1.2.10
2024-08-05 17:29:59 +02:00
SRSaunders
9a3d78ca01
Suppress clang deprecated-non-prototype warnings for ZLIB sources
2024-08-05 11:09:37 -04:00
SRSaunders
3eb260a809
macOS: Add CVAR_NEW tag to r_mvk* cvar declarations
2024-08-03 12:37:29 -04:00
SRSaunders
4c79e21bbc
macOS: Fix compile failure when configuring metal argument buffers with MoltenVK >= 1.2.10
2024-08-03 12:13:00 -04:00
Robert Beckebans
885bf8d7c0
Combined easymode CRT with a NTSC signal
2024-08-02 17:30:01 +02:00
Gianfranco Costamagna
ea567131e9
DataQueue.h
...
also check for b1 being NULL
2024-08-02 15:44:43 +02:00
Robert Beckebans
e14d6d595c
Ported RetroArch Aperture CRT shader but not much better than Easymode
2024-08-01 21:05:50 +02:00
Robert Beckebans
cef666f2fd
Easymode CRT shader works correctly
2024-08-01 17:23:07 +02:00
Robert Beckebans
a4de5a1350
Tweaked CRT shaders
2024-08-01 16:20:47 +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
00a4a4067b
Got Easymode CRT working but it looks bad
2024-08-01 00:40:44 +02:00
Robert Beckebans
fe959aa03a
Ported RetroArch Easymode CRT shader WIP
2024-07-31 23:52:01 +02:00
Robert Beckebans
21645ee262
Removed SSAO test from CPC shader
2024-07-31 21:30:35 +02:00
Robert Beckebans
9fb21205f1
Added 4 color CGA shader
2024-07-31 21:27:36 +02:00
Robert Beckebans
676c970886
Added Gameboy and NES render modes
2024-07-31 18:11:43 +02:00
Robert Beckebans
ea78cf42e3
Store world normals in gbuffer
2024-07-31 17:04:42 +02:00
Robert Beckebans
449f56ab9f
More triplanar shader tests
2024-07-30 23:24:44 +02:00
Robert Beckebans
a3a52c97fe
Some experiments similar to Obra Dinn and fixed old SSAO
2024-07-30 22:01:27 +02:00
Robert Beckebans
cebba26908
Made PSX vertex jitter resolution independent
2024-07-26 17:50:06 +02:00
Robert Beckebans
a41c475ad9
Skip TAA in PSX mode
2024-07-26 14:46:14 +02:00
Robert Beckebans
333bc486d6
Implemented typical PSX style vertex jittering
2024-07-26 14:26:27 +02:00
Robert Beckebans
70846d66ad
Fixed -DUSE_SYSTEM_ZLIB=ON close #913
2024-07-19 17:07:29 +02:00
Robert Beckebans
6b570562f3
FFMPEG=OFF BINKDEC=ON is the new default, easier for Linux
2024-07-19 11:19:04 +02:00
Robert Beckebans
834018c9a4
Fixed missing private polygon offset. Close #754
2024-07-16 21:19:22 +02:00
Robert Beckebans
2b47fb26c1
Added binaryLoadGuis and a few CVAR_NEW flags
2024-07-10 21:06:29 +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
e90f65a835
Fixed gcc compile error. Close #911 #909
2024-07-10 20:06:20 +02:00
Robert Beckebans
a3fb4a0d2c
Added hack to get swf/pda.json running
2024-07-01 23:54:32 +02:00
Robert Beckebans
22cc10123c
Fixed alpha decompression of Flash atlas .bimage files
2024-07-01 23:02:32 +02:00
Robert Beckebans
1639c37ca5
Fixed a couple of bugs regarding Flash JSON reimport
2024-07-01 22:35:27 +02:00
Robert Beckebans
b52d2eece3
Merged some smaller changes and fixes from icedhellfire
2024-06-29 18:02:48 +02:00
Robert Beckebans
578a0517b5
Linux build fixes
2024-06-29 13:08:51 +02:00
Robert Beckebans
8389318e26
Allow skipping intro videos with Escape/Gamepad Start
2024-06-29 12:54:29 +02:00
Robert Beckebans
c3ecc7b808
Refactored FinalizeImage back to ActuallyLoadImage
2024-06-29 10:37:24 +02:00
Robert Beckebans
1759ecb1ed
Show binarization indicator for 2D packed mipchain EXR files
2024-06-28 23:40:14 +02:00
Robert Beckebans
7a94a9c466
Removed never called idDeferredImage code
2024-06-28 22:34:46 +02:00
Robert Beckebans
134f3ec799
Probably fixed VRAM memory leak when reloading maps. #904
2024-06-28 22:26:56 +02:00
Robert Beckebans
5aedf14510
A small loading screen progressbar experiment
2024-06-28 17:43:26 +02:00
Robert Beckebans
c226650c0c
Fixed PBR _rmao lookup hack on the wrong textures. Close #905
2024-06-28 13:48:02 +02:00
Robert Beckebans
504e7f5591
Made classic flashlight single player only
2024-06-28 13:45:07 +02:00
Robert Beckebans
53925f9f31
Fixed compile error with clang
2024-06-27 23:22:02 +02:00
Robert Beckebans
ce68905287
Replaced flashlight shadows option with classic flashlight
2024-06-27 23:12:37 +02:00
Robert Beckebans
d147b7f038
Added classic flashlight from Doom BFA and detection for Doom 2004/2019
2024-06-27 21:05:51 +02:00