It's free to join Gamasutra!|Have a question? Want to know who runs this site? Here you go.|Targeting the game development market with your product or service? Get info on advertising here.||For altering your contact information or changing email subscription preferences.
Registered members can log in here.Back to the home page.

Search articles, jobs, buyers guide, and more.

Gamasutra
October 2 2008

Procedural Spooling In Games

arrowrightPage 1
arrowrightPage 2
arrowrightPage 3
arrowrightPage 4


Printer Friendly Version




Part of:



[More information...]
 

 

Sign up for the Gamasutra Daily Newsletter!

Namco Networks America Inc. : Flash Games Engineer [11.21.08]
War Drum Studios, LLC : Network Game Programmer [11.21.08]
First Act Interactive : Project Lead Software Engineer [11.21.08]
Sony Computer Entertainment America : Senior Manager of Game System Engineering [11.21.08]
Cryptic Studios, Inc. : Lead Game Master Support Representative [11.21.08]
Sparkplay Media : QA Manager [11.21.08]
Cryptic Studios, Inc. : User Interface Designer [11.21.08]
Treyarch / Activision : Technical Director [11.21.08]
Ignition Entertainment : Motion Director [11.21.08]
Ignition Entertainment : Producer [11.21.08]
Sony Pictures Entertainment : Software Engineer / Lua Scripter [11.20.08]
Sony Computer Entertainment America : SR. TECHNICAL PROJECT MANAGER [11.20.08]
Edge of Reality : Project Manager [11.20.08]
Stealth Startup : 3d Graphics Programmer - Virtual Worlds [11.20.08]
Carbine : User Interface/2D Artist [11.20.08]

View All    Post A Job

Post Resume


Upcoming Events:
DIG London Game Conference
London, Canada
11.27.08

5th Australasian Conference on Interactive Entertainment
Brisbane, Australia
12.03.08

IEEE Symposium on Computational Intelligence and Games
Perth, Australia
12.15.08

2K Bot Prize
Perth, Australia
12.15.08

The 6th Annual Mobile Games Forum 2009
London, United Kingdom
01.21.09

Submit Event

View All


Procedural Spooling In Games

(Page 1/4)
Next arrow


[In this in-depth technical article, originally published in Game Developer magazine, Neversoft co-founder West examines how procedural generated content and compression can lead to expanding vistas for your open-world games.]

In a game where the environment and game objects are spooled from the disc as the player moves through the game world, the limiting factor in the allowable scene complexity is often a function of the data transfer rate of spooling and the virtual speed of the player within the world.

If the world has too much variety, then as the player moves from one region to another, a large amount of new data may need to be spooled from the disc in order to correctly display all the elements in the new region. If the data cannot be spooled fast enough, visible glitches may result as new geometry pops into existence.

Anyone playing the Grand Theft Auto series on the PlayStation 2 will have had the occasional experience of rapidly turning a corner and finding a large section of the road invisible for a few seconds.

If the missing elements are logically necessary for the game to work, the player may be forced to wait out these stalls in gameplay, as the missing elements are loaded.

To prevent these problems, developers should be placing limits on the scene complexity and the allowable variation between game regions.

Limits should also be placed on the maximum speed at which the player can move through the world, keeping it slow enough so there is sufficient time for the world to be updated as the player moves through it at top speed.

Disc bandwidth is frequently used as a shared resource, with the environment spooling simultaneously with the background music, voice over, and sometimes video.

So, in addition to increasing allowable scene complexity, any improvement in the utilization of disc bandwidth will allow a richer game experience with these additional audio and video elements.

Data Compression Limits

To maximize disc bandwidth utilization, the data on the disc needs to be compressed as much as possible. The greater the ratio between the size of the disc data and the system memory data, the more disc bandwidth we're able to use.

Naive lossless compression generally gives us an approximately 50 percent reduction in the size of the data. While there is frequent talk of more powerful processors (and particularly multi-core processors) that would let us use more powerful compression algorithms, the fact is that we are not talking about orders of magnitude in improvement.

On arbitrary data, advanced algorithms (such as PAQ) don't perform much more than 10 to 20 percent better than simple algorithms (such as Lempel-Ziv), despite taking more than twice as much CPU time in the decompression stage and several orders of magnitude more time in the compression stage (which can cause serious production problems by increasing build time).

It's possible to achieve more significant improvements by tailoring specific compression strategies to the data being compressed. This could involve re-ordering the data by de-interleaving data channels to allow the compressor to take better advantage of repetition within a channel (such as the X, Y, and Z channels of a vertex list).


(Page 1/4)
Next arrow


Comments


Anonymous 2 Oct 2008 at 11:42 am PST
The big blocker for procedural content still is that generated assets just don't look as good as hand-created ones. The promise has been there for years, and in theory it's just a matter of creating better generation algorithms, but in practice generated assets tend to have an abstract and artificial feel. This is true for scenery, models, animations, textures and even sound and music.

Artists often use real-world assets (photos, high detail models, motion captures) as a base for their work, and this is much harder with procedural methods. Until procedural systems make a quantum leap in quality, they restrict artists to create what they can with the algorithm rather than what they want with a general purpose tool.

That said, yeah if your game's art direction fits with the current state of the art in procedural generation, the benefits can be huge.

Jamie Roberts 2 Oct 2008 at 2:46 pm PST
"if your game's art direction fits with the current state of the art in procedural generation, the benefits can be huge"

The best example of course being RoboBlitz. If the game had used a natural, organic setting the procedural content would have looked horrible. But the system they used worked great for the artificial/metallic/robotic elements in the game.

Anonymous 2 Oct 2008 at 9:11 pm PST
Elite... SpeedTree... Spore... Procedural will never be a solution for everything. It is just a tool to be explored. Example:
http://mrl.nyu.edu/~perlin/facedemo/

Hélder Gomes Filho 2 Oct 2008 at 9:21 pm PST
In fact procedural content is underrated, I see already great procedural content around, you just need to look!

Or play krrieger and watch .debris!

Jaco van der Westhuizen 2 Oct 2008 at 11:28 pm PST
On the quality of procedural content; I think one could use a hybrid technique. The artist starts off with a procedural model, adding artistic tweaks and photo-based additions. These tweaks and added data is stored separately from the procedural algorithm parameters, so when spooling large areas, only the parameter data is spooled, and as the viewer moves closer the artist-generated data gets loaded using traditional techniques.

I expect this will have quality about equal to modern games, but using about half as much bandwidth.

Anonymous 3 Oct 2008 at 1:53 am PST
In the recent years, the quality of procedural content has indeed made a big leap in quality.
When looking at procedural animations from Natural Motion, procedural buildings generation or procedural textures from the folks at Allegorithmic, you realize that procedural content nowadays can look as good as hand made assets by mixing maths and physics with artistic inputs and control over these algorithms.

Of course, procedural content is not the answer to everything (yet), but with development budgets getting higher and higher, it can help in many ways without sacrificing the global quality or the artistic vision.







join | contact us | advertise | write | my profile
news | features | contract work | jobs | resumes | education | product guide | store