Mapdev:skybox: Difference between revisions

From Spring
Jump to navigationJump to search
m →Sky Box: resized images.
m added more links, and image spec table.
Line 1: Line 1:
= Sky Box =
= Sky Box =
Is a [http://en.wikipedia.org/wiki/Cube_mapping cubemap] projection of a skyline used to enhance the background of the map.
Is a cubemap projection of a skyline used to enhance the background of the map.
<center>
<center>
{| class="wikitable"
{| class="wikitable"
Line 8: Line 8:
! Example cube cross before assembling to dds cubemap format !! Ingame Result
! Example cube cross before assembling to dds cubemap format !! Ingame Result
|}</center>
|}</center>
= Location of File =
Relative to the root directory of the map:
: ./maps/skybox.dds


= Specification =
= Specification =
Line 28: Line 24:
}
}
</pre></code>
</pre></code>
 
== Image File ==
{| class="wikitable" width="100%"
! width="15%" | File Location
| ./maps/
|-
! File Format
| DXT1 compressed dds cubemap
|-
! Colour Depth
| 4bpp
|-
! Channels
| RGB
|-
! Resolution
| Powers of two, recommended higher than 512x512
|}
= Additional Information =
= Additional Information =
== Howto's ==
== Howto's ==
* [[Mapdev:Howto_skybox]]
* [[Mapdev:Howto_skybox]]
* [http://judegodin.wordpress.com/2011/12/06/how-the-hell-do-i-make-a-cubemap/ howto with 3dsmax]
* [http://judegodin.wordpress.com/2011/12/06/how-the-hell-do-i-make-a-cubemap/ howto with 3dsmax]
* [http://www.cgtextures.com/content.php?action=tutorial&name=cubemaps cgtextures.com]
* [http://wiki.polycount.net/CubeMap#Software polycount.net]
* [http://en.wikipedia.org/wiki/Cube_mapping wikipedia]


[[Category:Mapdev]]
[[Category:Mapdev]]
[[Category:Development]]
[[Category:Development]]

Revision as of 06:57, 8 January 2013

Sky Box

Is a cubemap projection of a skyline used to enhance the background of the map.

Example
Example cube cross before assembling to dds cubemap format Ingame Result

Specification

mapinfo.lua

The relevant sections of the mapinfo.lua file that effect the colour of the ground are in the atmosphere subtable

local mapinfo = {
   ...
   atmosphere = {
      ...
      skyBox = "",
      ...
   },
   ...
}

Image File

File Location ./maps/
File Format DXT1 compressed dds cubemap
Colour Depth 4bpp
Channels RGB
Resolution Powers of two, recommended higher than 512x512

Additional Information

Howto's