Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Editing Map compiling

From Quake Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
'''Map Compiling''' is the process of converting a [[level]] from a [[Quake file formats|map file]], which generated by a [[level editor]], into a [[Quake file formats|bsp file]], which is ready to be played in-game.  It generally consists of three steps: [[QBSP]], [[Light (map compiling)|Light]], and [[Vis]].
+
'''Map Compiling''' is the process of converting a [[level]] from a [[map file]], which generated by a [[level editor]], into a [[bsp file]], which is ready to be played in-game.  It generally consists of three steps: [[QBSP]], [[Light]], and [[Vis]].
  
 
==QBSP==
 
==QBSP==
 
{{Main|QBSP}}
 
{{Main|QBSP}}
'''QBSP''' is the first stage of map compilation.  It is the process that reads the map file and generates the bsp, and in doing so calculates all of the geometry and collision data for the level.  It also extracts any needed textures from the [[wad file|wad files]] and repackages them into the bsp file.  After this step, the level can be loaded into the game engine.  However, it will not have any lighting (everything will be fully bright) or visibility (the game might run slowly) data.
+
'''QBSP''' is the first stage of map compilation.  It is the process that reads the map file and generates the bsp, and in doing so calculates all of the geometry and collision data for the level.  It also extracts any needed textures from the [[wad file|wad files]] and repackages them into the bsp file.  After this step, the level can be loaded into the game engine.  However, it will not have any lighting or visibility data.
 +
 
 +
==Light==
 +
{{Main|Light (map compiling)}}
 +
'''Light''' is the stage of map compilation that calculates [[lightmap|lightmaps]] for the level.  Using the light entities from the [[entity lump]] of the bsp file, it precalculates the lighting on every surface in the level, and saves that lighting as lightmaps in the bsp file.
  
 
==Vis==
 
==Vis==
Line 9: Line 13:
 
'''Vis''' is the stage of map compilation that calculates [[PVS]] data for the level.  With PVS data, the engine need only draw those parts of the level (and those entities) that might be visible from the current player location.  This performance optimization was necessary to allow levels as large and as complex as Quake's on the computers of the day.  And even today, most games use equivalent systems to allow levels, props, and NPCs to be as detailed as possible.
 
'''Vis''' is the stage of map compilation that calculates [[PVS]] data for the level.  With PVS data, the engine need only draw those parts of the level (and those entities) that might be visible from the current player location.  This performance optimization was necessary to allow levels as large and as complex as Quake's on the computers of the day.  And even today, most games use equivalent systems to allow levels, props, and NPCs to be as detailed as possible.
  
==Light==
+
==Other Compiling Tools==
{{Main|Light (map compiling)}}
+
In addition to the above three tools, some mappers need additional tools for their specific develompent pipeline.
'''Light''' is the stage of map compilation that calculates [[lightmap|lightmaps]] for the level.  Using the light entities from the [[entity lump]] of the bsp file, it precalculates the lighting on every surface in the level, and saves that lighting as lightmaps in the bsp file.
+
 
 +
===Map Converters===
 +
A number of games based on [[id Software]]'s technology use map files as their level source format, but these files differ in format from game to gameMap converters are used to convert map files from one format to another, so that mappers can use a level editor that does not natively support Quake.
 +
 
 +
===Skip===
 +
Skip tools are standalone programs that can remove all surfaces textured with a [[skip texture]] from a level, so that they are not rendered in-game.  This requires a seperate tool because skip textures are not supported by any QBSP version.
  
==See Also==
+
==Links==
* [[Mapping tools]]
+
* Bengt Jardrup's [http://user.tninet.se/~xir870k/ enhanced versions of TxQBSP/TreeQBSP, RVis, Light]
* http://www.gamers.org/dEngine/quake/Qbsp/
+
* LordHavoc's [http://icculus.org/twilight/darkplaces/download.html Hmap2]
* http://web.archive.org/web/20070716175443/http://www.visi.com/~jlowell/tqu/utils.html
 

Please note that all contributions to Quake Wiki are considered to be released under the GNU Free Documentation License 1.3 or later (see Quake Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)

Template used on this page: