Light And Shadows: Realistic Renderings in Star Trek Online |
Ó

Warning: this article is somewhat technical, and will be enjoyed mostly by those of you who build your own gaming content. If you don't know much about 3D modelling and rendering - or you flunked geometry - you might want to skip this one...
Part of what makes PC and online gaming enjoyable are realistic graphics. Any first-year art student will tell you that - aside from perspective - light and shadows are the difference between eye-popping, life-like images and crude cartoons.
In the 3-D environment of gaming, realistic light and shadow effects are usually achieved at the expense of huge amounts of processing power and RAM. This is especially true of dynamic surfaces like skin and clothing illuminated by a single source light (spotlights or lamps). It is, however, less problematic for static, rigid objects illuminated by an "infinite light" (like daylight or stars) .
Happily for the developers of Star Trek Online, the main characters - starships - fall into the latter category. The initial experiments were with a technique called "pre-computed radiance," or PRT. This is the most realistic way to reproduce complex shadows and surface scattering. It is, however, computationally very "expensive" in terms of RAM and processing resources. In practical terms, PRT works only at the vertex level - meaning more vertices produce better results. Unfortunately, more vertices also add up to a bigger model in terms of bytes, which means more processing power is required - the end result being a slower-moving game.
Further experiments were conducted with shadow mapping and stencil shadowing. The former requires no special processing on the geometry (the model itself) and has several advantages over the latter, including the ability the produce soft-edged shadows and the production of "screen-door" type transparency.
Ultimately, the decision was made to use a combination of single-point lighting and an environmental cube map. The first represents a main source of light - it this case, the nearest star. The second consists of more diffuse lighting sources, such as the ghostly glow of a nearby nebula. Shadows were created with a stenciling technique, which produced more realistic effects at close-up perspectives.
Have they been successful? Take a look at the results in the picture above and judge for yourself.
Via Gamasutra
Contact Us:
The QJ.net Network |
|
| Site | Feed |
| QJ.NET | RSS |
| Nintendo DS | RSS |
| PlayStation 3 | RSS |
| PSP Updates | RSS |
| Wii | RSS |
| Xbox 360 | RSS |
| MMORPG | RSS |
| Personal Computer Games | RSS |
| iPhone - iPod Touch | RSS |
| QJ.NET Forums | RSS |
User Favorites - December
User Favorites - December
Categories
Archives
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006