Warning: Undefined array key "HTTP_ACCEPT_LANGUAGE" in /home/clients/50536745d503cc9bd290722a231d5f8f/web/includes/o3_common.php on line 79

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/clients/50536745d503cc9bd290722a231d5f8f/web/includes/o3_common.php on line 79
oZone3D.Net - Demoniak3D Developer Guide




GeeXLab
Current version: 0.45.1
>GeeXLab homepage

FurMark
Current version: 1.30.0
>FurMark homepage

GPU Caps Viewer
Current version: 1.55.0.0
>GPU Caps Viewer homepage

GPU Shark
Current version: 0.26.0.0
>GPU Shark homepage


Blogs
>JeGX's HackLab

Geeks3D's Articles
>GPU Memory Speed Demystified

>Multi-Threading Programming Resources

>GeForce and Radeon OpenCL Overview

>How to Get your Multi-core CPU Busy at 100%

>How To Make a VGA Dummy Plug

>Night Vision Post Processing Filter

PhysX FluidMark
Current version: 1.5.4
>FluidMark homepage

TessMark
Current version: 0.3.0
>TessMark homepage

ShaderToyMark
Current version: 0.3.0
>ShaderToyMark homepage
>ShaderToyMark Scores

Demoniak3D
Current Version: 1.23.0
>Demoniak3D
>Download
>Libraries and Plugins
>Demos
>Online Help - Reference Guide
>Codes Samples
 
oZone3D.Net - Demoniak3D Developer Guide


» Back To Index

The <skybox> node

Function

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.

General syntax

<skybox
	name=""
	render="TRUE" >

	<xneg_face
		filename=""
		uv_map_op="NO_SWAP" />

	<xpos_face
		filename=""
		uv_map_op="NO_SWAP" />

	<yneg_face
		filename=""
		uv_map_op="NO_SWAP" />

	<ypos_face
		filename=""
		uv_map_op="NO_SWAP" />

	<zneg_face
		filename=""
		uv_map_op="NO_SWAP" />

	<zpos_face
		filename=""
		uv_map_op="NO_SWAP" />
</skybox>

skybox element

skybox is the xml tag that defines a skybox node.

Attributes:
  • name - [STR127] - name of the node. This name will make it possible to refer this node throughout the XML script.

  • render - [BOOLEAN] - displays (TRUE) or hides (FALSE) the skybox - default value: TRUE

  • group - [STR127] - name of the group in which to add the current node. A group makes it possible to control the behavior of several objects in a single way.

xpos_face element

xpos_face specifies the texture (image) located on the right (along the x axis in the positive direction). This tag has only xml attributes.

Attributes:
  • filename - [STR255] - location of the texture file of the cubemap face. The path is relating to the xml script.
  • uv_map_op - [ENUM] - specifies the operation to be performed on the texture coordinates in order to correct the texture direction:
    • NO_SWAP: operation without effect: leave the textures coordinates unchanged - default value
    • SWAP_U: inverts the U coordinates: texture is reversed in relation to the axis of the Y.
    • SWAP_V: inverts the V coordinates: texture is reversed in relation to the x axis.
    • SWAP_UV: inverts the U and V coordinates: texture is reversed in relation to the Y and X axis.

xneg_face element

xneg_face specifies the texture (image) located on the left (along the x axis in the negative direction). This tag has only xml attributes:

Attributes:
  • filename - [STR255] - location of the texture file of the cubemap face. The path is relating to the xml script.
  • uv_map_op - [ENUM] - specifies the operation to be performed on the texture coordinates in order to correct the texture direction:
    • NO_SWAP: operation without effect: leave the textures coordinates unchanged - default value
    • SWAP_U: inverts the U coordinates: texture is reversed in relation to the axis of the Y.
    • SWAP_V: inverts the V coordinates: texture is reversed in relation to the x axis.
    • SWAP_UV: inverts the U and V coordinates: texture is reversed in relation to the Y and X axis.

ypos_face element

ypos_face specifies the texture (image) located in top (along the y axis in the positive direction). This tag has only xml attributes:

Attributes:
  • filename - [STR255] - location of the texture file of the cubemap face. The path is relating to the xml script.
  • uv_map_op - [ENUM] - specifies the operation to be performed on the texture coordinates in order to correct the texture direction:
    • NO_SWAP: operation without effect: leave the textures coordinates unchanged - default value
    • SWAP_U: inverts the U coordinates: texture is reversed in relation to the axis of the Y.
    • SWAP_V: inverts the V coordinates: texture is reversed in relation to the x axis.
    • SWAP_UV: inverts the U and V coordinates: texture is reversed in relation to the Y and X axis.

yneg_face element

yneg_face specifies the texture (image) located in bottom (along the y axis in the negative direction). This tag has only xml attributes:

Attributes:
  • filename - [STR255] - location of the texture file of the cubemap face. The path is relating to the xml script.
  • uv_map_op - [ENUM] - specifies the operation to be performed on the texture coordinates in order to correct the texture direction:
    • NO_SWAP: operation without effect: leave the textures coordinates unchanged - default value
    • SWAP_U: inverts the U coordinates: texture is reversed in relation to the axis of the Y.
    • SWAP_V: inverts the V coordinates: texture is reversed in relation to the x axis.
    • SWAP_UV: inverts the U and V coordinates: texture is reversed in relation to the Y and X axis.

zpos_face element

zpos_face specifies the texture (image) located behind the camera (face) - along the axis of Z in positive direction. This tag has only xml attributes:

Attributes:
  • filename - [STR255] - location of the texture file of the cubemap face. The path is relating to the xml script.
  • uv_map_op - [ENUM] - specifies the operation to be performed on the texture coordinates in order to correct the texture direction:
    • NO_SWAP: operation without effect: leave the textures coordinates unchanged - default value
    • SWAP_U: inverts the U coordinates: texture is reversed in relation to the axis of the Y.
    • SWAP_V: inverts the V coordinates: texture is reversed in relation to the x axis.
    • SWAP_UV: inverts the U and V coordinates: texture is reversed in relation to the Y and X axis.

zneg_face element

zneg_face specifies the texture (image) located in front of the camera (back) - along the axis of Z in the negative direction. This tag has only xml attributes:

Attributes:
  • filename - [STR255] - location of the texture file of the cubemap face. The path is relating to the xml script.
  • uv_map_op - [ENUM] - specifies the operation to be performed on the texture coordinates in order to correct the texture direction:
    • NO_SWAP: operation without effect: leave the textures coordinates unchanged - default value
    • SWAP_U: inverts the U coordinates: texture is reversed in relation to the axis of the Y.
    • SWAP_V: inverts the V coordinates: texture is reversed in relation to the x axis.
    • SWAP_UV: inverts the U and V coordinates: texture is reversed in relation to the Y and X axis.


GeeXLab demos


GLSL - Mesh exploder


PhysX 3 cloth demo


Normal visualizer with GS


Compute Shaders test on Radeon


Raymarching in GLSL



Misc
>Texture DataPack #1
>Asus Silent Knight CPU Cooler
Page generated in 0.0037329196929932 seconds.