Difference between revisions of "Skybox"
From DoomWiki.org
[unchecked revision] | [unchecked revision] |
m (The Doomsday wiki article for skybox is just a dead redirect... :/) |
(Actually there is documentation for Dday's "sky models") |
||
Line 1: | Line 1: | ||
'''{{wp|Skybox (video games)|Skyboxes}}''' are different methods by which a fully 3D sky can be constructed (instead of the cylinder projection of the normal [[sky]] textures, or the dome projection commonly used in [[:Category:OpenGL ports|OpenGL ports]]). | '''{{wp|Skybox (video games)|Skyboxes}}''' are different methods by which a fully 3D sky can be constructed (instead of the cylinder projection of the normal [[sky]] textures, or the dome projection commonly used in [[:Category:OpenGL ports|OpenGL ports]]). | ||
− | + | Three types of skyboxes exist: texture-based and geometry-based. | |
A texture-based skybox uses {{wp|cube mapping}} to project the sky texture on all six directions (east, west, north, south, up, down). The source images must be distorted in a way that compensates for the cube projection, or the skybox's boxy nature becomes too apparent. Programs such as {{wp|Terragen}} are specialized in creating such source pictures. | A texture-based skybox uses {{wp|cube mapping}} to project the sky texture on all six directions (east, west, north, south, up, down). The source images must be distorted in a way that compensates for the cube projection, or the skybox's boxy nature becomes too apparent. Programs such as {{wp|Terragen}} are specialized in creating such source pictures. | ||
+ | |||
+ | A textured model. Very similar to the above except that the model doesn't have to be a cube and can instead be any shape or even multiple models. | ||
A geometry-based skybox uses a special "[[camera]]" object placed in a part of the level (normally inaccessible to the player) which is used as the point of reference for projecting the sky. This method, basically a type of [[portal]], is usually combined with normal sky or a texture-based skybox. | A geometry-based skybox uses a special "[[camera]]" object placed in a part of the level (normally inaccessible to the player) which is used as the point of reference for projecting the sky. This method, basically a type of [[portal]], is usually combined with normal sky or a texture-based skybox. | ||
Line 10: | Line 12: | ||
==Source ports with skyboxes== | ==Source ports with skyboxes== | ||
− | * [[Doomsday]] and derivatives — | + | * [[Doomsday]] — {{Ddaywiki|Sky|Sky definitions}} New method of defining Sky Models as of 1.9 Beta6 |
+ | * [[Doomsday]] and derivatives — {{Ddaywiki|Map_Info|Map_Info definitions}} Pre 1.9 Beta6 method of defining Sky Models, though it is currently still supported. | ||
* [[Eternity Engine]] — see {{Eterwiki|Portal|portals}} | * [[Eternity Engine]] — see {{Eterwiki|Portal|portals}} | ||
* [[GLBoom+]] — using the {{Zdoomwiki|GLDEFS|GLDEFS|linkonly=1}} method from [[GZDoom]] | * [[GLBoom+]] — using the {{Zdoomwiki|GLDEFS|GLDEFS|linkonly=1}} method from [[GZDoom]] | ||
* [[Vavoom]] — see {{Vvwiki|SKYBOXES|SKYBOXES lump}} | * [[Vavoom]] — see {{Vvwiki|SKYBOXES|SKYBOXES lump}} | ||
* [[ZDoom]] and derivatives — see {{Zdoomwiki|Skybox|skybox}} | * [[ZDoom]] and derivatives — see {{Zdoomwiki|Skybox|skybox}} | ||
− | + | [[Category:New features]] | |
− | [[Category:New features]][[Category:Doomsday]][[Category:Eternity Engine]][[Category:ZDoom]] | + | [[Category:Doomsday]] |
+ | [[Category:Eternity Engine]] | ||
+ | [[Category:ZDoom]] |
Revision as of 16:56, 16 August 2010
Skyboxes are different methods by which a fully 3D sky can be constructed (instead of the cylinder projection of the normal sky textures, or the dome projection commonly used in OpenGL ports).
Three types of skyboxes exist: texture-based and geometry-based.
A texture-based skybox uses cube mapping to project the sky texture on all six directions (east, west, north, south, up, down). The source images must be distorted in a way that compensates for the cube projection, or the skybox's boxy nature becomes too apparent. Programs such as Terragen are specialized in creating such source pictures.
A textured model. Very similar to the above except that the model doesn't have to be a cube and can instead be any shape or even multiple models.
A geometry-based skybox uses a special "camera" object placed in a part of the level (normally inaccessible to the player) which is used as the point of reference for projecting the sky. This method, basically a type of portal, is usually combined with normal sky or a texture-based skybox.
Source ports which have implemented skyboxes may provide either type of skyboxes, or both.
Source ports with skyboxes
- Doomsday — Template:Ddaywiki New method of defining Sky Models as of 1.9 Beta6
- Doomsday and derivatives — Template:Ddaywiki Pre 1.9 Beta6 method of defining Sky Models, though it is currently still supported.
- Eternity Engine — see portals at the Eternity Engine wiki
- GLBoom+ — using the GLDEFS method from GZDoom
- Vavoom — see SKYBOXES lump at the Vavoom wiki (archived)
- ZDoom and derivatives — see skybox at the ZDoom wiki