- MegaTexture
-
MegaTexture refers to a texture allocation technique facilitating the use of a single extremely large texture rather than repeating multiple smaller textures. It is featured in Splash Damage's game Enemy Territory: Quake Wars and was developed by id Software technical director John Carmack.[1]
MegaTexture employs a single large texture space for static terrain. The texture is stored on removable media or a computer's hard drive and streamed as needed, allowing large amounts of detail and variation over a large area with comparatively little RAM usage. Depending on the pixel resolution per square meter, covering a large area could require several gigabytes of memory. However, an average PC has only 2 or 3 gigabytes of RAM available[2], also filled by the rest of the game and the underlying operating system, limiting the amount available for texturing. As the player moves around the game, different sections of the megatexture are loaded into memory. They are then scaled to the correct size and applied to the 3D models of the terrain.
MegaTexture is an implementation of the idea of clipmapping.
Contents
Virtual texturing
Rage, powered by the id Tech 5 engine, uses a more advanced technique called Virtual Texturing.[3] Textures can measure up to 128000×128000 pixels[4] and are also used for in-game models and sprites, etc. and not just the terrain. The upcoming game Doom 4 will also use these.
Future technology evolution
Id has presented a more advanced technique that builds upon the MegaTexture idea and virtualizes both the geometry and the textures to obtain unique geometry down to the equivalent of the texel: the Sparse Voxel Octree (SVO). Potentially id Tech 6 could utilize this technique. It works by raycasting the geometry represented by voxels (instead of triangles) stored in an octree. The goal being to be able to stream parts of the octree into video memory, going further down along the tree for nearby objects to give them more details, and to use higher level, larger voxels for further objects, which give an automatic level of detail (LOD) system for both geometry and textures at the same time. The geometric detail that can be obtained using this method is nearly infinite, which removes the need for faking 3-dimensional details with techniques such as normal mapping. Despite that most Voxel rendering tests use very large amounts of memory (up to several Gb), Jon Olick of id Software claimed it's able to compress such SVO to 1.15 bits per voxel of position data.[5]
See also
- Surface caching
- Texture mapping
- id Software
- Doom 3
- Enemy Territory: Quake Wars
- Doom 4
- Clipmap
References
- ^ "Enemy Territory: Quake Wars Q&A". Shacknews. 2006-04-28. http://www.shacknews.com/extras/2006/042806_quakewars_qa_1.x. Retrieved 2009-08_07.
- ^ "Steam Hardware Survey". Valve. http://store.steampowered.com/hwsurvey/. Retrieved 4 October 2011.
- ^ "From Texture Virtualization to Massive Parallelization". Id Software. August 2009. http://mrl.cs.vsb.cz/people/gaura/agu/05-JP_id_Tech_5_Challenges.pdf. Retrieved 2011-08-08.
- ^ "Id Tech 5 stage demo"
- ^ "Jon Olick of id Software siggraph 2008 presentation"
External links
- id Software
- Splash Damage
- John Carmack on MegaTexture
- Arnout van Meer on Quake Wars
- Sparse Virtual Textures by Sean Barrett, a related technique with more technical explanations (video demonstration).
Categories:
Wikimedia Foundation. 2010.