Difference between revisions of "User Manual/Appendix: Graphic filters"

From ScummVM :: Wiki
Jump to navigation Jump to search
(New page: == Graphic filters == ScummVM offers several anti-aliasing filters to attempt to improve visual quality. These filters take the original game graphics, and scale it by a certain fixed fac...)
 
(Removes information now contained in the new docs. Leaves Monkey Island screenshot for possible inclusion in new docs.)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Graphic filters ==


ScummVM offers several anti-aliasing filters to attempt to improve visual
quality. These filters take the original game graphics, and scale it by a
certain fixed factor (usually 2x or 3x) before displaying them to you.
So for example, if the game originally ran at a resolution of 320x200
(typical for most of the SCUMM games), then using a filter with a scale
factor of 2x will effectively yield 640x400 graphics. Likewise a
3x filter will give 960x600.


ScummVM uses the following graphic filters:
{|class="wikitable"
|-
! Name
! Factor
! Description
|-
| 1x
| 1x
| No filtering, no scaling, fastest
|-
| 2x
| 2x
| No filtering, simple pixel duplication (default for non 640x480 games)
|-
| 3x
| 3x
| No filtering, simple pixel duplication
|-
| 2xsai
| 2x
| SAI filter
|-
| super2xsai
| 2x
| Enhanced 2xSAI filtering
|-
| supereagle
| 2x
| Less blurry than 2xSAI, but slower
|-
| advmame2x
| 2x
| Doesn't rely on blurring like 2xSAI, fast
|-
| advmame3x
| 3x
| Doesn't rely on blurring like 2xSAI, fast
|-
| hq2x
| 2x
| Very nice high quality filter but slow
|-
| hq3x
| 3x
| Very nice high quality filter but slow
|-
| tv2x
| 2x
| Interlace filter, tries to emulate a TV
|-
| dotmatrix
| 2x
| Dot matrix effect
|}


To select a graphics filter from the command line, use the '-g' option (see [[User Manual/Appendix: Command line options|Command line options]]), e.g.:
== Comparison ==
=== Monkey Island 2 (256 colors) ===
<gallery caption="1X scalers" widths="65px" heights="70px" perrow="4">
Image:MonkeyIsland2_part_Normal.png|Normal (no scaling)
</gallery>


<pre>scummvm -gadvmame2x monkey2</pre>
<gallery caption="2X scalers" widths="130px" heights="140px" perrow="4">
Image:MonkeyIsland2_2X.png|2X
Image:MonkeyIsland2_TV2x.png|TV2x
Image:MonkeyIsland2_AdvMAME2x.png|AdvMAME2x
Image:MonkeyIsland2_2xSAI.png|2xSAI
Image:MonkeyIsland2_Super2xSAI.png|Super2xSAI
Image:MonkeyIsland2_SuperEagle.png|SuperEagle
Image:MonkeyIsland2_HQ2x.png|HQ2x
Image:MonkeyIsland2_DotMatrix.png|DotMatrix
</gallery>


There is always a speed impact when using any form of anti-aliasing/linear filtering. Filters can be especially slow when ScummVM is compiled in a debug
<gallery caption="3X scalers" widths="195px" heights="210px" perrow="3">
configuration without optimizations. For these reasons, not all backends support all (or even any) of the filters listed above;
Image:MonkeyIsland2_3X.png|3X
some may support additional ones. The filters listed above are those supported by the default SDL backend.
Image:MonkeyIsland2_AdvMAME3x.png|AdvMAME3x
 
Image:MonkeyIsland2_HQ3x.png|HQ3x
''Note 1'': The final resolution depends on the original resolution of the game you are playing. For example, the FM-TOWNS version of Zak McKracken uses an original resolution of 320x240, hence for this game the final resolution with a scaler will be 640x480 (2x) or 960x720 (3x).
</gallery>
Likewise, games that were originally 640x480 (such as Curse of Monkey Island or the Broken Sword games) will be scaled to 1280x960 (2x) and 1920x1440 (3x).
 
''Note 2'': When setting a graphic filter in the general ScummVM options it only applies to the games that have a low original resolution (e.g. 320x200 or 320x240). To use a graphic filter with a game that has a higher original resolution (e.g. 640x480) you need to specifically set the graphic filter in the settings for that game.

Latest revision as of 03:43, 16 January 2021


Comparison

Monkey Island 2 (256 colors)