HOME

TheInfoList



OR:

Mode 7 is a
graphics mode Computer display standards are a combination of aspect ratio, display size, display resolution, color depth, and refresh rate. They are associated with specific expansion cards, video connectors and monitors. History Various computer displ ...
on the
Super Nintendo Entertainment System The Super Nintendo Entertainment System (SNES), commonly shortened to Super NES or Super Nintendo, is a 16-bit home video game console developed by Nintendo that was released in 1990 in Japan and South Korea, 1991 in North America, 1992 in Eur ...
video game console A video game console is an electronic device that Input/output, outputs a video signal or image to display a video game that can be played with a game controller. These may be home video game console, home consoles, which are generally placed i ...
that allows a background layer to be rotated and scaled on a scanline-by-scanline basis to create many different effects. The most famous of these effects is the application of a perspective effect on a background layer by scaling and rotating the background layer in this manner. This transforms the background layer into a two-dimensional horizontal
texture-mapped Texture mapping is a method for mapping a texture on a computer-generated graphic. Texture here can be high frequency detail, surface texture, or color. History The original technique was pioneered by Edwin Catmull in 1974. Texture mappi ...
plane that trades height for depth. Thus, an impression of three-dimensional graphics is achieved. Mode 7 was one of Nintendo's prominent selling points for the Super NES platform in publications such as ''
Nintendo Power ''Nintendo Power'' was a video game news and strategy magazine from Nintendo of America, first published in July/August 1988 as Nintendo's official print magazine for North America. The magazine's publication was initially done monthly by Ninten ...
'' and ''Super NES Player's Guide''.'''' Similar ''
faux Faux may refer to: People *Faux (surname) Places Places in Belgium * Faux, a village in the Belgian commune of Court-Saint-Étienne Places in France * Faux, Ardennes, French commune of the Ardennes department * Faux, Dordogne, French commune of t ...
'' 3D techniques have been presented on a few 2D systems other than the Super NES, in select peripherals and games.


Function

The Super NES console has eight graphics modes, numbered from 0 to 7, for displaying background layers. The last one (background mode 7) has a single layer that can be scaled and rotated. This graphical method is suited to racing games, and is used extensively for the overworld sections of role-playing games such as
Square In Euclidean geometry, a square is a regular quadrilateral, which means that it has four equal sides and four equal angles (90- degree angles, π/2 radian angles, or right angles). It can also be defined as a rectangle with two equal-length a ...
's popular 1994 game ''
Final Fantasy VI also known as ''Final Fantasy III'' from its initial North American release, is a 1994 role-playing video game developed and published by Square for the Super Nintendo Entertainment System. It is the sixth main entry in the ''Final Fantasy'' ...
''. The effect enables developers to create the impression of sprawling worlds that continue toward the horizon. A particular utilization technique with Mode 7 allows pixels of the background layer to be in front of sprites. Examples include the second and fifth stage of '' Contra III: The Alien Wars'', the second and fifth stage of '' Jim Power: The Lost Dimension in 3-D'', the introduction screen of '' Tiny Toon Adventures: Buster Busts Loose'', when a player falls off the stage in '' Super Mario Kart'', some cinematics in ''
Super Metroid is an action-adventure game developed by Nintendo and Intelligent Systems and published by Nintendo for the Super Nintendo Entertainment System in 1994. It is the third installment in the ''Metroid'' series, following the events of the Game Boy ...
'', and in some boss battles in ''
Super Mario World ''Super Mario World,'' known in Japan as is a platform game, platform video game developed and published by Nintendo for the Super Nintendo Entertainment System (SNES). It was released in Japan in 1990, North America in 1991 and Europe and A ...
''.


Formula

Mode 7 graphics are generated for each pixel by mapping screen coordinate \mathbf to background coordinate \mathbf^\prime using an
affine transformation In Euclidean geometry, an affine transformation or affinity (from the Latin, ''affinis'', "connected with") is a geometric transformation that preserves lines and parallelism, but not necessarily Euclidean distances and angles. More generally, ...
and sampling the corresponding background color. The 2D affine transformation is specified for each scanline by 6 parameters; a , b , c , and d define the matrix \mathbf , while x_0 and y_0 define the vector \mathbf_0 locates the origin of the matrix transformation and is related to a translation vector. Specifically, screen coordinate \mathbf is translated to the origin coordinate system, the matrix is applied, and the result is translated back to the original coordinate system to obtain \mathbf^\prime . In 2D matrix notation, this is written as \mathbf^\prime = \mathbf (\mathbf - \mathbf_0) + \mathbf_0 \begin x' \\ y' \end = \begin a & b \\ c & d \end \left( \begin x \\ y \end - \begin x_0 \\ y_0 \end \right) + \begin x_0 \\ y_0 \end . All arithmetic is carried out on 16-bit signed fixed point numbers, while all offsets are limited to 13 bits. The
radix point A decimal separator is a symbol used to separate the integer part from the fractional part of a number written in decimal form (e.g., "." in 12.45). Different countries officially designate different symbols for use as the separator. The choi ...
is between bits 7 and 8. Two-dimensional affine transformations can produce any combination of
translation Translation is the communication of the Meaning (linguistic), meaning of a #Source and target languages, source-language text by means of an Dynamic and formal equivalence, equivalent #Source and target languages, target-language text. The ...
,
scaling Scaling may refer to: Science and technology Mathematics and physics * Scaling (geometry), a linear transformation that enlarges or diminishes objects * Scale invariance, a feature of objects or laws that do not change if scales of length, energ ...
,
reflection Reflection or reflexion may refer to: Science and technology * Reflection (physics), a common wave phenomenon ** Specular reflection, reflection from a smooth surface *** Mirror image, a reflection in a mirror or in water ** Signal reflection, in ...
,
rotation Rotation, or spin, is the circular movement of an object around a '' central axis''. A two-dimensional rotating object has only one possible central axis and can rotate in either a clockwise or counterclockwise direction. A three-dimensional ...
, and
shearing Sheep shearing is the process by which the woollen fleece of a sheep is cut off. The person who removes the sheep's wool is called a '' shearer''. Typically each adult sheep is shorn once each year (a sheep may be said to have been "shorn" or ...
—and nothing else. However, many games create additional effects by setting a different transformation matrix for each scanline. In this way, pseudo-perspective, curved surface, and distortion effects can be achieved.


Limits

Mode 7 can only work on backgrounds, not sprites; therefore, any object that does not rotate or scale with the background must be a sprite, even items that would normally be thought of as part of the background, such as fixed platforms. The game developer must create a sprite with the same appearance as that object. For instance, in '' Super Castlevania IV'', battles in which a large boss such as Koranot rotates have the mobile boss implemented as the background, while the blocks on which the protagonist stands are sprites. With the obvious enhancements, this is similar to how some NES games feature battles against a giant movable boss without the slowdown and flicker inherent in a large sprite set—by making the boss the background, and then moving and animating it. Both systems' examples can only apply to objects in the horizontal plane of the moving object. For instance, a floor, ceiling, or scoreboard can remain part of a background in both the NES and SNES examples as long as they are completely "above" or "below" the field of gameplay. They can also be turned into sprites if the whole screen is needed, but this can cause slowdown. The fact that Mode 7 cannot be used on sprites means that each "size" of an "approaching" sprite for a given distance has to be pre-drawn, meaning that one would see sprites "jump" between a limited number of sizes when "approaching" them. This can be seen in '' Super Mario Kart'' and ''
HyperZone is a rail shooter video game developed and published by HAL Laboratory for the Super Nintendo Entertainment System (SNES). It used the SNES' Mode 7 capability. Gameplay ''HyperZone'' is a rail shooter game.''HyperZone'' instruction booklet (Sup ...
'' whenever an object approaches, or when walking vertically on the ''
Final Fantasy VI also known as ''Final Fantasy III'' from its initial North American release, is a 1994 role-playing video game developed and published by Square for the Super Nintendo Entertainment System. It is the sixth main entry in the ''Final Fantasy'' ...
'' map with an airship in view. Similarly, the appearance of sprite rotations must be handled through pre-drawing unless they are done with hardware included in the game cartridge such as the
Super FX The Super FX is a coprocessor on the Graphics Support Unit (GSU) added to select Super Nintendo Entertainment System (SNES) video game cartridges, primarily to facilitate advanced 2D and 3D graphics. The Super FX chip was designed by Argonaut G ...
2 chip, as with '' Super Mario World 2: Yoshi's Island''. A notable workaround does exist and can be seen in '' Contra III: The Alien Wars'' in the second boss battle, and in ''
Super Mario World ''Super Mario World,'' known in Japan as is a platform game, platform video game developed and published by Nintendo for the Super Nintendo Entertainment System (SNES). It was released in Japan in 1990, North America in 1991 and Europe and A ...
'' in the battles against Reznor (platform wall support), Iggy (battle platform), Larry (also the platform), Morton, Ludwig, Roy, and Bowser. In these examples, the boss is a "background" and therefore rotates through Mode 7, and the scoreboard, which is "above" the field of play, is also a background, but the floor of battle's cracks are, as with the players and gunfire, "sprites" that are redrawn under various rotations as the player rotates. However, this only allows one "sprite" to be manipulated at once. One exception to Mode 7-like effects on sprites handled neither by pre-drawing nor by external chips occurs in ''
Tales of Phantasia is an action role-playing game originally developed by Wolf Team. It is the first title in Namco's '' Tales'' series. Initially released for the Super Famicom in December 1995, it was later ported to a number of other platforms, including a Ja ...
'' and ''
Star Ocean is a franchise of action role-playing video games developed by the Japanese company tri-Ace and published and owned by Square Enix (formerly Enix). Development History The series is also known for being some of the earliest action RPGs to allo ...
'', where re-rendering of sprites on the fly is done entirely by the software. In ''Tales of Phantasia'', the player sprite vertically stretches upon walking onto a save spot, and in ''Star Ocean'', items are squashed when popping out of an open treasure chest. Due to the extra tiles needed for such rendering and the other high system demands throughout those games (both using a form of
streaming audio Streaming media is multimedia that is delivered and consumed in a continuous manner from a source, with little or no intermediate storage in network elements. ''Streaming'' refers to the delivery method of content, rather than the content it ...
to circumvent the
SPC700 The Super Nintendo Entertainment System (SNES), commonly shortened to Super NES or Super Nintendo, is a 16-bit home video game console developed by Nintendo that was released in 1990 in Japan and South Korea, 1991 in North America, 1992 in E ...
's limited capacity, and as with most high-end SNES RPGs, using a variable width font), such rendering was limited to those few scenes. The
Sega Genesis The Sega Genesis, known as the outside North America, is a 16-bit Fourth generation of video game consoles, fourth generation home video game console developed and sold by Sega. It was Sega's third console and the successor to the Master Syst ...
has no hardware-native feature comparable to Mode 7. However, as in ''Tales of Phantasia'' and ''Star Ocean''s sprite effect add-ins, some comparable technical feats were programmed entirely in software, seen in games such as '' Dick Vitale's "Awesome, Baby!" College Hoops'' and ''
Zero Tolerance A zero tolerance policy is one which imposes a punishment for every infraction of a stated rule.zero tolerance, n.' (under ''zero, n.''). The Oxford English Dictionary, 2nd Ed. 1989. Retrieved 10 November 2009. Italy, Japan, Singapore China, Indi ...
''. Although there is no hardware-native feature comparable to Mode 7 in the
Amiga Amiga is a family of personal computers introduced by Commodore in 1985. The original model is one of a number of mid-1980s computers with 16- or 32-bit processors, 256 KB or more of RAM, mouse-based GUIs, and significantly improved graphi ...
, some of its games use programming tricks that resemble the effects of Mode 7—for example in '' Mr. Nutz: Hoppin' Mad'', '' Lionheart'', '' Obitus'', and '' Brian the Lion''.


Hardware

The two PPU ( picture-processing unit) chips of the SNES use two 8-
bit The bit is the most basic unit of information in computing and digital communications. The name is a portmanteau of binary digit. The bit represents a logical state with one of two possible values. These values are most commonly represente ...
32-
kilobyte The kilobyte is a multiple of the unit byte for digital information. The International System of Units (SI) defines the prefix ''kilo'' as 1000 (103); per this definition, one kilobyte is 1000 bytes.International Standard IEC 80000-13 Quantiti ...
RAM chips. One PPU can access the tile map (128×128 tiles), and the other PPU can access the tile set (256 tiles, 8×8
pixel In digital imaging, a pixel (abbreviated px), pel, or picture element is the smallest addressable element in a raster image, or the smallest point in an all points addressable display device. In most digital display devices, pixels are the smal ...
s in 256 colors) in a single cycle.


Selection of games that use Mode 7

* '' 7th Saga'' * The ''
ActRaiser is a 1990 hybrid platformer, god game, and city-building game with light action RPG elements for the Super Nintendo Entertainment System developed by Quintet and published by Enix, combining traditional side-scrolling platforming with urban ...
'' series * ''
Aero the Acro-Bat ''Aero the Acro-Bat'' is a 1993 video game developed by Iguana Entertainment and published by Sunsoft. It was released for both the Super Nintendo Entertainment System and Sega Genesis. Aero the Acro-Bat, a red anthropomorphic bat, was created ...
'' * ''
Ace o Nerae! ''Aim for the Ace!'', known in Japan as , is a manga series written and illustrated by Sumika Yamamoto. The series tells the story of Hiromi Oka, a high school student who wants to become a professional tennis player as she struggles ag ...
'' * '' Accele Brid'' * '' Al Unser Jr.'s Road to the Top'' * ''
Axelay is a 1992 scrolling shooter video game developed and published by Konami for the Super Nintendo Entertainment System. Set in the fictional solar system Illis where an alien empire known as "Armada of Annihilation" invades its planets including ...
'' * ''
Bastard!! is a Japanese manga series written and illustrated by Kazushi Hagiwara. It began its serialization in Shueisha's ''Weekly Shōnen Jump'' in 1988, and has continued irregularly in ''Ultra Jump'' since 2000, with its latest chapter released i ...
'' * '' The Brainies'' * '' Brett Hull Hockey 95'' * '' Carrier Aces'' * '' Contra III: The Alien Wars '' * ''
Chrono Trigger is a 1995 role-playing video game developed and published by Square. It was originally released for the Super Nintendo Entertainment System as the first game in the ''Chrono'' series. The game's development team included three designers th ...
'' * '' D-Force'' * ''
Demon's Crest ''Demon's Crest'', known in Japan as ''Demon's Blazon'', is a platform game, side-scrolling platform video game developed and published by Capcom for the Super Nintendo Entertainment System. It is the third video game starring Firebrand (an enemy ...
'' * ''
DinoCity ''DinoCity'' is a platform game, platform video game developed and published by Irem, Irem Corporation for the Super Nintendo Entertainment System. The game is loosely based on the 1991 made-for-television American film ''Adventures in Dinosaur C ...
'' * ''
Drakkhen ''Drakkhen'' is an early-3D computer graphics, 3D role-playing video game, initially developed for the Amiga and Atari ST, and subsequently ported to several other platforms, including MS-DOS and Super Nintendo Entertainment System. It was a very ...
'' * '' Exhaust Heat'' * ''
F-Zero is a series of futuristic racing video games originally created by Nintendo Entertainment Analysis & Development, Nintendo EAD with multiple games developed by outside companies. The F-Zero (video game), first game was released for the Super Fa ...
'' * ''
Final Fantasy IV known as ''Final Fantasy II'' for its initial North American release, is a role-playing video game developed and published by Square (now Square Enix) for the Super Nintendo Entertainment System. Released in 1991, it is the fourth main insta ...
'' * ''
Final Fantasy V is a fantasy role-playing video game developed and published by Square in 1992. It is the fifth main installment of the ''Final Fantasy'' series. The game first appeared only in Japan on Nintendo's Super Famicom (known internationally as the ...
'' * ''
Final Fantasy VI also known as ''Final Fantasy III'' from its initial North American release, is a 1994 role-playing video game developed and published by Square for the Super Nintendo Entertainment System. It is the sixth main entry in the ''Final Fantasy'' ...
'' * The ''
Ganbare Goemon , known as ''Goemon'' and ''Mystical Ninja'' internationally, is a video game series created and produced by Konami. Etsunobu Ebisu is the joint producer of the franchise. These games revolve around the main character, Goemon a ...
'' series * ''
HyperZone is a rail shooter video game developed and published by HAL Laboratory for the Super Nintendo Entertainment System (SNES). It used the SNES' Mode 7 capability. Gameplay ''HyperZone'' is a rail shooter game.''HyperZone'' instruction booklet (Sup ...
'' * ''
Illusion of Gaia ''Illusion of Gaia'', known in PAL territories as ''Illusion of Time'', is an action role-playing video game developed by Quintet for the Super Nintendo Entertainment System. The game was released in Japan by Enix in 1993, and in North America and ...
'' * '' Jurassic Park'' * '' Kat's Run: Zen-Nippon K Car Senshuken'' * ''
Kirby Super Star ''Kirby Super Star'', released as ''Kirby's Fun Pak'' in PAL regions, is an anthology Platform game, platform video game developed by HAL Laboratory and published by Nintendo for the Super Nintendo Entertainment System in 1996. It is part of the ...
'' * '' The Legend of Zelda: A Link to the Past'' * '' Lock On'' * '' Lufia II: Rise of the Sinistrals'' * '' The Magical Quest starring Mickey Mouse '' * '' MechWarrior'' * ''
Mega Man 7 ''Mega Man 7'' (stylized as ''Mega Man VII'') is an action platform video game developed and published by Capcom for the Super Nintendo Entertainment System. It is the seventh game in the original ''Mega Man'' series. The game was released in ...
'' * '' Mohawk & Headphone Jack'' * '' Mr. Nutz '' * ''
NCAA Basketball In United States colleges, top-tier basketball is governed by collegiate athletic bodies including National Collegiate Athletic Association (NCAA), the National Association of Intercollegiate Athletics (NAIA), the United States Collegiate Athle ...
'' * '' NHL Stanley Cup'' * '' Power Rangers Zeo: Battle Racers'' * '' Pilotwings'' * ''
RoboCop 3 ''RoboCop 3'' is a 1993 American science fiction action film directed by Fred Dekker and written by Dekker and Frank Miller. It is the sequel to the 1990 film '' RoboCop 2'' and the third entry in the ''RoboCop'' franchise. It stars Robert B ...
'' * '' Romance of the Three Kingdoms IV: Wall of Fire'' * ''
Run Saber ''Run Saber'' is a 1993 side-scrolling video game, side-scrolling action game developed by Horisoft and published by Atlus for the Super Nintendo Entertainment System. The game was released in North America on June 8, 1993, and in Europe in 1993. ...
'' * '' R-Type III: The Third Lightning'' * '' Rendering Ranger: R2'' * ''
Secret of Evermore ''Secret of Evermore'' is an action role-playing game developed and published by Square for the Super Nintendo Entertainment System. It was released in North America on October 1, 1995, and in Europe and Australia in February 1996. A Japanese re ...
'' * ''
Secret of Mana ''Secret of Mana'', originally released in Japan as is a 1993 action role-playing game developed and published by Square (now Square Enix) for the Super Nintendo Entertainment System. It is the sequel to the 1991 game ''Seiken Densetsu'', rele ...
'' and '' Trials of Mana'' * ''
Skyblazer ''Skyblazer'' is a platform video game published by Sony Imagesoft, released in early 1994 for the Super Nintendo Entertainment System. It involves Sky, the Skyblazer hero (Garuda in the Japanese version) searching for Ashura, the Lord of War, w ...
'' * '' SOS'' * ''
Star Fox is an arcade style rail shooter and third person action-adventure video game series created by Shigeru Miyamoto, produced and published by Nintendo. The games follow the Star Fox combat team of anthropomorphic animals, led by chief protagoni ...
'' * ''
Star Ocean is a franchise of action role-playing video games developed by the Japanese company tri-Ace and published and owned by Square Enix (formerly Enix). Development History The series is also known for being some of the earliest action RPGs to allo ...
'' * '' Stargate'' * '' Street Racer'' * '' Super Aleste'' * '' Super Adventure Island '' * '' Super Castlevania IV'' * '' Super Copa'' * '' Super Ghouls 'n Ghosts'' * '' Super Mario Kart'' * '' Super Mario RPG: Legend of the Seven Stars'' * ''
Super Mario World ''Super Mario World,'' known in Japan as is a platform game, platform video game developed and published by Nintendo for the Super Nintendo Entertainment System (SNES). It was released in Japan in 1990, North America in 1991 and Europe and A ...
'' * '' Super Mario World 2: Yoshi's Island'' * ''
Super Metroid is an action-adventure game developed by Nintendo and Intelligent Systems and published by Nintendo for the Super Nintendo Entertainment System in 1994. It is the third installment in the ''Metroid'' series, following the events of the Game Boy ...
'' * The ''
Super Robot Wars ''Super Robot Wars'', known in Japan as is a series of tactical role-playing video games produced by Bandai Namco Entertainment, formerly Banpresto. Starting out as a spinoff of the '' Compati Hero'' series, the main feature of the franchise ...
'' series * '' Super Scope 6'' * The '' Super Star Wars'' series * '' Super Tennis'' * The '' Super Turrican'' series * ''
Tales of Phantasia is an action role-playing game originally developed by Wolf Team. It is the first title in Namco's '' Tales'' series. Initially released for the Super Famicom in December 1995, it was later ported to a number of other platforms, including a Ja ...
'' * '' Teenage Mutant Ninja Turtles IV: Turtles in Time'' * ''
Terranigma is a 1995 action role-playing game developed by Quintet for the Super Nintendo Entertainment System (SNES), with manga artist Kamui Fujiwara acting as the character designer. The game tells the story of the Earth's resurrection by the hands of ...
'' * ''
Wing Commander Wing commander (Wg Cdr in the RAF, the IAF, and the PAF, WGCDR in the RNZAF and RAAF, formerly sometimes W/C in all services) is a senior commissioned rank in the British Royal Air Force and air forces of many countries which have historical ...
'' * '' Wings 2 Aces High'' * ''
Wolfenstein 3D ''Wolfenstein 3D'' is a first-person shooter video game developed by id Software and published by Apogee Software and FormGen. Originally released on May 5, 1992, for DOS, it was inspired by the 1981 Muse Software video game '' Castle Wolfe ...
'' * ''
Yoshi's Safari ''Yoshi's Safari'' is a 1993 light gun shooter developed and published by Nintendo for its Super Nintendo Entertainment System (SNES). It is the only ''Mario (franchise), Mario'' franchise game to feature first-person shooter gameplay and require ...
'' * '' Zoku: The Legend of Bishin'' The visual effects were later reimplemented by other means in the
Game Boy Advance The (GBA) is a 32-bit handheld game console developed, manufactured and marketed by Nintendo as the successor to the Game Boy Color. It was released in Japan on March 21, 2001, in North America on June 11, 2001, in the PAL region on June 22, 2 ...
incarnations of many of these games.


See also

*
Ray casting Ray casting is the methodological basis for 3D CAD/CAM solid modeling and image rendering. It is essentially the same as ray tracing for computer graphics where virtual light rays are "cast" or "traced" on their path from the focal point of a came ...


References

{{Super Nintendo Entertainment System Super Nintendo Entertainment System Texture mapping Video game development