Mapdev:Howto skybox: Difference between revisions

From Spring
Jump to navigationJump to search
Smoth (talk | contribs)
No edit summary
Smoth (talk | contribs)
No edit summary
Line 1: Line 1:
=Skybox creation =
{|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 ==
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 9: Line 9:
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.  
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.  


[[Image:Sky1.gif]]
[[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 face 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 notes =
 
{|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;"|
==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...

Revision as of 08:06, 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.