Rise
The Vieneo Province
Loading...
Searching...
No Matches
Windshield Rain tests

Checks bead motion, atmospheric forces, air jets and windshield surface behavior.

Subsystem: Rain, windshields and wipers
Fixture/harness: windshieldraintests
Setup: The standalone WindshieldRainTests harness owns the inputs, local helpers and assertion sink used by the case files below.

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

WindshieldRainTests.cpp

Source: Tests/WindshieldRainTests.cpp

Check Rain Air Taper

Fixture: Windshield Rain tests
Case symbol: CheckRainAirTaper
Source: Tests/WindshieldRainTests.cpp:24

Test
Check Rain Air Taper: rain air moves rather than instantly removes the test bead; jet motion weakens continuously from nozzle to top; jet taper follows physical height across rotated charts.
Source check messages (including original failure wording)

  • rain air moves rather than instantly removes the test bead
  • jet motion weakens continuously from nozzle to top
  • jet taper follows physical height across rotated charts
  • strong lower jet blows water up while upper impacts retain their size
  • rain still lands on the upper half with protection selected
  • upper residue persists longer than residue beside the nozzle
  • zero supply preserves ordinary rain exactly

Check Air Density

Fixture: Windshield Rain tests
Case symbol: CheckAirDensity
Source: Tests/WindshieldRainTests.cpp:73

Test
Check Air Density: vacuum removes wind force but retains gravity; 2630.397 mB surface strengthens wind drag by the one-atmosphere ratio; wind force falls linearly with static density, not its square.
Source check messages (including original failure wording)

  • density test retains its bead
  • vacuum removes wind force but retains gravity
  • 2630.397 mB surface strengthens wind drag by the one-atmosphere ratio
  • wind force falls linearly with static density, not its square
  • upward wind scales without scaling gravity
  • vehicle inertia still moves droplets in vacuum
  • airspeed cap preserves density scaling at high speeds
  • negative density cannot reverse the wind force
  • local gravity above one Earth G produces proportionally stronger runoff
  • wind drag magnitude is independent of arbitrary glass UV rotation

Check Stationary Rain

Fixture: Windshield Rain tests
Case symbol: CheckStationaryRain
Source: Tests/WindshieldRainTests.cpp:115

Test
Check Stationary Rain: windshield deposition follows exterior precipitation density; snow and shelter suppress liquid deposition; precipitation 16 builds substantially more wetness than light rain.
Source check messages (including original failure wording)

  • windshield deposition follows exterior precipitation density
  • snow and shelter suppress liquid deposition
  • precipitation 16 builds substantially more wetness than light rain
  • large front field retains hundreds of beads on both halves in heavy rain
  • stationary bead runs at a visible pace without disappearing prematurely
  • residue test removes its bead
  • rolling leaves a visible film after the bead is removed
  • old residue retains half its strength after twelve seconds
  • residue eventually dries instead of accumulating forever

Check Coalescence

Fixture: Windshield Rain tests
Case symbol: CheckCoalescence
Source: Tests/WindshieldRainTests.cpp:161

Test
Check Coalescence: incoming rain merges with a touching bead; coalescence conserves volume rather than summing radii; coalescence conserves momentum when new rain has no tangential velocity.
Source check messages (including original failure wording)

  • incoming rain merges with a touching bead
  • coalescence conserves volume rather than summing radii
  • coalescence conserves momentum when new rain has no tangential velocity
  • separated beads remain independent
  • coalesced heavier bead runs faster than an unmerged bead
  • runoff pickup starts with separated beads
  • moving bead collects water encountered down the pane
  • runoff pickup leaves one parent plus only pinned daughter beads
  • large-pane storage stops at the fixed 8192 bead ceiling
  • rain hitting existing water still accumulates at the bead limit
  • budgets scale by area with a bounded minimum for tiny panes
  • E-11 front glass is no longer capped at a small side window's 512 beads

Check Bead Shape

Fixture: Windshield Rain tests
Case symbol: CheckBeadShape
Source: Tests/WindshieldRainTests.cpp:218

Test
Check Bead Shape: small and large beads retain distinct rasterized sizes; stationary bead is distinct from old runoff; bead footprint stays round in metres on a rectangular pane.
Source check messages (including original failure wording)

  • small and large beads retain distinct rasterized sizes
  • stationary bead is distinct from old runoff
  • bead footprint stays round in metres on a rectangular pane
  • fresh rain size fixture has a representative sample
  • parked rain starts with millimetre-scale beads rather than 5-14 mm diameters
  • sub-texel bead map keeps the exact center with bounded optical size emphasis
  • optically emphasized sub-texel bead stays in a small lookup neighborhood
  • optical size emphasis never changes simulated bead volume

Check High Speed Shedding

Fixture: Windshield Rain tests
Case symbol: CheckHighSpeedShedding
Source: Tests/WindshieldRainTests.cpp:254

Test
Check High Speed Shedding: 200-knot flow sheds beads quickly while fresh impacts remain visible; high-speed impacts break into smaller beads, including near-normal impacts; small fragments travel with high-speed airflow.
Source check messages (including original failure wording)

  • 200-knot flow sheds beads quickly while fresh impacts remain visible
  • high-speed impacts break into smaller beads, including near-normal impacts
  • small fragments travel with high-speed airflow
  • full shedding traces fragment motion with a brief wake
  • full shedding skips pairwise coalescing of overlapping beads
  • runoff fixture starts with a wet trail
  • accelerating into high-speed flow clears old beads and residue within one second
  • speed without air density does not break up water
  • high-speed shedding is identical at 30 and 144 FPS

Check Cloud Rain

Fixture: Windshield Rain tests
Case symbol: CheckCloudRain
Source: Tests/WindshieldRainTests.cpp:313

Test
Check Cloud Rain: cloud gaps stop new impacts and dense clusters restore them; in-cloud impacts increase with local density; falling rain continues at and below cloud base.
Source check messages (including original failure wording)

  • cloud gaps stop new impacts and dense clusters restore them
  • in-cloud impacts increase with local density
  • falling rain continues at and below cloud base
  • cloud-base transition is continuous
  • legacy clouds retain ordinary rain
  • entering a cloud gap preserves existing runoff instead of clearing the pane
  • rain uses the actual cloud density sample
  • rain changes across real cloud clusters at one altitude
  • dense cluster produces more impacts than thin cluster
  • moving between adjacent density samples has no binary precipitation switch

Check Heavy Coverage

Fixture: Windshield Rain tests
Case symbol: CheckHeavyCoverage
Source: Tests/WindshieldRainTests.cpp:355

Test
Check Heavy Coverage: heavy rain materially increases small-bead coverage beyond moderate rain; large front glass keeps thousands of small beads within its area budget; heavy stationary impacts cannot build a mottled background film.
Source check messages (including original failure wording)

  • heavy rain materially increases small-bead coverage beyond moderate rain
  • large front glass keeps thousands of small beads within its area budget
  • heavy stationary impacts cannot build a mottled background film
  • wiping removes dense beads and accumulated runoff

Exterior Strength

Fixture: Windshield Rain tests
Case symbol: ExteriorStrength
Source: Tests/WindshieldRainTests.cpp:380

Test
Exterior Strength: exterior count stays within its even vertex budget; removed streaks have already faded to zero.
Source check messages (including original failure wording)

  • exterior count stays within its even vertex budget
  • exterior alpha is bounded
  • removed streaks have already faded to zero

Check Exterior Rain

Fixture: Windshield Rain tests
Case symbol: CheckExteriorRain
Source: Tests/WindshieldRainTests.cpp:395

Test
Check Exterior Rain: exterior has exact dry/full endpoints; exterior rain uses the full precipitation range; exterior rain fades smoothly from 5 to 10 km without a cutoff.
Source check messages (including original failure wording)

  • exterior has exact dry/full endpoints
  • exterior rain uses the full precipitation range
  • exterior rain fades smoothly from 5 to 10 km without a cutoff
  • exterior is already invisible before the legacy 10 km weather switch
  • half exterior strength at 7.5 km
  • exterior responds to local cloud clusters
  • individual streaks fade continuously instead of popping with integer count changes
  • falling precipitation continues beneath the cloud base

Check Altitude Rain

Fixture: Windshield Rain tests
Case symbol: CheckAltitudeRain
Source: Tests/WindshieldRainTests.cpp:422

Test
Check Altitude Rain: 10..5 km fade is smooth and monotonic; altitude fade eases in/out at both boundaries; high precipitation and weather overrides still respect altitude.
Source check messages (including original failure wording)

  • no altitude rain above 10 km
  • full altitude rain below 5 km
  • half rain at 7.5 km
  • 10..5 km fade is smooth and monotonic
  • altitude fade eases in/out at both boundaries
  • high precipitation and weather overrides still respect altitude
  • altitude composes with precipitation, snow and shelter
  • altitude fades actual new impacts, not only their rendering

Check Blade Sweeps

Fixture: Windshield Rain tests
Case symbol: CheckBladeSweeps
Source: Tests/WindshieldRainTests.cpp:451

Test
Check Blade Sweeps: blade carries water ahead of the rubber without deleting its volume; collected water receives the blade's position and fling velocity; wiping leaves unswept drops untouched.
Source check messages (including original failure wording)

  • blade carries water ahead of the rubber without deleting its volume
  • collected water receives the blade's position and fling velocity
  • wiping leaves unswept drops untouched
  • displaced beads invalidate renderer uploads
  • water keeps moving after blade releases it
  • return stroke reverses the displacement and momentum
  • water is removed only after it is swept off the pane
  • overlapping blade triangles cannot push a bead repeatedly
  • stationary blade cannot permanently erase its sweep
  • sweeping a wake cuts the trail without moving its unswept parent

Check Gravity Dominated Runoff

Fixture: Windshield Rain tests
Case symbol: CheckGravityDominatedRunoff
Source: Tests/WindshieldRainTests.cpp:498

Test
Check Gravity Dominated Runoff: stationary coalescence cannot invent a sideways runoff tail; off-centre pickup preserves a real downward wake instead of rotating it sideways; small beads stay pinned until enough water accumulates.
Source check messages (including original failure wording)

  • stationary coalescence cannot invent a sideways runoff tail
  • off-centre pickup preserves a real downward wake instead of rotating it sideways
  • small beads stay pinned until enough water accumulates
  • heavy beads release into fast gravity runoff
  • collecting water releases a previously pinned bead
  • a light ground breeze cannot turn heavy runoff uphill
  • parked heavy-rain runners stay within 13 degrees of downhill

Check Wet Trail Following

Fixture: Windshield Rain tests
Case symbol: CheckWetTrailFollowing
Source: Tests/WindshieldRainTests.cpp:546

Test
Check Wet Trail Following: 2.5 mm dry-glass bead rolls visibly within one second; old runoff lowers resistance for the following bead; wiping removes both visible water and the old trail's motion advantage.
Source check messages (including original failure wording)

  • 2.5 mm dry-glass bead rolls visibly within one second
  • old runoff lowers resistance for the following bead
  • wiping removes both visible water and the old trail's motion advantage
  • runoff bends toward a nearby wet rivulet on either side
  • wet trails do not invent a force
  • tiny satellite remains pinned on a wet trail

Check Runoff Continuity

Fixture: Windshield Rain tests
Case symbol: CheckRunoffContinuity
Source: Tests/WindshieldRainTests.cpp:590

Test
Check Runoff Continuity: each daughter deposition debits its parent's water volume; runoff wake follows the recent path and remains bounded in metres; wake width is bounded by its bead, never by the field texel.
Source check messages (including original failure wording)

  • each daughter deposition debits its parent's water volume
  • runoff wake follows the recent path and remains bounded in metres
  • wake width is bounded by its bead, never by the field texel
  • lookup retains a visible physical wake behind the parent
  • blade crossing only a wake clears it while retaining its unwiped parent
  • rolling parent travels, shrinks, and leaves several smaller beads
  • daughter beads remain pinned behind the moving parent
  • deposited beads take water from their parent instead of creating volume
  • positive two-G liftoff load accelerates downward runoff
  • small high-speed fragment travels over 40 cm before shedding
  • high-speed transit leaves a visible trajectory
  • fast wakes clear within 0.3 seconds instead of becoming long-lived streaks

Check Splashes And Roughness

Fixture: Windshield Rain tests
Case symbol: CheckSplashesAndRoughness
Source: Tests/WindshieldRainTests.cpp:653

Test
Check Splashes And Roughness: one impact produces a parent and three separated small satellites; splash partitions incoming water without creating volume; separated splash satellites remain pinned; runoff can collect those in its path.
Source check messages (including original failure wording)

  • one impact produces a parent and three separated small satellites
  • splash partitions incoming water without creating volume
  • separated splash satellites remain pinned; runoff can collect those in its path
  • wipers remove splash satellites along with running water
  • gravity runoff meanders and changes lateral direction without broad sideways fanning
  • imperfections stay fixed to the glass, with deterministic motion
  • acceleration from road speed into flight never reduces aerodynamic drive

Entry-point checks

Fixture: Windshield Rain tests
Case symbol: main
Source: Tests/WindshieldRainTests.cpp:695

Test
Entry-point checks: dry weather never creates water; gravity moves a stopped vehicle's drop down; blade removes parent but preserves smaller beads behind it.
Source check messages (including original failure wording)

  • dry weather never creates water
  • gravity moves a stopped vehicle's drop down
  • moving drops shrink
  • blade removes parent but preserves smaller beads behind it
  • moving drop leaves a persistent trail behind the blade
  • relative wind blows droplets sideways and upward at speed
  • vehicle acceleration changes drop motion
  • wiping preserves drops outside the sweep
  • new impacts wet previously wiped glass
  • complete sweep removes drops and old streaks
  • spawn count independent of render FPS
  • water and trails identical at 30 and 144 FPS
  • zero timestep preserves water
  • a stalled frame uses only two collision/field steps
  • bounded catch-up retains the elapsed precipitation rate
  • bounded catch-up retains elapsed evaporation without incoming rain
  • long frame produces exactly the bounded quarter-second update
  • water dries after leaving rain
  • vehicle change clears all water
  • unpowered wipers stay parked
  • rain starts powered wipers
  • power loss freezes wiper
  • wipers finish their return and park when rain stops