[Future Technology Research Index] [SGI Tech/Advice Index] [Nintendo64 Tech Info Index]


[WhatsNew] [Intro] [Sys Desc] [PR] [CPU] [RCP] [GFX] [Polygons] [MIPS/MFLOPS] [Res/Video] [FPS]

Ian's SGI Depot: FOR SALE! SGI Systems, Parts, Spares and Upgrades

(check my current auctions!)

[<-- Perspective Correction] [Depth Cueing -->]


Environment Mapping

[Reflective Spiral
Object] Environment Mapping (E.M.) is another hardware feature that is not available in the Saturn or PSX.

In games like Mario, Zelda and Turok it is used to great effect, eg. in SM64 E.M. is used to make Mario look like a T1000-style metal man and also for the pools of metallic water. In Zelda, E.M. is used to model the reflective armour of knights and also objects such as swords, etc. Turok uses E.M. for the ends of shotgun shell cases which have a nice gold appearance, the rotating health powerups, the level 8 key pieces and elsewhere. Other games use E.M. too, eg. Goldeneye uses it to make some of the guns nicely metallic (Magnum, Golden Gun) and for reflective windows, etc.

[Goldeneye image 1] [Goldeneye image 2] The image on the left here shows a scene from Goldeneye which has a whole room full of reflective screens (the 'Complex' level); in this image, a portion of grey wall has a reflective screen either side of it. But this particular part of the room shows something interesting: as one moves closer to the screens, the right-hand screen slowly becomes transparent, but the left-hand screen does not become transparent. While this change in transparency is happening, both screens continue to be reflective in the usual way. Examine the image on the right to see the effect in detail (click on these images to download full-size versions).

Thus, effects such as E.M. and transparency can be combined to produce more complex effects, enabling one to model other materials such as smoked glass, one-way mirrors, calm lakes of water, etc. and in ways that can be made dependent on one's distance from the object being viewed; ie. in this case, the transparency of the right-hand screen is only visible when one is close to the screen.

Imagine a more complex example: an inflated, patterned, transparent, plastic balloon: the material will have transparency, a texture for the pattern, a reflective effect because it's made of plastic (or one could just use specular lighting), and probably also be shaded due to any light sources present - quite a combination of effects. Of course, combining effects in this way will require greater computation, so a games designer must decide on a trade-off between visual realism and game speed. In practice, the action in some games may be moving so fast that it just isn't worth using too many special effects since a player will not notice them.

Another point about Goldeneye: on the 'Library' level, there is an area where many small 'office' rooms have transparent windows, but the windows are also partially reflective. Unlike the images above, however, the windows in the office area are dominated by their transparency rather than by their reflectivity. This shows that a designer can determine to what degree the various special effects will decide the final appearance, how they combine, and at what distances the different effects will be prominent. Importantly, notice that one can see through more than a single window to a far wall, yet both windows still show their reflectivity. From a game-playing point of view, it's also interesting that the game properly models the presence of the multiple windows: fire a single bullet through the windows at a far wall - you will see a hole in each window and a bullet mark on the far wall, all correctly lined up.


There are two kinds of environment mapping:

  1. An object is made to reflect its surroundings, based on the actual textural scene the object is placed in. This method involves quite complex operations.

  2. An object is made to reflect an arbitrary image by mathematically placing the object inside a cube or sphere where the inside surface of the cube/sphere is covered with the image to be reflected. The calculations are simpler in this case.

As far as I know, the second technique is often used in N64 games (eg. Level 8 key in Turok), though I'm sure I've seen the first method used as well (eg. the room of mirrors in Mario, though perhaps that is done by other means - I can't be sure).

The example image shown at the top of this page uses the second technique: it shows a spiral-shaped object reflecting a photograph of a restaurant scene. Click on the image to download a much larger version. Below is a final, much clearer example: four different views of the SGI O2 computer chassis, reflecting a restaurant/bar scene.

[O2 image 1] [O2 image 2] [O2 image 3] [O2 image 4]


[<-- Perspective Correction] [Depth Cueing -->]


Ian's SGI Depot: FOR SALE! SGI Systems, Parts, Spares and Upgrades

(check my current auctions!)
[WhatsNew] [Intro] [Sys Desc] [PR] [CPU] [RCP] [GFX] [Polygons] [MIPS/MFLOPS] [Res/Video] [FPS]
[Future Technology Research Index] [SGI Tech/Advice Index] [Nintendo64 Tech Info Index]