Replays cloud captures through the native renderer and checks graphics diagnostics.
Subsystem: Weather, clouds, lightning and atmospheric visibility
Fixture/harness: cloudreplay11tests
Setup: Explicit setup symbols: RegionalWeatherFixture. The standalone CloudReplay11Tests harness owns the inputs, local helpers and assertion sink used by the case files below.
Build/entry point: Tests/CloudReplay11Tests.vcxproj; declared configurations: Debug|Win32, Release|Win32, Release|x64.
CloudCityLighting11Tests.h
Source: Tests/CloudCityLighting11Tests.h
Cloud City Lighting
Fixture: Cloud Replay11 tests
Case symbol: CloudCityLighting
Source: Tests/CloudCityLighting11Tests.h:22
- Test
- Cloud City Lighting: horizon must not add airglow twice; horizon chooses the strongest source per channel; weaker airglow must not brighten bcllight.
Source check messages (including original failure wording)
-
horizon must not add airglow twice
-
horizon chooses the strongest source per channel
-
weaker airglow must not brighten bcllight
-
city candidate renderer
-
city baseline renderer
-
city fixture image
-
city fixture target
-
city fixture depth
-
complete captured cloud inputs
-
complete captured ground inputs
-
complete unquantized source lights
-
complete captured terrain heights
-
city fixture render
-
city illumination must preserve cloud shape and opacity
-
save city preview
-
weaker city light must not brighten a daylight base
-
weak colonies must not add to stronger airglow and bcllight
-
brighter colony sources must never darken a channel
-
city glow must preserve scene alpha
-
colony glow is monotonic above the ambient threshold
-
strong city light must exceed the dark base
-
city glow must be geographically localized
-
winning city light must fade through the haze cutoff
-
low Deois deck must show a visible city patch above bcllight
-
source height render
-
terrain height changes illumination only
-
uplight cannot darken the base
-
closer sources cannot dim cloud pixels
-
near-ground uplight stays bounded
-
AGL attenuation is monotonic
-
distant source below bcllight is suppressed by max
-
471 m cloud gap produces visible uplight
-
faint colony render
-
unquantized light from a lone faint colony must survive GPU upload
-
city lighting metrics written
CloudLightningTests.h
Source: Tests/CloudLightningTests.h
Cloud Lightning Tests
Fixture: Cloud Replay11 tests
Case symbol: CloudLightningTests
Source: Tests/CloudLightningTests.h:3
- Test
- Cloud Lightning Tests: no lightning before convection arrives; calm stratus does not generate lightning; lightning follows the blended weather, not a newly uploaded endpoint.
Source check messages (including original failure wording)
-
no lightning before convection arrives
-
calm stratus does not generate lightning
-
lightning follows the blended weather, not a newly uploaded endpoint
-
global Poisson schedule averages 100 flashes per second
-
event schedule is independent of frame rate
-
finite bounded flash pulses
-
scheduled cloud flash ignored shared timing constants
-
scheduled cloud flash diverged from the ground-bolt envelope
-
cloud flash age or brightness depends on frame rate
-
active cloud-chain source left its local occupied cloud layer
-
disconnect clears active lightning
-
resume skips a long backlog instead of replaying an hour of lightning
-
organic placement changed event identity, birth timing or strength
-
organic shape preserves lightning event schedule
-
organic/legacy scheduling comparison did not exercise enough event births
-
organic flash is embedded in moisture
-
organic placement diverged from the shared chain timing
-
organic lightning placement exercised active strikes
-
weather resolution does not change global distribution mass
-
spherical samples lie on the unit sphere
-
area weighting avoids equirectangular polar bias
-
visible flash fraction follows the shrinking horizon cap
-
strongest convection receives the cubic-weighted share of flashes
-
cloud and ground timing selection differs
-
cloud and ground peaks differ for the same strike seed
-
cloud return-stroke gap lost the shared afterglow
-
cloud flash outlived the shared duration
-
cloud mean duration diverged from shared tuning
-
cloud mean stroke count diverged from shared tuning
CloudReplay11Tests.cpp
Source: Tests/CloudReplay11Tests.cpp
Debug Messages
Fixture: Cloud Replay11 tests
Case symbol: DebugMessages
Source: Tests/CloudReplay11Tests.cpp:47
- Test
- Support check: inspects graphics debug messages and rejects resource/state errors reported by the fixture.
Source check messages (including original failure wording)
Entry-point checks
Fixture: Cloud Replay11 tests
Case symbol: main
Source: Tests/CloudReplay11Tests.cpp:70
- Test
- Entry-point checks: –city-reference requires pre-change cloud shader bytecode; incremental native weather upload; complete native weather before publication.
Source check messages (including original failure wording)
-
COM initialization
-
native device
-
–city-reference requires pre-change cloud shader bytecode
-
native runtime enabled
-
replay magic
-
replay dimensions
-
replay texture path
-
scene texture
-
scene target
-
scene depth
-
captured constant size
-
incremental native weather upload
-
complete native weather before publication
-
caller viewport restored
-
caller topology restored
-
reference image
-
reference size
-
save native image
-
all nine geographical baselines replayed
CloudTemporal11Tests.h
Source: Tests/CloudTemporal11Tests.h
Cloud Temporal Audit
Fixture: Cloud Replay11 tests
Case symbol: CloudTemporalAudit
Source: Tests/CloudTemporal11Tests.h:6
- Test
- Cloud Temporal Audit: normal orbital translation reprojects; transient light ending resets history; continuous orbit preserves history.
Source check messages (including original failure wording)
-
history initialize
-
normal orbital translation reprojects
-
ordinary camera pan reprojects
-
advection wrap retains history
-
history discontinuity rejected
-
transient light ending resets history
-
history source
-
history source view
-
history depth
-
history depth view
-
history no depth
-
history rasterizer
-
history resolve
-
history texture
-
history readback
-
history map
-
history begin
-
continuous orbit preserves history
-
history retains current cloud hit
-
current opacity proof does not accumulate camera displacement
-
opaque history includes accumulated camera displacement
-
history forbids unproven opaque reuse
-
opaque history bound accumulates all seven camera displacements
-
opaque bound footprint frame
-
opaque bound uses furthest bilinear contributor
-
distant contributor was exercised
-
previous opaque bound frame
-
retained bound is not averaged
-
old bounds cannot spread into the current opacity proof
-
reprojected history retains its farther opacity bound
-
transparent bound frame
-
transparent bound is not averaged
-
every transparent contributor prevents opaque reuse
-
translucent retained color frame
-
opaque current but translucent reconstruction frame
-
uniform opaque neighborhood clamps away translucent history
-
edge translucent history frame
-
opaque stripe with translucent neighbor frame
-
nonopaque reconstructed coverage prevents current-depth reuse
-
translucent reconstruction over four opaque current rays was exercised
-
clear history frame
-
disoccluded clear sky has no stale cloud radiance
-
edge history frame
-
edge history retains conservative opaque depth
-
finite bounded edge coverage
-
visible edge retains cloud distance without blending empty sky
-
moving edge leaves distant clear sky clean
-
opaque interior survives edge reconstruction
-
edge fixture exercised reconstructed cloud coverage
-
moving edge coverage stays within supersampled reference tolerance
-
edge filtering preserves premultiplied cloud color within half-float history precision
-
distance-filter shadow frame
-
radiance filter retains opaque coverage
-
under-resolved shadow has less isolated contrast
-
distance filter does not brighten the cloud field
-
uniform radiance remains unchanged
-
internal edge frame
-
internal filter preserves radiance range
-
internal edges remain opaque
-
opaque internal edge retains valid cloud distance
-
internal reconstruction never averages visibility bounds
-
moving opaque cloud boundary stays near area reference
-
moving opaque cloud boundary avoids a large single-frame brightness jump
-
internal edge visibility footprint
-
internal filter proves opacity for every wider radiance contributor
-
internal edge fixture exercises the expanded visibility footprint
-
translated camera history
-
external-camera translation does not smear history
-
simulator/reposition reset removes old output
-
flash can render without retained history
-
flash end reinitializes history
-
flash history cannot persist after extinction
-
rearm after reset
-
resize history
-
resize invalidates history
-
invalid projection clears history
-
device-size release clears history
CloudVolumeCpuTests.h
Source: Tests/CloudVolumeCpuTests.h
Cpu Tests
Fixture: Cloud Replay11 tests
Case symbol: CpuTests
Source: Tests/CloudVolumeCpuTests.h:6
- Test
- Cpu Tests: stationary density is deterministic; continuous density across spatial samples; calm in-cloud density still varies with structure.
Source check messages (including original failure wording)
-
bounded density
-
stationary density is deterministic
-
continuous density across spatial samples
-
calm in-cloud density still varies with structure
-
active clusters rise within the marching shell
-
moderate convection develops between calm and strong profiles
-
weather blending grows formations continuously
-
weather transitions change the underside smoothly
-
weak convection keeps shallow billows within a gently undulating stratus sheet
-
active convection forms broad raised clusters above the 10 km core
-
maximum convection supports 20-22 km storm peaks
-
midrange live convection creates substantial growth too
-
nominal 10 km level remains inside the stratus core
-
direct illumination cannot jump at the 10 km flight-mode boundary
-
scattered illumination stays continuous at the 10 km flight-mode boundary
-
at 12 km the aircraft can enter and leave moderate convective clusters
-
at 18 km strong convection has both towers and clear gaps
-
strong convection develops billows rather than only lifting a flat sheet
-
weak-convection bases have less undulation than storm bases
-
convection keeps mean base height centered on local ceiling
-
wind offset wrapping cannot move weather clusters or billows
-
server convection towers stay inside marching shell
-
local wind cannot drift global weather twice
-
clear below layer
-
clear above all towers
-
seed changes formation
-
active weather raises tops
-
minimum stratus thickness remains inside the marching shell
-
TCP cube-edge continuity
-
surface atmosphere retains weather visibility
-
visibility clears smoothly during ascent
-
visibility has no 10 km jump
-
clear atmosphere above the nominal deck
-
14.5 km uses the legacy clear-air override rather than the 42.16 km fallback
-
elevated surface retains its visibility
-
volume replaces uniform tint while legacy keeps it
-
explicit screen override is retained
-
sun glare follows cloud transmission without a local-top switch
-
simulator retains legacy sun glare gating
-
daylight suppresses airglow even in the darkest cloud pockets
-
airglow appears at night and is extinguished after sunrise
-
twilight airglow fades continuously with solar elevation
-
green cloud emission falls off with altitude
-
dense pockets retain a faint 20 m wing outline while thin pockets reveal it
-
the optically dense pockets also carry stronger rain
-
20 m silhouettes survive the densest pockets at every convection level
-
flight visibility varies within a second without frame-scale flicker
-
sunlight brightens toward exposed cloud tops
-
solar column integration has no major darkening step during ascent
-
volume transmits a nearby lamp but hides distant lamps in the same cloud
-
clear observer and clear segment have no cloud extinction
-
cloud between two clear endpoints blocks the line of sight
-
sunlight is extinguished by the cloud depth above an interior point
-
convection develops over minutes, not seconds
-
upper-air observations cannot reshape or accelerate the deck during ascent
-
wind drift independent of frame rate
-
wind direction and cloud altitude speed multiplier
-
stationary observer encounters advected density
-
calm wind does not move formations
-
city light U matches cloud grid on all faces
-
city light V matches cloud grid on all faces
CloudWeatherTests.h
Source: Tests/CloudWeatherTests.h
Cloud Weather Tests
Fixture: Cloud Replay11 tests
Case symbol: CloudWeatherTests
Source: Tests/CloudWeatherTests.h:50
- Test
- Cloud Weather Tests: startup convection is zero worldwide; longitude wraps across dateline; incomplete global image never publishes.
Source check messages (including original failure wording)
-
IEEE CRC32 known vector
-
startup convection is zero worldwide
-
prime meridian geography
-
east longitude orientation
-
north pole orientation
-
south pole orientation
-
longitude wraps across dateline
-
latitude clamps at polar row
-
incomplete global image never publishes
-
duplicate chunks do not republish
-
raw snapshot exact round trip
-
complete mip chain generated off thread
-
truncated header rejected
-
unsupported or malformed header rejected
-
RLE efficiently represents full-resolution uniform map
-
4096x2048 RLE snapshot round trip
-
stale revision cannot replace latest
-
corrupt compressed snapshot cannot publish
-
initial map blends from black
-
receiver starts empty
-
worker publishes complete decoded image
-
reconnect discards previous server data
-
old worker job cannot publish after reset
-
C# interoperability fixture is present
-
split server snapshot stays unpublished
-
C# metadata decodes in C++
-
C# RLE cross-chunk fixture has exact expected convection pixels
CloudLightningGpu11.h
Source: Tests/CloudLightningGpu11.h
Cloud Lightning Gpu
Fixture: Cloud Replay11 tests
Case symbol: CloudLightningGpu
Source: Tests/CloudLightningGpu11.h:29
- Test
- Checks lightning placement inside organic cloud moisture, including a thin upper crown missed by the previous search.
Source check messages (including original failure wording)
-
bounded sphere search finds a skipped thin crown with more than 1 km placement lift
-
lightning source occupies organic cloud
-
lightning source stays in the upper occupied component
-
lightning fixture image
-
lightning fixture target
-
lightning fixture depth
-
lightning fixture renderer
-
lightning fixture weather upload
-
lightning fixture weather publication
-
lightning fixture initialize parameters
-
lightning fixture uses actual organic top path
-
lightning reference pass
-
lightning reference organic top
-
lightning direct cloud pass
-
lightning preserves cloud hit depth and opacity
-
flash visibly illuminates occupied cloud pixels
-
lightning fixture capture
-
lightning fixture day context
-
daylight reference pass
-
daylight contrast parameters
-
daylight reference mode
-
daylight adaptation leaves no-flash cloud appearance byte-identical
-
daylight flash does not change composite alpha
-
daylight adaptation cannot increase displayed flash
-
contrast fixture contains visible lightning
-
night and zero solar illumination preserve flash exactly, including NVG
-
direct sun substantially reduces flash without disabling it
-
dim cloud illumination retains more flash contrast than full sun
-
daylight contrast candidate capture
-
daylight contrast reference capture
-
daylight contrast evidence saved
-
restore lightning timing mode
-
lightning timing frequency
-
lightning timing begin
-
lightning timing end
-
lightning timestamp timeout
-
lightning timestamp readback
-
enough valid lightning timing samples
-
lightning fixture evidence saved
CloudOrganicAudit11.h
Source: Tests/CloudOrganicAudit11.h
Cloud Organic Audit
Fixture: Cloud Replay11 tests
Case symbol: CloudOrganicAudit
Source: Tests/CloudOrganicAudit11.h:7
- Test
- Compares organic noise and billows with actual R16 values uploaded to the GPU.
Source check messages (including original failure wording)
-
organic noise matches uploaded R16 values
-
organic billows match uploaded R16 values
-
organic signed Perlin matches uploaded R16 values
-
organic audit renderer
-
organic probe program
-
organic legacy control probe
-
organic positions
-
organic position SRV
-
organic field sampler
-
organic output
-
organic output RTV
-
organic readback
-
organic depth state
-
organic rasterizer
-
organic weather upload
-
organic weather blend
-
bind legacy control
-
legacy control map
-
organic map
-
organic finite GPU result
-
organic bounded density
-
flight moisture uses the rendered organic body
-
organic preserves 22 km envelope
-
organic empty above maximum top
-
organic CPU/GPU shape agreement
-
high administrative layer retains exact legacy GPU extinction
-
organic lower deck unchanged
-
organic transition is continuous
-
organic wind wrap continuous
-
organic audit output
-
surface query resolves occupied upper lobes
-
surface query stays in regional envelope
-
organic continuous 10 km core
-
zero convection retains only shallow cloud relief
-
weak convection exceeded its bounded lift allowance
-
organic actual tops remain in existing envelope
-
organic height audit output
-
quiet morph weather upload
-
quiet morph weather ready
-
active morph weather upload
-
active morph weather ready
-
complete 60-second weather morph
-
organic convection grows density monotonically
-
organic weather morph has no density jump
CloudQuality11.h
Source: Tests/CloudQuality11.h
Cloud Quality
Fixture: Cloud Replay11 tests
Case symbol: CloudQuality
Source: Tests/CloudQuality11.h:26
- Test
- Captures fixed cloud-quality views and shape/opacity measurements for baseline/candidate comparison.
Source check messages (including original failure wording)
-
quality shape output
-
quality renderer
-
quality image
-
quality target
-
quality depth
-
quality weather
-
quality render
-
save quality preview
-
quality shape write
CloudTemporalPrototype11.h
Source: Tests/CloudTemporalPrototype11.h
Initialize
Fixture: Cloud Replay11 tests
Case symbol: Initialize
Source: Tests/CloudTemporalPrototype11.h:30
- Test
- Prototype support check: initializes native temporal reconstruction and its resolve program.
Source check messages (including original failure wording)
-
native temporal initialization
-
temporal resolve program
-
temporal composite program
-
temporal target
-
temporal RTV
-
temporal SRV
-
temporal linear sampler
-
temporal point sampler
-
temporal depth state
-
temporal rasterizer
Begin Frame
Fixture: Cloud Replay11 tests
Case symbol: BeginFrame
Source: Tests/CloudTemporalPrototype11.h:62
- Test
- Prototype support check: starts a frame with valid temporal-rendering state.
Source check messages (including original failure wording)
Render
Fixture: Cloud Replay11 tests
Case symbol: Render
Source: Tests/CloudTemporalPrototype11.h:79
- Test
- Prototype check: exercises temporal reconstruction and preview compositing.
Source check messages (including original failure wording)
-
native temporal reconstruction
-
native temporal preview composite
-
bind temporal resolve
-
bind temporal composite
CloudTopPrototype11.h
Source: Tests/CloudTopPrototype11.h
Cloud Top Height Audit
Fixture: Cloud Replay11 tests
Case symbol: CloudTopHeightAudit
Source: Tests/CloudTopPrototype11.h:4
- Test
- Checks finite nonnegative billow distances and the Lipschitz bound used by cloud clearance.
Source check messages (including original failure wording)
-
finite nonnegative billow distance
-
billow Lipschitz bound used by clearance
-
rounded tops stay within existing weather allowance
-
22 km search envelope retained
-
continuous nominal deck retained
-
empty above envelope
-
billow texture wraps without a seam
-
top height output
Cloud Top Prototype
Fixture: Cloud Replay11 tests
Case symbol: CloudTopPrototype
Source: Tests/CloudTopPrototype11.h:66
- Test
- Prototype comparison: renders cloud-top prototype and baseline paths for evaluation.
Source check messages (including original failure wording)
-
top prototype renderer
-
top baseline renderer
-
top option length
-
top option is an integer
-
top resolution percentage
-
supported top MSAA
-
top timing batches
-
top altitude selector
-
top weather selector
-
top sunlight selector
-
top scene must be sky, planet, or planet with foreground
-
diagnostic billow dimensions
-
diagnostic billow mip bytes
-
exact diagnostic billow payload
-
diagnostic billow volume
-
diagnostic billow view
-
diagnostic macro dimensions
-
diagnostic macro mip bytes
-
exact diagnostic macro payload
-
diagnostic macro map
-
diagnostic macro view
-
supported preview divisor
-
supported top viewport height
-
temporal prototype requires quarter-resolution input
-
top image
-
top target
-
top depth
-
top geographic option length
-
finite top geographic option
-
valid top geographic coordinates
-
top timing frequency
-
top timing begin
-
top timing middle
-
top timing end
-
integrated organic pass owns temporal reconstruction
-
supported captured convection dimensions
-
exact captured convection size
-
top weather
-
complete captured convection upload
-
baseline weather
-
complete baseline convection upload
-
valid diagnostic downward camera slope
-
top timing timeout
-
top timestamp readback
-
pipelined frequency query
-
pipelined begin query
-
pipelined middle query
-
pipelined end query
-
top render
-
top preview render
-
save top preview
-
top valid timestamps
-
top timing output
-
top capture procedure output
CloudTopScene11.h
Source: Tests/CloudTopScene11.h
Initialize
Fixture: Cloud Replay11 tests
Case symbol: Initialize
Source: Tests/CloudTopScene11.h:13
- Test
- Support check: initializes the planet-scene shader/program used by cloud-top comparisons.
Source check messages (including original failure wording)
-
planet fixture shader
-
planet fixture program
-
planet fixture rasterizer
-
planet fixture depth state
Draw
Fixture: Cloud Replay11 tests
Case symbol: Draw
Source: Tests/CloudTopScene11.h:51
- Test
- Support check: binds and draws the planet-scene comparison fixture.
Source check messages (including original failure wording)