"No one can be told what GeeXLab is, you have to see it for yourself!"

"Stop Playing Games and Start Making Them! With GeeXLab, your are on your way!"


Quick Links
What is GeeXLab
Download GeeXLab
GeeXLab Requirements
Online Help
Articles and Tutorials
Samples Screenshots
Videos

GeeXLab Changelog

XML Ref. Guide
Scripting Ref. Guide
Code Samples

Purchase GeeXLab
GeeXLab SDK

Shader Library

Follow GeeXLab's News
GeeXLab news, articles, tutorials and demos @ Geeks3D.com
GeeXLab @ Twitter GeeXLab RSS Feed

Subscribe to GeeXLab news by email

[ Back to Geeks3D.com ]

GeeXLab

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


XML Node Summary
<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>

Description
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)

Attributes
  • name [STRING]: name of the skybox
  • render [BOOLEAN]: enables or disables rendering. - Default value = TRUE - Values = TRUE|FALSE

<posx>

Description
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)

Attributes
  • 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>

Description
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)

Attributes
  • 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>

Description
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)

Attributes
  • 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>

Description
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)

Attributes
  • 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>

Description
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)

Attributes
  • 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>

Description
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)

Attributes
  • 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
Random Projects

Lens Circle Effect
Lens Circle Effect

Lens Circle Effect
Lens Circle Effect

Blender Object Viewer
Blender Object Viewer


Random Code Samples

Texture viewer
Texture viewer

Model Cloning
Model Cloning

OBJ Format Loading
OBJ Format Loading



(C)2009-2010 Geeks3D.com