Rise
The Vieneo Province
Loading...
Searching...
No Matches
Cloud Base Geometry tests

Checks cloud-base sphere geometry, winding and continuity at planetary face edges and corners.

Subsystem: Weather, clouds, lightning and atmospheric visibility
Fixture/harness: cloudbasegeometrytests
Setup: The standalone CloudBaseGeometryTests harness owns the inputs, local helpers and assertion sink used by the case files below.

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

CloudBaseGeometryTests.cpp

Source: Tests/CloudBaseGeometryTests.cpp

Check Triangle

Fixture: Cloud Base Geometry tests
Case symbol: CheckTriangle
Source: Tests/CloudBaseGeometryTests.cpp:63

Test
Checks nondegenerate cloud triangles and surface-facing winding at planetary face edges and corners.
Source check messages (including original failure wording)

  • cloud triangle collapsed at a face edge/corner
  • cloud triangle winding no longer faces the surface

Check Patch

Fixture: Cloud Base Geometry tests
Case symbol: CheckPatch
Source: Tests/CloudBaseGeometryTests.cpp:70

Test
Checks cloud vertices stay on the planetary sphere with the correct face orientation, grid scale and local edge lengths.
Source check messages (including original failure wording)

  • cloud vertex left the sphere (terrain void placeholder)
  • cloud projection changed the face orientation or grid scale
  • cloud edge spans more than a local grid cell
  • cloud texture direction has a kink across the U seam
  • cloud texture direction has a kink across the V seam