Skip to main content
Skip table of contents

Precipitation

Precipitation Overview


The purpose of the precipitation feature is to simulate some of the various weather conditions.

Visual Examples

Rain set to value 1

Rain set to value 5

Snow set to value 1

Snow set to value 5

Precipitation Configuration


Precipitation Token Configuration

Token NameTypeDefault ValueAccepted ValuesCategoryDescription
AutoCloudCulturalIllumBOOLOFFON, OFF, 1, 0, TRUE, FALSERendering Weather
AutoCloudCulturalIllumCountFLOAT25000-FLOAT_MAX to FLOAT_MAX, inclusiveRendering Weather
AutoCloudCulturalIllumFactorFLOAT1-FLOAT_MAX to FLOAT_MAX, inclusiveRendering Weather
AutoCloudCulturalIllumViewCountFLOAT15000-FLOAT_MAX to FLOAT_MAX, inclusiveRendering Weather
BlackSkyBOOLOFFON, OFF, 1, 0, TRUE, FALSERendering Weather
CloudCulturalIllumDefaultFLOAT0-FLOAT_MAX to FLOAT_MAX, inclusiveRendering Weather
CloudMoonIlluminationFactorFLOAT10 to 1, inclusiveRendering WeatherFactor to control moon cloud/fog illumination in OTW/CCD
DisableCloudSortBOOLOFFON, OFF, 1, 0, TRUE, FALSERendering Weather
InsideCloudVisibilityFactorFLOAT1

Greater than 0 Less than or equal to FLOAT_MAX

( 0 < x <= FLOAT_MAX )

Rendering Weather
LayeredHazeColorsBOOLON

ON, OFF, 1, 0, TRUE, FALSE

Rendering Weather

Sets whether layered haze colors are used If: 1) OTW or RADAR 2) Not Planter 3) HDRLighting is OFF or ON. Ignored and implicitly forced ON for sensor types where HDRLighting ADVANCED is active. Ignored and implicitly forced OFF if: HDRLighting is OFF or ON, and 1) Sensor type != OTW or RADAR or 2) Is Planter.

LayeredHazeDensityInitValueFLOAT0.66

-FLOAT_MAX to FLOAT_MAX, inclusive

Rendering Weather


LightInsideCloudRangeFLOAT100

Greater than 0 Less than or equal to FLOAT_MAX

( 0 < x <= FLOAT_MAX )

Rendering Weather


LightningIntensityFactorFLOAT1

-FLOAT_MAX to FLOAT_MAX, inclusive

Rendering Weather


RainColorFactorFLOAT1

-FLOAT_MAX to FLOAT_MAX, inclusive

Rendering Weather


Precipitation Data Configuration

None.

Precipitation Usage


Precipitation ICD Interface

Precipitation is broken up into two main ICD parts.  The particle effect is controlled by rain or snow while the scene illumination and visibility effect is controlled by the inten_rain variable.  By default the scene illumination and visibility effect is set to 

Nova Variable

Description

ios2ig.dat.rain

Severity level of the rain

1: Least Severe - 5: Most Severe

ios2ig.dat.inten_rain

0.0 - 1.0

ios2ig.dat.snow

Severity level of the snow

1: Least Severe - 5: Most Severe

Precipitation Runtime Operation

Runtime Scenario - Enabling Rain / Snow


If using AeHost:

  1. Locate the Precipitation section.
  2. To enable rain:
    1. Locate Rain Enable, Severity and click its checkbox; change the value to 3.
  3. To enable snow:
    1. Location Snow Enable, Severity and click its checkbox; change the value to 3.


If setting values directly in Spy:

  1. Set ios2ig.dat.rain to 3.
  2. Set ios2ig.dat.inten_rain  to 1.
    or
  3. Set ios2ig.dat.snow to 3.
  4. Set ios2ig.dat.inten_rain to 1.

Precipitation CIGI Packets

Component Control Packet for Weather Control

Supports portions of the standard CigiWeatherCtrlV3 packet with some minor modifications. Most basic controls for environment and defaults are performed through standard CigiAtmosCtrl packet.

CIGI ClassCigiWeatherCtrlV3
Packet ID

12

Packet Size (bytes)

56

ParameterTypeDescriptionRange
Layer ID

unsigned int8

This parameter specifies the weather layer to which the data in this packet are applied. This parameter also determines the type of aerosol contained within the layer.


Values 0 through 9 are defined as standard weather layer types. Values beyond this range are defined in the IG configuration. 


0 = Ground Fog

1 = Cloud Layer 1

2 = Cloud Layer 2

3 = Cloud Layer 3

4 = Rain

5 = Snow

6 = Sleet

7 = Hail

8 = Sand

9 = Dust


Aechelon Extensions

10 = Lightning

11 = Sea State

12 = Haze

13 = Windshield Wipes

14 = Tide Level

15 = Patchy Fog

16 = Wet Runway

17 = Sea Current

18 = Alpenglow

19 = Wind Layer 1

20 = Wind Layer 2

21 = Wind Layer 3

22 = Wind Layer 4

0 - 255

Layer IDWeather EffectSpyClient MappingSupported FieldsDescription
0Ground Fogios2ig.dat.fogWeather EnableOff / On Flag (0, 1)
ios2ig.dat.fog_layer_floorBase Elevation

Top altitude of full fog where visibility is equal to Visibility Range.

(The fog base always extends to the ground - ownship cannot punch below layer).

See Ground Fog Characteristics.

ios2ig.dat.fog_layer_ceiling

Thickness

(Summed with base elevation)

Thickness of transition band between Base Elevation (full fog) and no fog.

See Ground Fog Characteristics.

ios2ig.dat.fog_layer_range

Visibility Range

Visibility range within ground fog.

1Cloud Layer 1N/AWeather EnableOff / On Flag (0, 1)
ios2ig.dat.cloud_layer1Cloud TypeSee Cloud Types.
7th bit of ios2ig.dat.cloud_layer1Scud EnableOff / On
ios2ig.dat.cloud_thick1TransitionTransition region for scud.
ios2ig.dat.cloud_bottom1Base ElevationLowest Cloud level (meters).

ios2ig.dat.cloud_height1

Top Height

(Summed with thickness)

For types 3 and 9 - 12: Top height of cloud layer (Base Elevation + Thickness).

Thickness ignored for type 10.

All other types: Transition layer thickness - these clouds are 2D.

ios2ig.dat.cloud_layer_color1Severity

Color Enumeration

0: Default

1: Darkest - 4: Lightest

ios2ig.dat.cloud_layer_density1

Coverage (Types 9 - 12 only)

Density: 0 - 100 (Less Dense - More Dense).

ios2ig.dat.cloud_layer_softness1Aerosol (Types 9 - 12 only)Softness: -127 - 127 (Sharper Edge - Softer Edge). 0 is default.
2Cloud Layer 2N/AWeather EnableOff / On Flag (0, 1)
ios2ig.dat.cloud_layer2Cloud TypeSee Cloud Types.
7th bit of ios2ig.dat.cloud_layer2Scud EnableOff / On
ios2ig.dat.cloud_thick2TransitionTransition region for scud.
ios2ig.dat.cloud_bottom2Base ElevationLowest Cloud level (meters).

ios2ig.dat.cloud_height2

Top Height

(Summed with thickness)

For types 3 and 9 - 12: Top height of cloud layer (Base Elevation + Thickness).

Thickness ignored for type 10.

All other types: Transition layer thickness - these clouds are 2D.

ios2ig.dat.cloud_layer_color2Severity

Color Enumeration

0: Default

1: Darkest - 4: Lightest

ios2ig.dat.cloud_layer_density2

Coverage (Types 9 - 12 only)

Density: 0 - 100 (Less Dense - More Dense)

ios2ig.dat.cloud_layer_softness2Aerosol (Types 9 - 12 only)

Softness: -127 - 127 (Sharper Edge - Softer Edge)

0 is default

3Cloud Layer 3N/AWeather EnableOff / On Flag (0, 1)
ios2ig.dat.cloud_layer_color3Severity

Color Enumeration

0: Default

1: Darkest - 4: Lightest

ios2ig.dat.cloud_layer_density3

Coverage (Types 9 - 12 only)

Density: 0 - 100 (Less Dense - More Dense)

ios2ig.dat.cloud_layer_softness3Aerosol (Types 9 - 12 only)Softness: -127 - 127 (Sharper Edge - Softer Edge). 0 is default.
4RainN/AWeather EnableOff / On Flag (0, 1)

ios2ig.dat.rain

ios2ig.dat.inten_rain

Severity

Rain Severity

1: Less Severe - 5: More Severe

5SnowN/AWeather EnableOff / On Flag (0, 1)
ios2ig.dat.snowSeverity

Snow Severity

1: Less Severe - 5: More Severe

10Lightning (Aechelon Extension)ios2ig.dat.lightningWeather EnableOff / On Flag (0, 1)
Severity1: Less Severe - 3: More Severe
11Sea State (Aechelon Extension)N/AWeather EnableOff / On Flag (0, 1)
ios2ig.dat.sea_state.sea_stateSeverity

Sea State

1: Calm - 5: Not Calm

ios2ig.dat.sea_state.sea_roughnessThickness

Sea Roughness

1: Less Rough - 5: More Rough

ios2ig.dat.sea_state.sea_wind_speedHorizontal Wind Speed

Wind speed for waves (knots).

ios2ig.dat.sea_state.sea_wind_dirWind Direction

Wind direction for waves (degrees).

12Haze (Aechelon Extension)N/AWeather Enable

Off / On Flag (0, 1)

ios2ig.dat.visib_general

ios2ig.dat.visib_fog

ios2ig.dat.fog_range

Visibility Range

Range (meters).

ios2ig.dat.layered_haze_intensity

Coverage

Intensity of layered haze effect (0.0 - 1.0).

ios2ig.dat.haze_tint

Thickness

De-saturate blue tint of haze effect (0.0 - 1.0). 0.0 is default value.

13Windshield Wipers (Aechelon Extension)

N/A

Weather Enable

Thickness = (0.0 - 1.0) Speed

ios2ig.dat.windshield_wipers

Thickness

Speed

0.0: Slower - 1.0: Faster

14Tide Level (Aechelon Extension)

ios2ig.dat.sea_state.tide_level

Thickness

Tide (feet).

15Patchy Fog (Aechelon Extension)

N/A

Weather Enable

Off / On Flag (0, 1)

ios2ig.dat.fog

Coverage

Coverage Type

See Patchy Fog Coverage Types.

ios2ig.dat.fog_layer_floor

Base Elevation

Top altitude of full fog where visibility is equal to Visibility Range (the fog base always extends to the ground, 0 MSL)

ios2ig.dat.fog_layer_ceiling

Thickness

(Summed with base elevation)

Thickness of transition band between Base Elevation (full fog) and no fog

See Ground Fog Characteristics.

ios2ig.dat.fog_layer_range

Visibility Range

Range.

ios2ig.dat.varying_fog

Transition

Variance

0.0 - 1.0

16Wet Runway (Aechelon Extension)

N/A

Weather Enable

Off / On Flag (0, 1)



ios2ig.dat.wet_runway

Severity

Effect enumeration

0: Auto

1: Clear

2: Rain

3: Snow

4: Ice

5: Patchy Rain

6: Patchy Snow

7: Patchy Ice

8: Sand

17Sea Current (Aechelon Extension)

N/A

Weather Enable

Off / On Flag (0, 1)

ios2ig.dat.sea_state.sea_current_dir

Wind Direction

Wind direction for sea targets (degrees).

ios2ig.dat.sea_state.sea_current_speed

Horizontal Wind Speed

Wind speed for sea current (knots).

ios2ig.dat.sea_state.sea_current_amplitude

Base Elevation

Wave amplitude in meters.

ios2ig.dat.sea_state.sea_current_period

Thickness

Wave period in meters.

18Alpenglow (Aechelon Extension)

N/A

Weather Enable

Off / On Flag (0, 1)

ios2ig.dat.alpenglow

Thickness

Alpenglow effect intensity

0.0 - 1.0

19Wind Layer 1 (Aechelon Extension)

N/A

Weather Enable

Off / On Flag (0, 1)

Note that the Atmosphere Control packet's wind settings set all wind layers; to set them individually, you must send this packet after the Atmosphere Control packet

h2ig.dat.wind_dir[0]

Wind Direction

Wind direction (degrees).

h2ig.dat.wind_veloc[0]

Horizontal Wind Speed

Wind speed (knots).

h2ig.dat.wind_layer_hgt[0]

Base Elevation

Wave height in meters.

20Wind Layer 2 (Aechelon Extension)

N/A

Weather Enable

Off / On Flag (0, 1)

Note that the Atmosphere Control packet's wind settings set all wind layers; to set them individually, you must send this packet after the Atmosphere Control packet

h2ig.dat.wind_dir[1]

Wind Direction

Wind direction (degrees).

h2ig.dat.wind_veloc[1]

Horizontal Wind Speed

Wind speed (knots).

h2ig.dat.wind_layer_hgt[1]

Base Elevation

Wave height in meters.

21Wind Layer 3 (Aechelon Extension)

N/A

Weather Enable

Off / On Flag (0, 1)

Note that the Atmosphere Control packet's wind settings set all wind layers; to set them individually, you must send this packet after the Atmosphere Control packet

h2ig.dat.wind_dir[2]

Wind Direction

Wind direction (degrees).

h2ig.dat.wind_veloc[2]

Horizontal Wind Speed

Wind speed (knots).

h2ig.dat.wind_layer_hgt[2]

Base Elevation

Wave height in meters.

22Wind Layer 4 (Aechelon Extension)

N/A

Weather Enable

Off / On Flag (0, 1)

Note that the Atmosphere Control packet's wind settings set all wind layers; to set them individually, you must send this packet after the Atmosphere Control packet

h2ig.dat.wind_dir[3]

Wind Direction

Wind direction (degrees).

h2ig.dat.wind_veloc[3]

Horizontal Wind Speed

Wind speed (knots).

h2ig.dat.wind_layer_hgt[3]

Base Elevation

Wave height in meters.

Component Control Packet for 3D Clouds

Structure TypeCloud3DHV
Packet ID241
Packet Size (bytes)54
SpyClient Lookuphost2pcnova → h2ig.dat.fx_data.cloud3D
ParameterTypeDescriptionRange
Cloud3D_ActivecharEnable or disable 3D cloud.

ON, OFF

Type_Cloud3DcharSee 3D Cloud Types.

1 - MAX_3DCLOUD_TYPE

Evol_Cloud3DcharSee 3D Cloud Evolution Types.1 - MAX_3DCLOUD_TYPE
Rain_Cloud3DcharEnable or disable rain shaft.

ON, OFF


Lightning_Cloud3D


char


Enables cloud to emit lightning if lightning mode is enabled in the weather structure.

-1 = OFF

0 = AUT0

1 = ON

Siz_Cloud3DcharSize (radius) in meters.

0.0 - MAXFLOAT

Scud_Cloud3DfloatScud control.

0.0 - 1.0

Height_Cloud3DfloatVertical size (radius) in meters; if 0.0, same as siz_cloud3D.

0.0 - MAXFLOAT


Coord_Cloud3D

latdoubleCloud center latitude.

Valid latitude

londoubleCloud center longitude.

Valid longitude

altdoubleCloud altitude in feet.

0.0 - MAXDOUBLE

Precipitation FX Tuning

FX Tuning for Precipitation

Token NameDefault ValueAccepted ValuesDescription

Token Source File

SNOW_SPEED18.0
Scales snow velocity.

Precipitation.fx

RAIN_SPEED70.0
Scales rain velocity.
RAIN_COLOR_SCALE-0.02
Controls rain color.
RAIN_COLOR_BIAS1.3
Controls rain color.
RAIN_ALPHA_SCALE0.35
Controls rain transparency.
RAIN_ALPHA_BIAS0.15
Controls rain transparency.
NUM_PARTICLES10000
Maximum number of precipitation particles.
MIN_PARTICLES4000
Minimum number of precipitation particles.
GLOBAL_SPEED_FACTOR2.4
Scales precipitation velocity.
SNOW_ALPHA0.6
Controls snow transparency.
MIN_SNOW_SIZE3.0
Smallest snowflake size.
MAX_SNOW_SIZE25.0
Largest snowflake size.
CUBE_WIDTH400.0
Specifies how large of a region around the ownship has precipitation.
FADE_BAND_THICKNESS75.0
Controls the size of the fade band.
RAIN_LENGTH3.0f
Controls the length of a raindrop.
RANDOM_SEED17835510
Seeds the random number generator used to place precipitation.
SNOW_TEXTURESYSTX_STAR
Name of the snow texture.
RAIN_WIND_FACTOR2.0
Controls how wind affects rain.
SNOW_WIND_FACTOR1.0
Controls how wind affects snow.
OWNSHIP_VELOCITY_FILTER0.1

At 1.0, there is no filtering of velocity across frames.

Smaller values mean more smoothing / filtering.



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.