1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-06-27 23:14:05 +00:00
GLideN64/src/GLideNHQ
2022-03-25 10:29:16 -04:00
..
inc Update pnglib and zlib headers. 2017-10-01 18:30:20 +07:00
lib Update VisualStudio project files. 2017-09-30 19:00:11 +07:00
CMakeLists.txt src/GLideNHQ/CMakeLists.txt: Bump cmake version 2021-11-30 11:18:09 +07:00
gpl-2.0.txt Move all sources to src folder. 2015-05-13 10:21:32 +06:00
README.txt Move all sources to src folder. 2015-05-13 10:21:32 +06:00
TextureFilters_2xsai.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
TextureFilters_2xsai.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
TextureFilters_hq2x.cpp Fix Uninitialized variable use in lq2xS_32_def 2016-11-22 12:26:52 +07:00
TextureFilters_hq2x.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
TextureFilters_hq4x.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
TextureFilters_hq4x.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
TextureFilters_lq2x.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
TextureFilters_xbrz.cpp Fix debug build on Linux 2016-11-08 13:34:55 -07:00
TextureFilters_xbrz.h Update xBRZ texture filter to version 1.4 2015-08-17 15:37:15 +06:00
TextureFilters.cpp Minor correction in filter_8888: check that buffers not NULL. 2016-12-15 23:15:48 +07:00
TextureFilters.h Rewrite buffers allocation for DePosterize. 2016-12-15 18:02:17 +07:00
TxCache.cpp Merge branch 'master' into master 2022-03-25 01:52:05 -04:00
TxCache.h bf 2022-03-25 02:06:43 -04:00
TxDbg.cpp disabled txdbg logging 2022-03-25 10:29:16 -04:00
TxDbg.h GLideNHQ: cleanup 2021-10-24 18:43:26 +07:00
TxFilter.cpp Add support for HD textures, which have the same checksum but different format or size. 2022-02-14 18:12:14 +07:00
TxFilter.h Add support for HD textures, which have the same checksum but different format or size. 2022-02-14 18:12:14 +07:00
TxFilterExport.cpp Add support for HD textures, which have the same checksum but different format or size. 2022-02-14 18:12:14 +07:00
TxFilterExport.h Code refactor: get rid of Windows macro min and max. 2022-02-20 11:16:49 +07:00
TxHiResCache.cpp Add support for HD textures, which have the same checksum but different format or size. 2022-02-14 18:12:14 +07:00
TxHiResCache.h Add support for HD textures, which have the same checksum but different format or size. 2022-02-14 18:12:14 +07:00
TxHiResLoader.cpp Add support for HD textures, which have the same checksum but different format or size. 2022-02-14 18:12:14 +07:00
TxHiResLoader.h Add support for HD textures, which have the same checksum but different format or size. 2022-02-14 18:12:14 +07:00
TxHiResNoCache.cpp Fix Vs2015 compile issues (#2665) 2022-03-04 18:35:29 +07:00
TxHiResNoCache.h Add support for HD textures, which have the same checksum but different format or size. 2022-02-14 18:12:14 +07:00
TxImage.cpp GLideNHQ: remove unsupported dds code 2021-09-07 20:42:04 +07:00
TxImage.h GLideNHQ: remove unsupported dds code 2021-09-07 20:42:04 +07:00
TxInternal.h Rename txWidestringWrapper.h to txWidestringHelper.h 2021-10-24 18:44:16 +07:00
TxQuantize.cpp GLideNHQ refactor: use graphics::InternalColorFormatParam as type for color format variables. 2018-03-28 12:28:05 +07:00
TxQuantize.h GLideNHQ refactor: use graphics::InternalColorFormatParam as type for color format variables. 2018-03-28 12:28:05 +07:00
TxReSample.cpp Wrapper for std::wstring and wchar_t* strings. 2015-05-28 12:20:21 +06:00
TxReSample.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
TxTexCache.cpp Add support for HD textures, which have the same checksum but different format or size. 2022-02-14 18:12:14 +07:00
TxTexCache.h Add support for HD textures, which have the same checksum but different format or size. 2022-02-14 18:12:14 +07:00
TxUtil.cpp Cleanup 2022-03-04 14:31:04 +01:00
TxUtil.h File stream implementation of TxCache. 2019-09-27 19:33:16 +07:00
txWidestringHelper.h Rename txWidestringWrapper.h to txWidestringHelper.h 2021-10-24 18:44:16 +07:00

/*
 * GlideHQ (Texture enhancer library for Glide64)
 * Version:  1.5
 *
 * Copyright (C) 2007  Hiroshi Morii aka KoolSmoky   All Rights Reserved.
 * Email koolsmoky(at)users.sourceforge.net
 * Web   http://www.3dfxzone.it/koolsmoky
 *
 * this is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * this is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with GNU Make; see the file COPYING.  If not, write to
 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 */

About:
This is a realtime texture enhancer library with hi-resolution texture
pack support for Glide64 (http://glide64.emuxhaven.net). Traditional and
non-traditional techniques have been used to achieve speed and high image
quality even on a 9 year old 3Dfx Voodoo2.

Although the 3Dfx Glide3x texture format naming conventions are used, the
library can be expanded for generic use.

Supported:
OS: 32bit Linux and MS Windows
Enhancers: Hq4x, Hq2x, Hq2xS, Lq2x, Lq2xS, Super2xSai, x2
Filters: Smooth (1,2,3,4), Sharp (1,2)
Compressors: FXT1, S3TC
Input formats:  GR_TEXFMT_ALPHA_8,
                GR_TEXFMT_RGB_565,
                GR_TEXFMT_ARGB_1555,
                GR_TEXFMT_ARGB_4444,
                GR_TEXFMT_ARGB_8888,
                GR_TEXFMT_ALPHA_INTENSITY_44,
                GR_TEXFMT_ALPHA_INTENSITY_88
Output formats: Same as input unless compression or hires packs are used.
Hires texture packs: Rice format (Jabo and GlideHQ format coming later)

Acknowledgments:
I hope you enjoy GlideHQ (texture enhancer library for Glide64). Greatest
thanks to Gonetz for making this happen in his busy time. We've rushed
everything to share the eye-candy with all of you N64 emulation fans. I
would also like to thank a great friend of mine, Daniel Borca for providing
the texture compression code, Maxim Stepin (hq2x 4x), and Derek Liauw Kie Fa
(2xSaI) for the filtering engines, Rice for his N64 graphics plugin source
code, and Mudlord for the hq2xS lq2xS code. GlideHQ also uses the boost C++
libraries, zlib general purpose compression library, and the Portable Network
Graphics library. Thanks to all the developers for making them available. And
special thanks to the Glide64 beta testing crew. Without their feedbacks
this library would not have seen daylight. Thank you all.

The source code for GlideHQ is released in hopes that it will be improved.
I know the coding is not on par after so much late night caffeine boosts.
If you have suggestions or modifications, please feel free to post them on
the Glide64 forum at emuxhaven.

Porting the library to other platforms should not be so hard. The coding is
done with cross platform compatibility in mind and will build with GCC and
GNU make. Currently supported are 32bit Linux and MS Windows.

If you are looking for driver updates for your 3Dfx Interactive Inc. gfx 
card, grab them from the forums at http://www.3dfxzone.it/enboard/
Unbelievable as it seems, drivers are still being updated after 6 years
from 3Dfx's demise.

I know N64 rules, anyone up for PSX? :))

-KoolSmoky

References:
[1] R.W. Floyd & L. Steinberg, An adaptive algorithm for spatial grey scale,
    Proceedings of the Society of Information Display 17, pp75-77, 1976
[2] Ken Turkowski, Filters for Common Resampling Tasks, Apple Computer 1990
    http://www.worldserver.com/turk/computergraphics/ResamplingFilters.pdf
[3] Don P. Mitchell and Arun N. Netravali, Reconstruction Filters in Computer
    Graphics, SIGGRAPH '88, Proceedings of the 15th annual conference on
    Computer graphics and interactive techniques, pp221-228, 1988
[4] J. F. Kaiser and W. A. Reed, Data smoothing using low-pass digital
    filters, Rev. Sci. instrum. 48 (11), pp1447-1457, 1977
[5] Maxim Stepin, hq4x Magnification Filter, http://www.hiend3d.com/hq4x.html
[6] Derek Liauw Kie Fa, 2xSaI, http://elektron.its.tudelft.nl/~dalikifa
[7] Dirk Stevens, Eagle engine http://www.retrofx.com/rfxtech.html
[8] 3DFX_texture_compression_FXT1 and EXT_texture_compression_s3tc extension
    specs from the OpenGL Extension Registry. http://oss.sgi.com/projects/
    ogl-sample/registry/