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

From ScummVM :: Wiki
Jump to navigation Jump to search
(→‎Comparison: add snapshots for Monkey Island 2)
(Removes information now contained in the new docs. Leaves Monkey Island screenshot for possible inclusion in new docs.)
 
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
! Snapshot
! Preview
|-
| Normal
| 1x
| No filtering, no scaling, fastest
| [[Image:ManiacMansion_Normal.png|thumb|Maniac Mansion Normal]]
| [[Image:ManiacMansion_part_Normal.png|frame|center]]
|-
| 2X
| 2x
| No filtering, simple pixel duplication (default for non 640x480 games)
| [[Image:ManiacMansion_2X.png|thumb|Maniac Mansion 2X]]
| [[Image:ManiacMansion_part_2X.png|frame|center]]
|-
| 3X
| 3x
| No filtering, simple pixel duplication
| [[Image:ManiacMansion_3X.png|thumb|Maniac Mansion 3X]]
| [[Image:ManiacMansion_part_3X.png|frame|center]]
|-
| 2xSAI
| 2x
| SAI filter
| [[Image:ManiacMansion_2xSAI.png|thumb|Maniac Mansion 2xSAI]]
| [[Image:ManiacMansion_part_2xSAI.png|frame|center]]
|-
| Super2xSAI
| 2x
| Enhanced 2xSAI filtering
| [[Image:ManiacMansion_Super2xSAI.png|thumb|Maniac Mansion Super2xSAI]]
| [[Image:ManiacMansion_part_Super2xSAI.png|frame|center]]
|-
| SuperEagle
| 2x
| Less blurry than 2xSAI, but slower
| [[Image:ManiacMansion_SuperEagle.png|thumb|Maniac Mansion SuperEagle]]
| [[Image:ManiacMansion_part_SuperEagle.png|frame|center]]
|-
| AdvMAME2x
| 2x
| Doesn't rely on blurring like 2xSAI, fast
| [[Image:ManiacMansion_AdvMAME2x.png|thumb|Maniac Mansion AdvMAME2x]]
| [[Image:ManiacMansion_part_AdvMAME2x.png|frame|center]]
|-
| AdvMAME3x
| 3x
| Doesn't rely on blurring like 2xSAI, fast
| [[Image:ManiacMansion_AdvMAME3x.png|thumb|Maniac Mansion AdvMAME3x]]
| [[Image:ManiacMansion_part_AdvMAME3x.png|frame|center]]
|-
| HQ2x
| 2x
| Very nice high quality filter but slow
| [[Image:ManiacMansion_HQ2x.png|thumb|Maniac Mansion HQ2x]]
| [[Image:ManiacMansion_part_HQ2x.png|frame|center]]
|-
| HQ3x
| 3x
| Very nice high quality filter but slow
| [[Image:ManiacMansion_HQ3x.png|thumb|Maniac Mansion HQ3x]]
| [[Image:ManiacMansion_part_HQ3x.png|frame|center]]
|-
| TV2x
| 2x
| Interlace filter, tries to emulate a TV
| [[Image:ManiacMansion_TV2x.png|thumb|Maniac Mansion TV2x]]
| [[Image:ManiacMansion_part_TV2x.png|frame|center]]
|-
| DotMatrix
| 2x
| Dot matrix effect
| [[Image:ManiacMansion_DotMatrix.png|thumb|Maniac Mansion DotMatrix]]
| [[Image:ManiacMansion_part_DotMatrix.png|frame|center]]
|}
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 configuration without optimizations. For these reasons, not all backends support all (or even any) of the filters listed above;
some may support additional ones. The filters listed above are those supported by the default SDL backend.
''Note'': 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).
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).
== Select the Graphic Filter ==
=== From the GUI ===
You can configure the Graphic Filter to use globally in the ScummVM Options (see [[User Manual/Configuring ScummVM#Graphics tab|Configuring ScummVM]]) or game by game, e.g. if you want for a specific game to use a different Graphic Filter than for the other games (see [[User Manual/Configuring a game in ScummVM#Graphics tab|Configuring a game in ScummVM]]).
''Note'': 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.
=== From the Command Line ===
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.:
<pre>scummvm -gadvmame2x monkey2</pre>






== Comparison ==
== Comparison ==
Finding the best graphic scaler is very subjective and will depend on the user. It also depends on the game as older games tended to use fewer colors and only coarse dithering.
=== Maniac Mansion (16 colors) ===
<gallery caption="1X scalers" widths="55px" heights="60px" perrow="4">
Image:ManiacMansion_part_Normal.png|Normal (no scaling)
</gallery>
<gallery caption="2X scalers" widths="110px" heights="120px" perrow="4">
Image:ManiacMansion_part_2X.png|2X
Image:ManiacMansion_part_TV2x.png|TV2x
Image:ManiacMansion_part_AdvMAME2x.png|AdvMAME2x
Image:ManiacMansion_part_2xSAI.png|2xSAI
Image:ManiacMansion_part_Super2xSAI.png|Super2xSAI
Image:ManiacMansion_part_SuperEagle.png|SuperEagle
Image:ManiacMansion_part_HQ2x.png|HQ2x
Image:ManiacMansion_part_DotMatrix.png|DotMatrix
</gallery>
<gallery caption="3X scalers" widths="165px" heights="180px" perrow="3">
Image:ManiacMansion_part_3X.png|3X
Image:ManiacMansion_part_AdvMAME3x.png|AdvMAME3x
Image:ManiacMansion_part_HQ3x.png|HQ3x
</gallery>
=== Monkey Island 2 (256 colors) ===
=== Monkey Island 2 (256 colors) ===
<gallery caption="1X scalers" widths="65px" heights="70px" perrow="4">
<gallery caption="1X scalers" widths="65px" heights="70px" perrow="4">

Latest revision as of 03:43, 16 January 2021


Comparison

Monkey Island 2 (256 colors)