"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

<gizmo> XML Node


XML Node Summary
<gizmo
  name=""
  render="TRUE"
  auto_spin="FALSE"
  >
  <position
    x="0.0"
    y="0.0"
    z="0.0"
    >
  </position>
  <orientation
    pitch="0.0"
    yaw="0.0"
    roll="0.0"
    >
  </orientation>
  <spin_values
    x="0.0"
    y="0.0"
    z="0.0"
    >
  </spin_values>
  <add_child
    name=""
    >
  </add_child>
</gizmo>


<gizmo>

Description
The gizmo is an immaterial object which is used as a pivot point or a reference during animations. It is very useful when developping complex scenes because it makes it possible to accurately visualize, for example, the position of a particular point in the 3d environment. The gizmo is a traditional concept in most of 3d modeling softwares: it is often called helper or dummy object.

gizmo element has 3 attributes and 4 sub-element(s)

Attributes
  • name [STRING]: name of the gizmo
  • render [BOOLEAN]: enables or disables rendering. - Default value = TRUE - Values = TRUE|FALSE
  • auto_spin [BOOLEAN]: enables or disables the rotation around the local axis. The values of the rotation angles are specified with the spin_values element. - Default value = FALSE - Values = TRUE|FALSE

Code sample :

<gizmo name="gizmo01" render="TRUE" auto_spin="FALSE" >
<position x="0.0" y="10.0" z="0.0" />
<orientation pitch="0.0" yaw="0.0" roll="0.0" />
<spin_values x="0.0" y="0.0" z="0.0" />
</gizmo>

<position>

Description
Specifies the gizmo's position.

position element has 3 attributes and 0 sub-element(s)

Attributes
  • x [REAL]: X position - Default value = 0.0
  • y [REAL]: Y position - Default value = 0.0
  • z [REAL]: Z position - Default value = 0.0

<orientation>

Description
Specifies the gizmo's orientation.

orientation element has 3 attributes and 0 sub-element(s)

Attributes
  • pitch [REAL]: rotation angle in degrees around the X axis - Default value = 0.0
  • yaw [REAL]: rotation angle in degrees around the Y axis - Default value = 0.0
  • roll [REAL]: rotation angle in degrees around the Z axis - Default value = 0.0

<spin_values>

Description
Specifies the auto-spin rotation angles around the X, Y and Z axis.

spin_values element has 3 attributes and 0 sub-element(s)

Attributes
  • x [REAL]: rotation angle in degrees around the X axis - Default value = 0.0
  • y [REAL]: rotation angle in degrees around the Y axis - Default value = 0.0
  • z [REAL]: rotation angle in degrees around the Z axis - Default value = 0.0

<add_child>

Description
Allows to add a child to the current gizmo.

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

Attributes
  • name [STRING]: name of the child
Random Projects

Posterization Effect
Posterization Effect

Thermal Vision PostFX
Thermal Vision PostFX

PyOpenGL_LAB
PyOpenGL_LAB


Random Code Samples

Render to texture
Render to texture

Texture - JPG image
Texture - JPG image

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



(C)2009-2010 Geeks3D.com