Checks cockpit night-vision illumination while preserving separate instruments and emissive labels.
Subsystem: Rendering, shaders, textures and lighting
Fixture/harness: nightvisioncockpit11tests
Setup: The standalone NightVisionCockpit11Tests harness owns the inputs, local helpers and assertion sink used by the case files below. Graphics setup uses NativeUiTest11.
Build/entry point: Tests/NightVisionCockpit11Tests.vcxproj; declared configurations: Release|x64.
NightVisionCockpit11Tests.cpp
Source: Tests/NightVisionCockpit11Tests.cpp
Entry-point checks
Fixture: Night Vision Cockpit11 tests
Case symbol: main
Source: Tests/NightVisionCockpit11Tests.cpp:18
- Test
- Entry-point checks: NVG brightens cockpit surfaces above and below deck with cabin lights on or off; surface-light gain does not multiply separately rendered instrument pixels; painted panel stays dark enough to distinguish illuminated labels.
Source check messages (including original failure wording)
-
NVG brightens cockpit surfaces above and below deck with cabin lights on or off
-
surface-light gain does not multiply separately rendered instrument pixels
-
emissive label remains white
-
painted panel stays dark enough to distinguish illuminated labels
-
removing goggles restores original cockpit pixels
-
red cabin light keeps a red cast on panels and monitor frames through ascent and descent
-
NVG preserves painted surface contrast rather than replacing it with a flat tint
-
zero atmospheric light still enhances reflected cabin illumination in orbit
-
orbital cabin-light gain does not multiply separately rendered instrument pixels
-
labels remain separate while their orbital panel brightens
-
regression fixture reproduces the old neutral washout
-
mixed-light exposure removes the neutral washout
-
surface response clears for equipment/camera, simulator and daylight
-
unpowered cockpit in darkness gains no artificial light
-
dimming cannot brighten the assisted cabin
-
without cabin lamps, NVG still enhances faint outside fill
-
no synthetic red tint when the red lamp is off
-
cloud-top boundary has no visible step
NightVisionDisplay11Tests.h
Source: Tests/NightVisionDisplay11Tests.h
Run Night Vision Display11 Tests
Fixture: Night Vision Cockpit11 tests
Case symbol: RunNightVisionDisplay11Tests
Source: Tests/NightVisionDisplay11Tests.h:5
- Test
- Run Night Vision Display11 Tests: bright symbol edge softens but retains a legible core; thin bright strokes acquire a visible local halo; symbol counters stay dark and distinguishable.
Source check messages (including original failure wording)
-
bright symbol edge softens but retains a legible core
-
thin bright strokes acquire a visible local halo
-
symbol counters stay dark and distinguishable
-
one-pixel cyan numerals soften without disappearing
-
softening redistributes highlights while glare preserves overall brightness enhancement
-
bloom does not wash out distant black background
-
dim nonhighlight display regions retain their brightness
-
red warning remains recognizably red despite highlight washout
-
green highlight retains its color distinction
-
blue highlight retains its color distinction
-
ordinary cyan highlights have noticeable bounded washout
-
existing interlace modulation remains visible
-
bright adjacent atlas gauge cannot bleed into this monitor
-
display optics preserve alpha
-
low-power blanking cannot resurrect display content through bloom
-
missing display texture cannot create phantom highlights
-
equipment/camera/daylight/simulator reset returns exact original display
-
re-entering NVG produces the same frame without history or delayed data
-
following unassisted draw is unchanged
-
resolution/MSAA preserve legibility while softening white glyphs
-
cyan washout survives native resolution and MSAA
-
visible edge spread survives native resolution and MSAA
-
one-pixel range text remains legible at native resolution and MSAA
-
scaled halo remains local and leaves distant black untouched
-
scaled halo cannot cross the atlas boundary
-
high-resolution bloom extends beyond one pixel
-
high-resolution on/off round trip has no persistence
NightVisionStars11Tests.h
Source: Tests/NightVisionStars11Tests.h
Run Night Vision Stars11 Tests
Fixture: Night Vision Cockpit11 tests
Case symbol: RunNightVisionStars11Tests
Source: Tests/NightVisionStars11Tests.h:6
- Test
- Run Night Vision Stars11 Tests: night star gain is strong but bounded; four-pixel catalog stars gain plainly visible brightness with MSAA on or off; star brightness ordering survives enhancement.
Source check messages (including original failure wording)
-
night star gain is strong but bounded
-
four-pixel catalog stars gain plainly visible brightness with MSAA on or off
-
star brightness ordering survives enhancement
-
whole star field gains visible signal
-
warm star stays warm through the highlight shoulder
-
cool star stays cool through the highlight shoulder
-
bright star core does not clip to neutral white
-
black sky outside sprite support stays black
-
opaque atmospheric blend still hides stars completely
-
increasing atmospheric transmission reveals stars monotonically
-
descending into atmospheric obscuration attenuates stars monotonically
-
off/external-view, simulator and daylight restore exact baseline star pixels
-
on/off round trip has no persistent star exposure
-
star gain is cleared before the next draw
-
darkening low-light response increases bounded star gain without an altitude discontinuity