The SceneGraph3D Description Language

Home About EaZD Deferred renderer API SceneGraph3D API SceneGraph3D scene description language

Index

| Scene file structure | camera | character | directory | eventmessage | group | input | light | linearmotion | material | node | object | proximitytrigger | skylight | spinner | surface | transformation | user | world |

group

Derived from: Node3D
Class name: Group3D
Placement: Anywhere
Description: It is the basic container node (collection) for grouping other nodes. The contained nodes are placed within the begin/end tags of the group (or any of its subclasses) using the default XML nesting style.
Special notes: -
Inherited attributes: name, active, visible
New attributes:
attribute type description
- - -
Events:
event name condition
- -
Inherited events: -
New messages:
attribute value description
- - -
Inherited messages: active, visible, hide, show, deactivate, enable, activate, disable
Redefined messages: -
Obsolete messages: -


Example

<world ambient_occlusion="ssao" bloom="yes" shadows="disk" 
       ao_radius="6" ambient="0.3 0.3 0.3" defocus="yes">
  
    <camera name="first_person" apperture="50.0" 
            focal_distance ="30.0" focal_range="30.0"
            near="2.0" far="1000" follow="Myself" primary="true">
    </camera> 

    <group name="wolf">
        <object name="wolf_part1" file="fur.obj"></object>
        <object name="wolf_part2" file="fangs.obj"></object>
        <object name="wolf_part3" file="body.obj"></object>
    </group>
 
    <user name="Myself" control="navigate" speed="2.0" turn="0.5"
          position="0,10,100" lookat="0,10,0" input="Console">
    </user>

    <input name="Console" type="mousekeyboard">
    </input>
</world>

Last update: 6 Feb. 2009