Rise
The Vieneo Province
Loading...
Searching...
No Matches
Exterior Rain11 tests

Checks native exterior rain motion, density, rendering and parity against the reference model.

Subsystem: Rain, windshields and wipers
Fixture/harness: exteriorrain11tests
Setup: Explicit setup symbols: Fixture. The standalone ExteriorRain11Tests harness owns the inputs, local helpers and assertion sink used by the case files below. Fixture is scoped to this harness; similarly named fixtures in other executables are independent.

Build/entry point: Tests/ExteriorRain11Tests.vcxproj; declared configurations: Debug|Win32, Release|Win32.

ExteriorRain11Tests.cpp

Source: Tests/ExteriorRain11Tests.cpp

Verify Physical Motion

Fixture: Exterior Rain11 tests
Case symbol: VerifyPhysicalMotion
Source: Tests/ExteriorRain11Tests.cpp:16

Test
Verify Physical Motion: Vieneo large drops fall 5.90-6.19 m/s at 30/60/144 FPS; Earth calibration recovers measured 4 mm drop speed; denser Vieneo air slows rain; lower density increases terminal speed.
Source check messages (including original failure wording)

  • Vieneo large drops fall 5.90-6.19 m/s at 30/60/144 FPS
  • Earth calibration recovers measured 4 mm drop speed
  • denser Vieneo air slows rain; lower density increases terminal speed
  • snow retains its original motion

Compare

Fixture: Exterior Rain11 tests
Case symbol: Compare
Source: Tests/ExteriorRain11Tests.cpp:89

Test
Checks rain-model parity and visibly rendered precipitation, including doubled storm density with unchanged snow/lighter-rain budgets.
Source check messages (including original failure wording)

  • drop count parity
  • storm density doubles while snow and lighter rain retain their budgets
  • bounded advection parity
  • reference target
  • reference DSV
  • reference clear
  • reference begin
  • reference rain draw
  • reference end
  • reference read
  • reference map
  • native rain draw
  • native read
  • rain reference was not visibly rendered
  • rain pixel parity

Save

Fixture: Exterior Rain11 tests
Case symbol: Save
Source: Tests/ExteriorRain11Tests.cpp:146

Test
Support check: verifies readback and export of the fixture image used for visual comparison.
Source check messages (including original failure wording)

  • image export map
  • image export

Two Lights

Fixture: Exterior Rain11 tests
Case symbol: TwoLights
Source: Tests/ExteriorRain11Tests.cpp:153

Test
Two Lights: both independently aimed/positioned lamps illuminate rain; second beam uses its own origin and aim; road low beam lights rain only below the cutoff.
Source check messages (including original failure wording)

  • two-lamp rain
  • two-lamp readback
  • both independently aimed/positioned lamps illuminate rain
  • single lamp skips unused entry
  • switch-off clears both lamps
  • second beam uses its own origin and aim
  • road low beam lights rain only below the cutoff
  • road cutoff rolls with the vehicle
  • horizontal taxi spread widens illuminated rain
  • per-lamp range limits rain illumination
  • weather attenuates rain illumination along the lamp path
  • overlapping lamps brighten rain without doubling already intense reflections
  • landing-lit rain remains visible without solid-white clipped streaks
  • snow retains its stronger opaque white scattering response

Storm Coverage

Fixture: Exterior Rain11 tests
Case symbol: StormCoverage
Source: Tests/ExteriorRain11Tests.cpp:237

Test
Storm Coverage: light/moderate rain retain their counts; maximum liquid rain doubles; lower rain intensities stay light in a dark sky; maximum night storm retains coverage with 30% softer ambient scattering.
Source check messages (including original failure wording)

  • storm clouds
  • storm cloud renderer enabled
  • prepare storm clouds
  • storm fixture
  • light/moderate rain retain their counts; maximum liquid rain doubles
  • parked storm render
  • storm readback
  • lower rain intensities stay light in a dark sky
  • maximum night storm retains coverage with 30% softer ambient scattering
  • overcast heavy rain remains dense with subdued gray highlights
  • cloud-aware rain retains below-cloud-base storm visibility
  • nose-mounted lamp still adds rain highlights

Background Contrast

Fixture: Exterior Rain11 tests
Case symbol: BackgroundContrast
Source: Tests/ExteriorRain11Tests.cpp:302

Test
Background Contrast: precipitation contrasts more strongly with dark terrain than bright overcast sky; unlit rain leaves the background unchanged.
Source check messages (including original failure wording)

  • contrast fixture
  • background contrast draw
  • background contrast readback
  • precipitation contrasts more strongly with dark terrain than bright overcast sky
  • unlit contrast draw
  • unlit contrast readback
  • unlit rain leaves the background unchanged

Debug Check

Fixture: Exterior Rain11 tests
Case symbol: DebugCheck
Source: Tests/ExteriorRain11Tests.cpp:355

Test
Support check: inspects graphics debug messages and rejects resource/state errors reported by the fixture.
Source check messages (including original failure wording)

  • debug message

Entry-point checks

Fixture: Exterior Rain11 tests
Case symbol: main
Source: Tests/ExteriorRain11Tests.cpp:366

Test
Checks native exterior rain motion, density, rendering and parity against the reference model. This entry point also runs the associated check groups.