1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00
Commit Graph

3019 Commits

Author SHA1 Message Date
Sergey Lipskiy
2d712f2ae0 Rewrite textures loading and mapping:
- use RiceVideo method for texture size calculation.
  RiceVideo uses the same method for texture dumping.
- rewrite texture mapping.
  Texture Clamp-Wrap-Mirror implemented in shaders.

Problem explanation:
https://github.com/gonetz/GLideN64/issues/1885#issuecomment-485136358

Fixed various glitches with HD textures, #1885
2019-06-19 19:02:52 +07:00
Sergey Lipskiy
993960f9ea Do not attempt to copy image to RDRAM when copyToRDRAM option set to "Disabled".
Fixed crash when open sub-screen in Zelda MM with copyToRDRAM disabled.
2019-05-22 20:16:10 +07:00
Francisco Zurita
cd76b93000 Fixes crashing in project 64 graphics plugin dialog with release build 2019-04-24 10:49:14 +07:00
Sergey Lipskiy
2d15d2d20a Fix CMakeLists.txt for Raspberry Pi
Patched by 5schatten.

Fixed #1978 [RPi3 | cross compile]
2019-04-23 17:17:34 +07:00
Francisco Zurita
c06c593eba Improve logging information 2019-04-23 11:15:41 +07:00
Sergey Lipskiy
8debfdb81c Correct GLES2 version of mip-map shader. 2019-04-22 21:45:11 +07:00
Francisco Zurita
8f26645407 Fix crash with GL_DEBUG enabled with mupen64plus API
Also, fix compiler warning
2019-04-15 09:09:39 +07:00
Sergey Lipskiy
a221db45cd Switch Travis from Trusty to Xenial. 2019-04-12 17:01:10 +07:00
Francisco Zurita
92bcbe5981 Fix issues with threaded OpenGL when debug is enabled 2019-04-10 12:55:09 +07:00
Sergey Lipskiy
c6deb8f7e1 Add _SCL_SECURE_NO_WARNINGS to PreprocessorDefinitions.
Fixed warnings about std::copy_n.
2019-04-09 17:58:22 +07:00
fzurita
5df3f9dbac Threaded GLideN64 calls 2019-04-08 10:51:18 +07:00
Sergey Lipskiy
ae025e10ea Update link to WIP builds in README.md 2019-04-07 17:15:47 +07:00
Sergey Lipskiy
3d74542d24 Correct geometry mode update for Turbo3D.
Fixed glitches in Dark Rift, #2033
2019-04-03 21:32:50 +07:00
Sergey Lipskiy
1eea6d4452 Update "About:Contributors" 2019-04-01 17:09:49 +07:00
Sergey Lipskiy
2b95e56db4 Remove info about blur shader from "About:Credits" form since the shader is not used anymore. 2019-04-01 16:53:18 +07:00
Sergey Lipskiy
7f5f6256f3 Apply gamma correction to text drawer textures.
Fixed #2030 : Font rasteriser doesn't perform gamma correction

Thanks Clownacy for the idea.
2019-04-01 16:30:36 +07:00
Sergey Lipskiy
c57909e2e9 Reset gSP.geometryMode at display list load and display list end.
Fixed culling issue in Triple Play 2000.
2019-04-01 15:21:08 +07:00
Sergey Lipskiy
07f3e2a16b Add custom setting for Turok - Dinosaur Hunter. 2019-03-30 19:05:57 +07:00
Sergey Lipskiy
777a5fbcdf Add custom setting for Top Gear Rally 2 2019-03-30 17:32:07 +07:00
Sergey Lipskiy
ef5907bbb9 Add custom setting for Rush 2 - Extreme Racing. 2019-03-30 11:54:21 +07:00
Sergey Lipskiy
abf7a7ae63 Add custom setting for Olympic Hockey Nagano '98, #2028 2019-03-26 20:53:30 +07:00
Sergey Lipskiy
3e552f4214 GUI: set max MSAA level to 16x. 2019-03-26 16:27:32 +07:00
Sergey Lipskiy
e91a767b82 GUI: add tooltips for anti-aliasing controls. 2019-03-26 16:24:25 +07:00
Sergey Lipskiy
36078a0501 Add custom setting for Jikkyou World Soccer 3 (J). 2019-03-24 12:21:07 +07:00
Sergey Lipskiy
1d3077f972 Add custom setting for Human Grand Prix - New Generation (J). 2019-03-23 19:05:23 +07:00
Sergey Lipskiy
af63737012 Avoid division by zero in ObjCoordinates ctor due to wrong data in _pObjSprite.
Fixed crash in Glover 2 intro.
2019-03-23 18:11:07 +07:00
Sergey Lipskiy
fc96b78542 Fix load of 4bit CI textures when TLUT mode is off. Correction for commit 98960950
Fixed color of the glove in Doubutsu no Mori sub-screen.
2019-03-23 12:37:38 +07:00
Sergey Lipskiy
751fe2b3fa Convert fix for StarCraft 64 from commit 729bf94c5 to StarCraft specific hack,
because that case is actual for StarCraft 64 only.
2019-03-23 12:33:04 +07:00
Sergey Lipskiy
404955af6b Add custom settings for Donkey Kong 64.
Fixed #2026 Unable to photograph Gloomy Galleon Fairy - Donkey Kong 64
2019-03-19 10:32:06 +07:00
Sergey Lipskiy
03022db791 Check that RDRAM area is writable before writing buffer data into it.
Fixed Problem with Project64's protect memory option #764
2019-03-16 18:37:05 +07:00
Sergey Lipskiy
2ac29acf29 Add '#pragma once' to CRC.h 2019-03-15 16:56:50 +07:00
Sergey Lipskiy
4e124fda53 Remove CRC32.h from VisualStudio project files. 2019-03-15 15:47:25 +07:00
Sergey Lipskiy
3d11a21a40 Correct GraphicsDrawer::isRejected.
According to manual, ClipRatio must be at least 2.

Fixed #2023, Chou Kuukan Nighter Pro Yakyuu King 2 (J) missing polygons in HLE
2019-03-13 18:29:21 +07:00
Sergey Lipskiy
4456d09b51 Add custom settings for Mario Paint Studio, task #2024 2019-03-11 22:34:39 +07:00
Sergey Lipskiy
f31131c9e4 Add custom settings for Mario Artist Talent Studio, task #2025 2019-03-11 22:29:18 +07:00
Sergey Lipskiy
6041b47271 Fix Insert Matrix moveword command.
Fixed Sim City 64 HLE City Rendering Issue #1200
2019-03-11 22:10:28 +07:00
Sergey Lipskiy
d12f9fe5ec Add Appveyor yaml script. 2019-03-10 21:36:14 +07:00
Sergey Lipskiy
76a56b4273 Fix gSPModifyVertex for Z coordinate.
Fixed gasp: wrong depth in menu #2019
2019-03-07 12:09:26 +07:00
Sergey Lipskiy
989609505c Fix load of 4bit CI textures when TLUT mode is off.
Fixed Goemon - Mononoke Sugoroku: wrong gfx #1892
2019-03-06 18:36:40 +07:00
Sergey Lipskiy
e13a2ffd6b Correct gDPLoadTileInfo bytes calculation for 32bit textures.
Fixed ready 2 rumble 2 : wrong gfx in intro #2021
2019-03-05 16:06:26 +07:00
Sergey Lipskiy
04736b44c5 Add custom setting for California Speed. 2019-03-03 16:35:46 +07:00
Sergey Lipskiy
96ccfc63af Correct mip-map shader: lod could be larger than actual number of levels in mip-map texture.
Fixed mip-mapped textures in Automobili Lamborghini with 3point filtering enabled.
2019-03-03 15:17:52 +07:00
Sergey Lipskiy
3704b37c3e Fix some of PVS-Studio warnings. 2019-03-03 11:47:10 +07:00
Sergey Lipskiy
4a925e1490 Add simple check for absolute paths to texture filter folders.
Relative path is not supported and must be substituted by default one.
2019-02-28 13:31:11 +07:00
Sergey Lipskiy
08e15767a6 Fix copy-paste errors in TextureFilterHandler::init()
Fixed build of default paths to texture filter folders
2019-02-28 12:30:46 +07:00
Sergey Lipskiy
f55283e32f Fix CRC calculation for mip-mapped textures.
Fixed green smear on mipmaps in Turok, #1558
2019-02-25 15:44:56 +07:00
Sergey Lipskiy
69d608310f Fix compilation warning. 2019-02-25 15:38:20 +07:00
Sergey Lipskiy
19cf24f701 Apply "Disable enhancement for backgrounds" option only for S2DEX background commands.
Related to Ocarina of time - Temple of time issue #1984
2019-02-24 19:47:28 +07:00
Sergey Lipskiy
b0380e0a04 Increase log level for VI warnings. Users should not see them. 2019-02-24 18:56:30 +07:00
Sergey Lipskiy
ea27c6bd21 Correct code, which forces OnePiece mode for backgrounds.
Code cleanup.

Fixed STARCRAFT 64: does not work with one piece option #2013
2019-02-24 18:42:56 +07:00