NVG Stimulated
NVG Stimulated Cluster Definition
A sensor channel like the NVG stimulated channel will differ from a basic OTW channel in several ways. The IGMODE is set to SENSOR and the channel has a Weapon ID defined.
##########################################
# NVG STIMULATED Channel
##########################################
CH##_NAME NVG-1
CH##_IGMODE SENSOR
CH##_WINSIZE_X 1920
CH##_WINSIZE_Y 1200
CH##_PIXEL_DEPTH 32
CH##_ZBUFFER_DEPTH 32
CH##_STENCIL_DEPTH 0
CH##_MULTISAMPLE_MODE 8x
#FOV for Monitors (1.6 aspect ratio)
FOV_CH##_X_L 30.0
FOV_CH##_X_R 30.0
FOV_CH##_Y_T 18.75
FOV_CH##_Y_B 18.75
OFFSET_HOR_CH## 0.0
OFFSET_VERT_CH## 0.0
OFFSET_ROLL_CH## 0.0
CH##_WEAPON_ID 0
CH##_SENSORHOST_RETURN ON
Since the NVG Stimulated channel is a sensor channel a Weapon ID is assigned to the channel. A weapon definition matching that ID is also required within the cluster.cfg file. For an NVG Stimulated Channel the following weapon definition is recommended.
##########################################
#Weapon 0 - NVG Stim
##########################################
Weapon0_Name "NVG Stim"
Weapon0_SensorIdList 0
Weapon0_SensorHostDllList sensorHost30.dll
Weapon0_ConfigSensorHostInterfaceFileList config_sensorhost_if_stim_OVERRIDE.cfg
NVG Stimulated Channel Override
Like all channels an override file is required to define additional properties of the channel. The following file snippet will define a basic NVG Stimulated channel
INCLUDE versions/n8.0/renderNVGStim.cfg
INCLUDE versions/n8.0/nucleus.cfg
NVG Stimulated Master Channel
If several NVG Stimulated Channels are defined to represent a multichannel stimulated NVG scene then a master channel needs to be defined. This channel will differ from the rest of the files in two ways. First the CHx_SENSORHOST_RETURN token will be set to on.
CH##_SENSORHOST_RETURN ON
Second, the render override will include the master version of the NVGStim versions file.
INCLUDE versions/n8.0/renderNVGStimMaster.cfg
INCLUDE versions/n8.0/nucleus.cfg