Skip to main content

Module geo_viewport

Module geo_viewport 

Source
Expand description

Round 10 (GEO-S10) webizen-render Planetary-to-Millimeter Geospatial Viewport: Capped-Angle Polyline & Earcut Tessellation, CDLOD Quadtree & Terrain Skirts, MVT Style & Curved River/Road Labels, Screen-Space Collision Solver, Rayleigh/Mie Spherical Atmosphere Limb, Gerstner Water Waves, Hypsometric Contours, GPU Picking, and Ambient Vegetation/Particle Effects.

Re-exports§

pub use self::geo_tessellation_capped as tessellation;
pub use self::mvt_pmtiles_curved_labels as curved_labels;
pub use self::sky_atmosphere_limb as sky_limb;

Modules§

geo_tessellation_capped
Re-exports geospatial polyline/polygon tessellation, CDLOD quadtree, and terrain skirt stitcher from etalon_render::geo_viewport::tessellation.
mvt_pmtiles_curved_labels
Re-exports MVT/PMTiles vector tile style evaluator, curve-following centerline glyph placement, and R-Tree screen-space label collision solver from etalon_render::geo_viewport::curved_labels.
sky_atmosphere_limb
Re-exports spherical atmospheric limb & aerial perspective, Gerstner waves, hypsometric tinting, and GPU picking from etalon_render::geo_viewport::sky_limb.
vegetation_effects
Re-exports deterministic ambient vegetation and particle effects from etalon_render::geo_viewport::vegetation_effects.

Structs§

AtmosphereParams
CdlodNodeSpec
CurvedGlyphQuad
GPU-ready glyph vertex quad layout oriented along a curve tangent.
EffectEvent
EffectPool
GeoRenderVertex
GpuParticle
LabelCandidate
Point-label placement candidate.
PickingHitRecord
PlacedLabel
Accepted label with placed coordinates and Imhof position code.
RTreeNode
Internal R-Tree node for bounding-box screen spatial index.
RTreeScreenIndex
Screen-space R-Tree collision structure.
StyleZoomStop
A zoom-dependent keyframe stop for vector tile property interpolation.
SystemTelemetry
System telemetry metrics for ambient visualization (48-byte WGSL-aligned uniform struct).
VectorTileLayerStyle
Vector tile layer visual styling configuration.
WaterSurfaceSample
WindField
WorldFrame

Enums§

EffectsMode
GeoAtmosphereError
GeoLabelError
Error conditions for vector tile styling, glyph layout, and label collision.
GeoTessError
SpawnOutcome
StrokeJoinCapStyle

Constants§

DEFAULT_WORLD_SEED
MAX_AMBIENT_PARTICLES
MAX_EFFECT_EVENTS
OFFSET_B
OFFSET_BL
OFFSET_BR
OFFSET_CENTER
OFFSET_L
OFFSET_R
OFFSET_T
OFFSET_TL
OFFSET_TR

Functions§

build_terrain_patch_with_skirts
evaluate_sky_limb_and_aerial_perspective
Evaluates single-scattering Rayleigh & Mie sky limb radiance and aerial perspective transmittance.
evaluate_style_zoom_interpolated
Evaluates Mapbox/MapLibre-style zoom interpolation for vector layer properties.
evaluate_water_wave_and_foam
Evaluates 4-octave Gerstner trochoidal water displacement, normal, Schlick Fresnel, and shore foam.
layout_glyphs_along_centerline
Layout glyph quads along a curve centerline (roads, rivers).
resolve_gpu_picking_id_aperture
Resolves the nearest non-zero packed entity (layer_id: u32 << 32 | feature_low: u32) within aperture.
select_cdlod_quadtree_nodes
select_mode
Selects mode.
shade_hypsometric_and_contours_into
Swiss-style hypsometric elevation tint and screen-space anti-aliased elevation contours.
solve_screen_space_label_collisions
Screen-space label collision solver with 8-position Imhof offset resolution.
stable_seed
stable seed.
tessellate_polygon_earcut
tessellate_polyline_stroke_capped