Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members | Related Pages

Environment Class Reference

Environment presents a scene's global rendering parameters. More...

Inheritance diagram for Environment:

Node Object List of all members.

Detailed Description

Environment presents a scene's global rendering parameters.

Note that multiple scenes can each have their own unique Environment.

Authoring Interface:

        Environment {
            field   SFString    shadingModel        ""
            field   SFString    shadowTechnique     ""
            field   SFDouble    particleTimeFactor  1.0
            field   SFString    detailLevel         "SOLID"
            field   SFDouble    lodBias             1.0
            field   SFColor3f   backgroundColor     black
            field   SFColor3f   ambientColor        0.5 0.5 0.5
            field   SFBoolean   headlight           true
            field   SFNode      camera              Camera {}
            field   SFNode      viewer              Viewer {}
            field   MFNode      viewpoints          []
            field   SFString    sceneManagerType    "GENERIC"
            field   SFURL       worldGeometry       ""
        }

Parameters:
shadingModel specifies the name of a shading model used to render the scene. Possible values are "FLAT", "GOURAUD" or "PHONG". Default value: "GOURAUD"
shadowTechnique specifies the name of the shadow casting technique to be used. Possible values are "SHADOWTYPE_NONE", "SHADOWTYPE_STENCIL_MODULATIVE", "SHADOWTYPE_STENCIL_ADDITIVE", "SHADOWTYPE_TEXTURE_MODULATIVE" Default value: "SHADOWTYPE_NONE"
particleTimeFactor specifies a global rate for all particle system rendering. Default value: 1.0
detailLevel specifies the geometric representation used to render the scene. Possible values are "SOLID", "POINTS" or "WIREFRAME". Default value: "SOLID"
lodBias specifies a global bias for selecting Level of Detail within the scene. Default value: 1.0
backgroundColor specifies a background color for the scene. Default value: 0 0 0
ambientColor specifies overall ambient color lighting for all objects in the scene. Default value: 0.5 0.5 0.5
headlight specifies if a default directional light attached to the camera should be created in the scene. Default value: true
camera the current Camera node used in this scene
viewer the current Viewer used to navigate this scene
viewpoints references to viewpoints in the scene, for use by the Viewer, if it chooses
worldGeometry Sets the source of the 'world' geometry, i.e. the large, mainly static geometry making up the world e.g. rooms, landscape etc.

Functionality:

XXX To be written


Generated on Sat Apr 1 06:08:08 2006 for Emma Content Development Kit by  doxygen 1.4.3