VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Accessing and Modifying Environment State

VR-Forces simulates global environment conditions, including the time of day, visibility distance, cloud state, wind, and some additional data.

The VR-Forces simulation engine simulates this data, and sends it to the network, just as it does for simulation objects. However, the DtVrfRemoteController class has some specific functionality for retrieving this state, and also setting new environmental state.

DtVrfRemoteController->remoteEnvironmentController() returns the DtRemoteEnvironmentController class, which contains all the current environmental state, as well as the functions that allow the environmental state to be changed from the remote controller. Calling any of the modification messages will send a command message to the simulation engine that is simulating the environment to trigger the change. These changes are then reflected back to the network for each other VR-Forces simulation engine, as well as the GUI and other instances of the remote controller.


Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)