"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

<include> XML Node


XML Node Summary
<include
  lib=""
  >
</include>


<include>

Description
The include node makes it possible to include other XML files into another given file. This functionality gives the possibility to distribute a source code in several files that are much more understandable because they are smaller. Each included file is considered as a small library (lib to shorten). A lib can contain other inclusions of libs. The same lib file can be included into several different files: in this case, the lib will be considered only once. That has the advantage of facilitating the design and the organization of complex projects. A lib file has the same structure as a standard XML scene file. Just replace the root node by

include element has 1 attributes and 0 sub-element(s)

Attributes
  • lib [STRING]: relative path to the file to be included.

Code sample :

<geexlab>
<include lib="camera.xml" />
<include lib="materials.xml" />
<include lib="meshes.xml" />
<scene name="myScene" />
</geexlab>

and here is a lib file sample:

<geexlab_lib>
<camera name="mainCamera" navigation_mode="FLY" fov="90.0" >
<position x="0.0" y="20.0" z="100.0" />
<lookat x="0.0" y="0.0" z="0.0" w="1.0" />
</camera>
</geexlab_lib>
Random Projects

Depth Buffer Visualization
Depth Buffer Visualization

2D Shockwave Effect
2D Shockwave Effect

Gamma correction PostFX
Gamma correction PostFX


Random Code Samples

Post Direct Rendering
Post Direct Rendering

Skybox
Skybox

Simple PhysX demo
Simple PhysX demo



(C)2009-2010 Geeks3D.com