Mapdev:Howto skybox: Difference between revisions

From Spring
Jump to navigationJump to search
Smoth (talk | contribs)
No edit summary
Smoth (talk | contribs)
mNo edit summary
Line 1: Line 1:
{|border="0" cellpadding="4" cellspacing="10" width="100%"
{|border="0" cellpadding="4" cellspacing="10" width="100%"
|width="50%" valign="top" style="background: #999999; border: 1px #aaa solid;"|
|width="50%" valign="top" style="background: #999999; border: 1px #aaa solid;"|
-I am working on this... do not edit it please. -Smoth
'''-I am working on this... do not edit it please. -Smoth'''
 
----
 
==Skybox Information ==
==Skybox Information ==
This is going to contain notes about the creation of skyboxes aka cubemaps.  
This is going to contain notes about the creation of skyboxes aka cubemaps.  
Line 11: Line 14:
[[Image:Sky1.gif|center|see how each side of the cube is it's own image]]
[[Image:Sky1.gif|center|see how each side of the cube is it's own image]]
Here an image is being applied to the cubemap. See how each side of the cube is an image?
Here an image is being applied to the cubemap. See how each side of the cube is an image?
----


==Skybox creation ==
==Skybox creation ==


|}
{|border="0" cellpadding="4" cellspacing="10" width="100%"
|width="50%" valign="top" style="background: #999999; border: 1px #aaa solid;"|
==Skybox notes ==
==Skybox notes ==
----
Do not do these:
Do not do these:
sizes that are not to the power of two...
sizes that are not to the power of two...
Line 25: Line 26:


The reason: in my first release I used a series of 6 1000X1000 images and the ati video cards were having horrid fps. So avoid it by using 512X512.
The reason: in my first release I used a series of 6 1000X1000 images and the ati video cards were having horrid fps. So avoid it by using 512X512.
|}
|}

Revision as of 08:09, 25 April 2007

-I am working on this... do not edit it please. -Smoth


Skybox Information

This is going to contain notes about the creation of skyboxes aka cubemaps.

Skyboxes are created with a series of 6 separate images which form what we call a cube map. Below is an example of the skybox images that I created for a map.

this is what we call a cube cross
this is what we call a cube cross

Despite what you will see on many sites you do not need a cube cross for the creation of your skybox. You will be using six individual images. Each image represents a different face on an imaginary cube. Each face is applied to the cube that surrounds the map.

see how each side of the cube is it's own image
see how each side of the cube is it's own image

Here an image is being applied to the cubemap. See how each side of the cube is an image?


Skybox creation

Skybox notes


Do not do these: sizes that are not to the power of two... 'i.e. use sizes like, 64x64,128X128,256X256 or 512X512'

The reason: in my first release I used a series of 6 1000X1000 images and the ati video cards were having horrid fps. So avoid it by using 512X512.