"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

<scene> XML Node


XML Node Summary
<scene
  name=""
  archive_filename=""
  display_fps=""
  show_ref_grid=""
  vsync=""
  msaa=""
  physx_mode=""
  >
  <window_size
    width=""
    height=""
    width_offset=""
    height_offset=""
    fullscreen=""
    >
  </window_size>
  <background
    filename=""
    render=""
    >
  </background>
</scene>


<scene>

Description
The purpose of the scene node is to install the general framework of a 3d scene : background color, window size, display of various informations. The scene is the main node since it is inside the 3d scene that everything takes place. The scene has also another fundamental role: it offers the absolute frame of reference (also called world coordinates) which makes it possible to position the different objects.

scene element has 7 attributes and 2 sub-element(s)

Attributes
  • name [STRING]: name of the HUD
  • archive_filename [STRING]: relative path to the ZIP file containing demo data.
  • display_fps [BOOLEAN]: displays the FPS (frames per second). - Values = TRUE ,FALSE
  • show_ref_grid [BOOLEAN]: displays the reference grid. - Values = TRUE, FALSE
  • vsync [BOOLEAN]: enables or disables vertical synchronization. - Values = TRUE, FALSE
  • msaa [BOOLEAN]: enables or disables MSAA (multisample anti-aliasing). - Values = TRUE, FALSE
  • physx_mode [STRING]: selects the PhysX mode: CPU or GPU. - Values = PHYSX_CPU, PHYSX_GPU

<window_size>

Description
Specifies the size of the window.

window_size element has 5 attributes and 0 sub-element(s)

Attributes
  • width [INTEGER]: window width
  • height [INTEGER]: window height
  • width_offset [INTEGER]: X-offset of the window position.
  • height_offset [INTEGER]: X-offset of the window position.
  • fullscreen [BOOLEAN]: switches from windowed mode to fullscreen mode.

<background>

Description
Specifies an image for scene background.

background element has 2 attributes and 0 sub-element(s)

Attributes
  • filename [BOOLEAN]: relative path to the background image.
  • render [INTEGER]: enables (TRUE) or disables (FALSE) the render of the background image.
Random Projects

Gamma correction PostFX
Gamma correction PostFX

Chromatic Aberration
Chromatic Aberration

Depth Buffer Visualization
Depth Buffer Visualization


Random Code Samples

Post Direct Rendering
Post Direct Rendering

Bloom PostFX
Bloom PostFX

HUD (Head Up Display)
HUD (Head Up Display)



(C)2009-2010 Geeks3D.com