Latest News
spacer View All spacer
 
December 31, 2009
 
Gamasutra Debuts 'Top 12 Games Of Decade' [1]
 
Opinion: Indie Game Design Do-s and Don't-s: A Manifesto [7]
 
The Sims 3 Gets PETA Vegetarian-Friendly Award [1]
spacer
Latest Features
spacer View All spacer
 
December 31, 2009
 
arrow Gamasutra's Top 12 Games of the Decade [23]
 
arrow Sponsored Feature: Restless Entities Never Sleep -- The Back End of Warhammer Online: Age of Reckoning [1]
 
arrow Gamasutra's Games of the Decade: Honorable Mentions [17]
spacer
Latest Blogs
spacer View All     Post     RSS spacer
 
December 31, 2009
 
[Korea] 5 Key Trends for 2009– ⑤ Browser-Based Games
 
00's and 10's: Looking Back/Looking Forward Pt. 2 [1]
 
How Not to Build a Franchise: The Duke Nukem Experience [6]
spacer
Latest Jobs
spacer View All     Post a Job     RSS spacer
 
December 31, 2009
 
A Little Entertainment
Senior Developer
 
Rainbow Studios
Senior Network Programmer
 
Sony Computer Entertainment America - Santa Monica
Manager, Game Design
 
Redbana US Corp
PHP Developer - Social Platform
 
Sony Computer Entertainment America
Graphics Engineer-Developer Support
 
Gameloft
2D Sprite / Pixel Artist
 
Meteor Games, LLC
Amazingly Talented 2D Game Artist
 
Spark Unlimited, Inc.
Sr. Environment Artist
spacer
About
spacer News Director:
Leigh Alexander
Features Director:
Christian Nutt
Editor At Large:
Chris Remo
Advertising:
John 'Malik' Watson
Recruitment/Education:
Gina Gross
 
News

  Bonus Feature: Delicious Data Baking
by Staff
0 comments
Share RSS
 
 
April 8, 2009
 
Bonus Feature: Delicious Data Baking
Advertisement
Data baking is just like real baking, says veteran programmer Noel Llopis in a new Gamasutra technical feature -- and who doesn't like a delicious cookie?

As an internal process, data baking rarely gets a close look. But according to Llopis, it can have a deep impact on not only the game's architecture, but on development process and even the player's experience.

Llopis explains in depth how the data baking process can be streamlined so that only 3 steps are left at runtime:

These steps happen offline:

1. Exporting from content creation tool
2. Transforming into final format
3. Combining into a memory image
4. Updating data references.

Which leaves only the following steps at runtime:

1. Loading memory image
2. Pointer fixup
3. Extra processing (optional).

Notice that we've done all the heavy lifting during the baking process offline, and the steps performed at runtime are very simple and very fast.

This illustrates what I used to call the Fundamental Rule of Data Loading: Don't do anything at runtime that you can do offline. Can you generate mipmaps offline? Can you generate pathfinding information offline? Can you fix up data references offline? You know the drill. This rule reflects the fact that it is often much faster to load data than it is to do processing on it.


But the issue's gotten more complex as hardware has, too, and in the full feature, Llopis breaks out his key tips for a fluid data baking process (no registration required, please feel free to link to this feature from other websites).
 
   
 
Comments

none
 
Comment:
 


Submit Comment