VR-Forces 4.1 Class Documentation
7.1 - Scene Composition

A scene contains an environment, the time of day, and possibly, a terrain.

Scenes are composed on the master display engine by creating a set of distributed visualization objects, which are then created (typically as OSG nodes) on each distributed display engine node. The basic visualization object is the model (DtModel, each of which is owned by a DtSceneObject. One scene object can contain any number of models and provides an interface for positioning and orienting them as a single unit. The distributed scene objects are in turn owned by a variety of facade objects that organize them and provide convenient interfaces to drive and manipulate their appearance. This chapter summarizes the various types of models, scene objects, and their containers, and how to use them to construct scenes.

Data is organized into a structure called a scene graph. To add objects to the scene, you add nodes to the scene graph. For an example of how to add a node to the scene graph, please see the exampleSceneRoot example.

Note
Although you can modify the scene graph as shown in exampleSceneRoot, this is not actually the preferred method. The preferred method is to use the control layer. It modifies the renderer of both the local and any remote display engines. The is called distributed rendering, which synchronizes the scene on all display engines. For details about distributed rendering, please see 5.2 - Distributed Rendering.

[Home] [Models, Model Instances, and Model Definitions >>]


Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)