Rise
The Vieneo Province
Loading...
Searching...
No Matches
Terrain Surface Detail11 tests

Checks native terrain surface detail, material sampling and distance transitions.

Subsystem: Rendering, shaders, textures and lighting
Fixture/harness: terrainsurfacedetail11tests
Setup: Explicit setup symbols: Fixture. The standalone TerrainSurfaceDetail11Tests 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/TerrainSurfaceDetail11Tests.vcxproj; declared configurations: Debug|Win32, Release|Win32.

TerrainSurfaceDetail11Tests.cpp

Source: Tests/TerrainSurfaceDetail11Tests.cpp

Load

Fixture: Terrain Surface Detail11 tests
Case symbol: Load
Source: Tests/TerrainSurfaceDetail11Tests.cpp:72

Test
Load: program.
Source check messages (including original failure wording)

  • program

Solid

Fixture: Terrain Surface Detail11 tests
Case symbol: Solid
Source: Tests/TerrainSurfaceDetail11Tests.cpp:77

Test
Solid: solid texture; solid SRV.
Source check messages (including original failure wording)

  • solid texture
  • solid SRV

Geometry

Fixture: Terrain Surface Detail11 tests
Case symbol: Geometry
Source: Tests/TerrainSurfaceDetail11Tests.cpp:84

Test
Geometry: geometry.
Source check messages (including original failure wording)

  • geometry

Ground Geometry

Fixture: Terrain Surface Detail11 tests
Case symbol: GroundGeometry
Source: Tests/TerrainSurfaceDetail11Tests.cpp:99

Test
Ground Geometry: ground geometry.
Source check messages (including original failure wording)

  • ground geometry

Smooth Height Regression

Fixture: Terrain Surface Detail11 tests
Case symbol: SmoothHeightRegression
Source: Tests/TerrainSurfaceDetail11Tests.cpp:115

Test
Smooth Height Regression: smooth height produces no sampling stripes across subpixel offsets; flat height stays neutral at submillimeter footprints.
Source check messages (including original failure wording)

  • smooth height texture
  • smooth height view
  • smooth height produces no sampling stripes across subpixel offsets
  • flat height stays neutral at submillimeter footprints

Bind

Fixture: Terrain Surface Detail11 tests
Case symbol: Bind
Source: Tests/TerrainSurfaceDetail11Tests.cpp:144

Test
Bind: bind terrain.
Source check messages (including original failure wording)

  • bind terrain

Time

Fixture: Terrain Surface Detail11 tests
Case symbol: Time
Source: Tests/TerrainSurfaceDetail11Tests.cpp:159

Test
Measurement group: validates GPU timing queries and completion while measuring the fixture workload. Timings depend on the selected device and mode.
Source check messages (including original failure wording)

  • timer
  • timestamp
  • GPU timer timeout
  • GPU query data
  • valid nonzero GPU timing

Debug Clean

Fixture: Terrain Surface Detail11 tests
Case symbol: DebugClean
Source: Tests/TerrainSurfaceDetail11Tests.cpp:172

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

  • debug-layer warnings/errors

Check Snow Shader

Fixture: Terrain Surface Detail11 tests
Case symbol: CheckSnowShader
Source: Tests/TerrainSurfaceDetail11Tests.cpp:181

Test
Checks full snow suppresses dirt, melting restores ground color and corner interpolation preserves storm direction.
Source check messages (including original failure wording)

  • snow does not tint terrain
  • partial snow coverage missing
  • snow is cumulative or unstable
  • full snow alpha failed to suppress dirt texture
  • melt did not restore original ground color
  • snow corner interpolation lost storm direction
  • snow altered terrain alpha
  • snow tint changed open-water shading

Entry-point checks

Fixture: Terrain Surface Detail11 tests
Case symbol: main
Source: Tests/TerrainSurfaceDetail11Tests.cpp:218

Test
Entry-point checks: authored rock gains visible detail; off restores original shader pixels; material transitions retain relief.
Source check messages (including original failure wording)

  • authored rock gains visible detail
  • detail is deterministic
  • off restores original shader pixels
  • relief follows sun direction
  • material transitions retain relief
  • water remains identical
  • detail fades before far-pass handoff
  • plot boundary is unchanged and degenerate UV is finite
  • opaque runway masks relief
  • opaque road masks relief
  • near lamps reveal detail at night
  • ground-level view retains visible relief
  • disabled ground-level view matches original
  • submillimeter camera motion has no large lighting jumps