Isometric projection
From Wikipedia, the free encyclopedia
Views |
---|
Other views |
Isometric projection is a form of graphical projection — more specifically, an axonometric projection. It is a method of visually representing three-dimensional objects in two dimensions, in which the three coordinate axes appear equally foreshortened and the angles between any two of them are 120°. Isometric projection is one of the projections used in drafting engineering drawings.
The term isometric comes from the Greek for "equal measure", reflecting that the scale along each axis of the projection is the same (this is not true of some other forms of graphical projection).
One of the advantages of isometric perspective in engineering drawings is that 60° angles are easy to construct using only a compass and straightedge.
Contents |
[edit] Visualization
An isometric view of an object can be obtained by choosing the viewing direction in a way that the angles between the projection of the x, y, and z axes are all the same, or 120°. For example when taking a cube, this is done by first looking straight towards one face. Next the cube is rotated +/- 45° about the vertical axis, followed by a rotation of approximately +/- 35.264° [= arcsin(tan(30°))] about the horizontal axis.
In a similar way an isometric view can be obtained for example in a 3D scene editor. Starting with the camera aligned parallel to the floor and aligned to the coordinate axes, it is first rotated downwards around the horizontal axes by about 35.264° as above, and then rotated +/- 45° around the vertical axes.
Another way in which isometric projection can be visualized is by considering the view of a cubical room from an upper corner, looking towards the opposite lower corner. The x-axis is diagonally down and right, the y-axis is diagonally down and left, and the z-axis is straight up. Depth is also shown by height on the image. Lines drawn along the axes are at 120° to one another.
[edit] Mathematical
There are 8 different orientations to obtain an isometric view, depending into which octant the viewer looks. The isometric transform from a point ax,y,z in 3D space to a point bx,y in 2D space looking into the first octant can be written mathematically with rotation matrices as:
where and . As explained above, this is a rotation around the vertical (here y) axis by β, followed by a rotation around the horizontal (here x) axis by α. This is then followed by an orthographic projection to the x-y plane:
The other seven possibilities are obtained by either rotating to the opposite sides or not, and then inverting the view direction or not.[1]
[edit] Limits of axonometric projection
As with all types of parallel projection, objects drawn with axonometric projection do not appear larger or smaller as they extend closer to or away from the viewer. While advantageous for architectural drawings and sprite-based video games, this results in a perceived distortion, as unlike perspective projection, it is not how our eyes or photography usually work. It also can easily result in situations where depth and altitude are impossible to gauge, as is shown in the illustration to the right. An additional problem particular to isometric projection is when it becomes difficult to determine which face of the object is being observed. In the absence of proper shading—and for objects that are relatively perpendicular and similarly proportioned—it can become difficult to determine which is the top, bottom or side face of the object. This is because, in isometric projection, the projection of each face onto a two-dimensional plane has similar dimensions and area.
Most contemporary video games have avoided these situations by dropping axonometric projection in favor of perspective 3D rendering utilizing vanishing points. Some of the famous "impossible architecture" works of M. C. Escher, however, exploit them. Waterfall (1961) is a good example, in which the building is (roughly) isometric, but the faded background utilizes perspective projection.
[edit] "Isometric" projection in video games and pixel art
In the fields of computer and video games and pixel art, axonometric projection has been popular because of the ease with which 2D sprites and tile-based graphics can be made to represent a 3D gaming environment. Because objects don't change size as they move about the game field, there is no need for the computer to scale sprites or do the calculations necessary to simulate visual perspective. This allowed older 8-bit and 16-bit game systems (and, more recently, handheld systems) to portray large 3D areas easily. While the depth confusion problems illustrated above can sometimes be a problem, good game design can alleviate this. With the advent of more powerful graphics systems, axonometric projection is becoming less common.
The projection used in videogames usually deviates slightly from "true" isometric due to the limitations of raster graphics. Lines in the x and y axes would not follow a neat pixel pattern if drawn in the required 30° to the horizontal. While modern computers can eliminate this problem using anti-aliasing, earlier computer graphics did not support enough colors or possess enough CPU power to accomplish this. So instead, a 2:1 pixel pattern ratio would be used to draw the x and y axes lines, resulting in these axes following a 26.565° (arctan 0.5) angle to the horizontal. (Game systems that do not use square pixels could, however, yield different angles, including true isometric.) It should therefore be noted that this form of projection is more accurately described as a variation of dimetric projection, since only two of the three angles between the axes are equal (116.565°, 116.565°, 126.87°). Many in video game and pixel art communities, however, continue to mistakenly refer to this projection as "isometric perspective"; the terms "3/4 perspective" and "2.5D" are also commonly used.
The term has also been applied to games that do not use the 2:1 pixel pattern ratio common among video games. Fallout and SimCity 4, which use trimetric projection, have been referred to as "isometric".[2][3] Games that use oblique projection, such as The Legend of Zelda: A Link to the Past[4] and Ultima Online[5]—as well as games that use perspective projection with a bird's eye view, such as The Age of Decadence[6] and Silent Storm[7]—are also sometimes referred to as being isometric, or "pseudo-isometric".
[edit] History of isometric video games
The first video games to use isometric projection were arcade games in the early 1980s. Q*bert [8] and Zaxxon [9] were both released in 1982. Q*bert showed a static pyramid drawn in an isometric perspective, with the player controlling a person which could jump around on he pyramid. Zaxxon employed scrolling isometric levels where the player controlled a plane to fly through the levels. A year later in 1983 the arcade game Congo Bongo was released, running on the same hardware as Zaxxon [10]. It allowed the player character to move around in bigger isometric levels, including true three-dimensional climbing and falling. The same was possible in the 1984 arcade title Marble Madness.
At this time, isometric games were no longer exclusive to the arcade market and also entered home computers with the release of Ant Attack for the ZX Spectrum in 1983. The ZX Crash magazine consequently awarded it 100% in the graphics category for this new "3D" technique [11]. A year later the ZX saw the release of Knight Lore, which is generally regarded as a revolutionary title [12] which defined the subsequent genre of isometric adventure games [13].
Following Knight Lore, many isometric titles were seen on home computers - to an extent that it was regarded as being the second most cloned piece of software after WordStar[14]. One big success out of those was the 1987 game Head Over Heels [15]. Isometric perspective was not limited to arcade/adventure games, though; for example, the 1989 strategy game Populous used isometric perspective.
Throughout the 1990s some very successful games like Civilization II and Diablo used a fixed isometric perspective. But with the advent of 3D acceleration on personal computers and gaming consoles, games using a 3D perspective generally started using true 3D instead of isometric perspective. This can be seen by successors of the above games, starting with Civilization IV the civilization series uses full 3D. And the next game by the developers of the Diablo games was World of Warcraft which also featured full 3D graphics.
More examples of notable isometric games can be found here: Category:Isometric video games
[edit] References
- ^ Ingrid Carlbom, Joseph Paciorek (Dec. 1978), Planar Geometric Projections and Viewing Transformations, vol. v.10 n.4, ACM Computing Surveys (CSUR), pp. p.465-502, DOI 10.1145/356744.356750
- ^ Green, Jeff (February 29, 2000). GameSpot Preview: Arcanum (HTML). GameSpot. Retrieved on 2008-01-10.
- ^ Butts, Steve (September 9, 2003). SimCity 4: Rush Hour Preview (HTML). IGN. Retrieved on 2008-01-10.
- ^ GDC 2004: The History of Zelda (HTML). IGN (March 25, 2004). Retrieved on 2007-12-17.
- ^ Greely, Dave; Ben Sawyer (August 19, 1997). Has Origin Created the First True Online Game World? (HTML). Gamasutra. Retrieved on 2007-12-17.
- ^ Age of Decadence (HTML). Iron Tower Studios. Retrieved on 2007-07-10.
- ^ O'Hagan, Steve (August 7, 2003). PC Review: Silent Storm (HTML). ComputerAndVideoGames.com. Retrieved on 2007-12-13.
- ^ Q*bert Videogame by Gottlieb (1982) - The International Arcade Museum and the KLOV
- ^ Zaxxon Videogame by Sega/Gremlin (1982) - The International Arcade Museum and the KLOV
- ^ Congo Bongo Videogame by Sega (1983) - The International Arcade Museum and the KLOV
- ^ CRASH 1 - 3D Ant Attack
- ^ (2006) "Ultimate Play The Game—Company Lookback", Retro Micro Games Action - The Best of gamesTM Retro Volume 1. Highbury Entertainment, 25.
- ^ Steven Collins. Game Graphics During the 8-bit Computer Era. Computer Graphics Newsletters. SIGGRAPH.
- ^ Krikke, J. (Jul/Aug 2000). "Axonometry: a matter of perspective". Computer Graphics and Applications, IEEE 20 (4): 7–11. doi:10.1109/38.851742.
- ^ CRASH 51 - Run It Again
[edit] See also
[edit] External links
- Explanation and tutorial on drawing in "isometric" perspective from the University of Hertfordshire
- Comprehensive document to derive the basic formulae for isometric projections
- PixelDam, website containing many examples of isometric graphics