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

From ScummVM :: Wiki
Jump to navigation Jump to search
(Add some snapshots and improve layout of the page)
Line 16: Line 16:
! Description
! Description
! Snapshot
! Snapshot
! Preview
|-
|-
| Normal
| Normal
| 1x
| 1x
| No filtering, no scaling, fastest
| No filtering, no scaling, fastest
|[[Image:ManiacMansion_Normal.png|thumb|Maniac Mansion Normal]]
| [[Image:ManiacMansion_Normal.png|thumb|Maniac Mansion Normal]]
| [[Image:ManiacMansion_part_Normal.png|frame|center]]
|-
|-
| 2X
| 2X
| 2x
| 2x
| No filtering, simple pixel duplication (default for non 640x480 games)
| No filtering, simple pixel duplication (default for non 640x480 games)
|[[Image:ManiacMansion_2X.png|thumb|Maniac Mansion 2X]]
| [[Image:ManiacMansion_2X.png|thumb|Maniac Mansion 2X]]
| [[Image:ManiacMansion_part_2X.png|frame|center]]
|-
|-
| 3X
| 3X
| 3x
| 3x
| No filtering, simple pixel duplication
| No filtering, simple pixel duplication
|[[Image:ManiacMansion_3X.png|thumb|Maniac Mansion 3X]]
| [[Image:ManiacMansion_3X.png|thumb|Maniac Mansion 3X]]
| [[Image:ManiacMansion_part_3X.png|frame|center]]
|-
|-
| 2xSAI
| 2xSAI
| 2x
| 2x
| SAI filter
| SAI filter
|[[Image:ManiacMansion_2xSAI.png|thumb|Maniac Mansion 2xSAI]]
| [[Image:ManiacMansion_2xSAI.png|thumb|Maniac Mansion 2xSAI]]
| [[Image:ManiacMansion_part_2xSAI.png|frame|center]]
|-
|-
| Super2xSAI
| Super2xSAI
| 2x
| 2x
| Enhanced 2xSAI filtering
| Enhanced 2xSAI filtering
|[[Image:ManiacMansion_Super2xSAI.png|thumb|Maniac Mansion Super2xSAI]]
| [[Image:ManiacMansion_Super2xSAI.png|thumb|Maniac Mansion Super2xSAI]]
| [[Image:ManiacMansion_part_Super2xSAI.png|frame|center]]
|-
|-
| SuperEagle
| SuperEagle
| 2x
| 2x
| Less blurry than 2xSAI, but slower
| Less blurry than 2xSAI, but slower
|[[Image:ManiacMansion_SuperEagle.png|thumb|Maniac Mansion SuperEagle]]
| [[Image:ManiacMansion_SuperEagle.png|thumb|Maniac Mansion SuperEagle]]
| [[Image:ManiacMansion_part_SuperEagle.png|frame|center]]
|-
|-
| AdvMAME2x
| AdvMAME2x
| 2x
| 2x
| Doesn't rely on blurring like 2xSAI, fast
| Doesn't rely on blurring like 2xSAI, fast
|[[Image:ManiacMansion_AdvMAME2x.png|thumb|Maniac Mansion AdvMAME2x]]
| [[Image:ManiacMansion_AdvMAME2x.png|thumb|Maniac Mansion AdvMAME2x]]
| [[Image:ManiacMansion_part_AdvMAME2x.png|frame|center]]
|-
|-
| AdvMAME3x
| AdvMAME3x
| 3x
| 3x
| Doesn't rely on blurring like 2xSAI, fast
| Doesn't rely on blurring like 2xSAI, fast
|[[Image:ManiacMansion_AdvMAME3x.png|thumb|Maniac Mansion AdvMAME3x]]
| [[Image:ManiacMansion_AdvMAME3x.png|thumb|Maniac Mansion AdvMAME3x]]
| [[Image:ManiacMansion_part_AdvMAME3x.png|frame|center]]
|-
|-
| HQ2x
| HQ2x
| 2x
| 2x
| Very nice high quality filter but slow
| Very nice high quality filter but slow
|[[Image:ManiacMansion_HQ2x.png|thumb|Maniac Mansion HQ2x]]
| [[Image:ManiacMansion_HQ2x.png|thumb|Maniac Mansion HQ2x]]
| [[Image:ManiacMansion_part_HQ2x.png|frame|center]]
|-
|-
| HQ3x
| HQ3x
| 3x
| 3x
| Very nice high quality filter but slow
| Very nice high quality filter but slow
|[[Image:ManiacMansion_HQ3x.png|thumb|Maniac Mansion HQ3x]]
| [[Image:ManiacMansion_HQ3x.png|thumb|Maniac Mansion HQ3x]]
| [[Image:ManiacMansion_part_HQ3x.png|frame|center]]
|-
|-
| TV2x
| TV2x
| 2x
| 2x
| Interlace filter, tries to emulate a TV
| Interlace filter, tries to emulate a TV
|[[Image:ManiacMansion_TV2x.png|thumb|Maniac Mansion TV2x]]
| [[Image:ManiacMansion_TV2x.png|thumb|Maniac Mansion TV2x]]
| [[Image:ManiacMansion_part_TV2x.png|frame|center]]
|-
|-
| DotMatrix
| DotMatrix
| 2x
| 2x
| Dot matrix effect
| Dot matrix effect
|[[Image:ManiacMansion_DotMatrix.png|thumb|Maniac Mansion DotMatrix]]
| [[Image:ManiacMansion_DotMatrix.png|thumb|Maniac Mansion DotMatrix]]
| [[Image:ManiacMansion_part_DotMatrix.png|frame|center]]
|}
|}


Click on the images above to display them at their real size and see the effect of the graphic modes.
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.:
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>
<pre>scummvm -gadvmame2x monkey2</pre>


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 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).
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.
== 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>


== Comparison ==
<gallery caption="3X scalers" widths="165px" heights="180px" perrow="3">
{{ManualScreenshot|name=ManiacMansion_comparison2x.png|desc=Comparison of 2x graphic modes}}
Image:ManiacMansion_part_3X.png|3X
Comparison of the 2x graphic modes (2X, TV2x, AdvMAME2x, 2xSAI, Super2xSAI, SuperEagle, HQ2x and DotMatrix)
Image:ManiacMansion_part_AdvMAME3x.png|AdvMAME3x
{{-}}
Image:ManiacMansion_part_HQ3x.png|HQ3x
{{ManualScreenshot|name=ManiacMansion_comparison3x.png|desc=Comparison of 3x graphic modes}}
</gallery>
Comparison of the 3x graphic modes (3X, AdvMAME3x, HQ3x)
=== Monkey Island 2 (256 colors) ===
{{-}}
'''coming...'''

Revision as of 19:45, 10 August 2009

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:

Name Factor Description Snapshot Preview
Normal 1x No filtering, no scaling, fastest
Maniac Mansion Normal
ManiacMansion part Normal.png
2X 2x No filtering, simple pixel duplication (default for non 640x480 games)
Maniac Mansion 2X
ManiacMansion part 2X.png
3X 3x No filtering, simple pixel duplication
Maniac Mansion 3X
ManiacMansion part 3X.png
2xSAI 2x SAI filter
Maniac Mansion 2xSAI
ManiacMansion part 2xSAI.png
Super2xSAI 2x Enhanced 2xSAI filtering
Maniac Mansion Super2xSAI
ManiacMansion part Super2xSAI.png
SuperEagle 2x Less blurry than 2xSAI, but slower
Maniac Mansion SuperEagle
ManiacMansion part SuperEagle.png
AdvMAME2x 2x Doesn't rely on blurring like 2xSAI, fast
Maniac Mansion AdvMAME2x
ManiacMansion part AdvMAME2x.png
AdvMAME3x 3x Doesn't rely on blurring like 2xSAI, fast
Maniac Mansion AdvMAME3x
ManiacMansion part AdvMAME3x.png
HQ2x 2x Very nice high quality filter but slow
Maniac Mansion HQ2x
ManiacMansion part HQ2x.png
HQ3x 3x Very nice high quality filter but slow
Maniac Mansion HQ3x
ManiacMansion part HQ3x.png
TV2x 2x Interlace filter, tries to emulate a TV
Maniac Mansion TV2x
ManiacMansion part TV2x.png
DotMatrix 2x Dot matrix effect
Maniac Mansion DotMatrix
ManiacMansion part DotMatrix.png

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 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 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 Command line options), e.g.:

scummvm -gadvmame2x monkey2


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)

Monkey Island 2 (256 colors)

coming...