[ Back to Geeks3D.com ]
 GeeXLab
Laboratory for Real Time 3D Programming (prototyping and demos) OpenGL, Lua, Python, GLSL, PhysX and more...Reference Guide XML Nodes
» Back to homepage
» Back to Developer's Guide Index
<skybox> XML Node
<skybox
name=""
render="TRUE"
>
<posx
filename=""
uv_map_op="NO_SWAP"
>
</posx>
<negx
filename=""
uv_map_op="NO_SWAP"
>
</negx>
<posy
filename=""
uv_map_op="NO_SWAP"
>
</posy>
<negy
filename=""
uv_map_op="NO_SWAP"
>
</negy>
<posz
filename=""
uv_map_op="NO_SWAP"
>
</posz>
<negz
filename=""
uv_map_op="NO_SWAP"
>
</negz>
</skybox>
<skybox>
The skybox node allows to create a skybox. A skybox is a cube made up of 6 images (textures) of
which the 6 internal faces are displayed behind all the other objects of the 3d scene, thus giving the illusion of a realistic 3d environment.
The center of the skybox is aligned on the position of the camera making it impossible to reach the edges of the skybox.
skybox element has 2 attributes and 6 sub-element(s)
- name [STRING]: name of the skybox
- render [BOOLEAN]: enables or disables rendering. - Default value = TRUE - Values = TRUE|FALSE
<posx>
specifies the texture located on the right (along the x axis in the positive direction).
posx element has 2 attributes and 0 sub-element(s)
- filename [STRING]: relative path to texture file name.
- uv_map_op [ENUM]: specifies the operation to be performed on the texture coordinates in order to correct the texture direction - Default value = NO_SWAP - Values = NO_SWAP | SWAP_U | SWAP_V | SWAP_UV
<negx>
specifies the texture located on the left (along the x axis in the negative direction).
negx element has 2 attributes and 0 sub-element(s)
- filename [STRING]: relative path to texture file name.
- uv_map_op [ENUM]: specifies the operation to be performed on the texture coordinates in order to correct the texture direction - Default value = NO_SWAP - Values = NO_SWAP | SWAP_U | SWAP_V | SWAP_UV
<posy>
specifies the texture located on the top (along the y axis in the positive direction).
posy element has 2 attributes and 0 sub-element(s)
- filename [STRING]: relative path to texture file name.
- uv_map_op [ENUM]: specifies the operation to be performed on the texture coordinates in order to correct the texture direction - Default value = NO_SWAP - Values = NO_SWAP | SWAP_U | SWAP_V | SWAP_UV
<negy>
specifies the texture located on the bottom (along the y axis in the negative direction).
negy element has 2 attributes and 0 sub-element(s)
- filename [STRING]: relative path to texture file name.
- uv_map_op [ENUM]: specifies the operation to be performed on the texture coordinates in order to correct the texture direction - Default value = NO_SWAP - Values = NO_SWAP | SWAP_U | SWAP_V | SWAP_UV
<posz>
specifies the texture located on the front (along the z axis in the positive direction).
posz element has 2 attributes and 0 sub-element(s)
- filename [STRING]: relative path to texture file name.
- uv_map_op [ENUM]: specifies the operation to be performed on the texture coordinates in order to correct the texture direction - Default value = NO_SWAP - Values = NO_SWAP | SWAP_U | SWAP_V | SWAP_UV
<negz>
specifies the texture located on the back (along the z axis in the negative direction).
negz element has 2 attributes and 0 sub-element(s)
- filename [STRING]: relative path to texture file name.
- uv_map_op [ENUM]: specifies the operation to be performed on the texture coordinates in order to correct the texture direction - Default value = NO_SWAP - Values = NO_SWAP | SWAP_U | SWAP_V | SWAP_UV
|