Feature Map

This page is the shortest complete map of the repo’s user-facing surface. It is organized by workflow rather than by Rust module layout.

Open-Source Core

Area

Main APIs

Covered by examples

Interactive terrain viewing

open_viewer_async, ViewerHandle, ViewerWidget

terrain_viewer_interactive.py, terrain_camera_rigs_demo.py

Terrain inputs and datasets

mini_dem, fetch_dem, datasets, cog.open_cog

terrain_single_tile.py, cog_streaming_demo.py

Raster overlays

ViewerHandle.load_overlay

swiss_terrain_landcover_viewer.py, bosnia_terrain_landcover_viewer.py, belgium_bivariate_climate_map.py

Population and thematic rasters

RasterHeightSurfaceStyle, CategoricalRasterStyle, BivariateRasterStyle through MapScene. Opt-in categorical area-majority sampling is available for resident and streamed MapScene overlays, viewer overlays, and traced terrain albedo. Ordered resident renders can enable categorical history.

Style contracts, mapscene_thematic_rasters.py

Statistical raster relief

ValueFaithfulRasterBinding links prepared counts or densities to fixed colours, coverage and a registered inset

C02 first-delivery guide, examples/c02_amsterdam_value_faithful.py

GPU normalized-difference rasters

RasterRecipe and RasterRecipeSource classify registered raster pairs for native terrain in MapScene

GPU raster recipe guide

Vector overlays and labels

VectorLineLayer, ViewerHandle.add_vector_line, ViewerHandle.add_vector_overlay, ViewerHandle.add_label, ViewerHandle.add_labels, ViewerHandle.add_line_label, ViewerHandle.add_callout

vector_line_drape.py, luxembourg_rail_overlay.py, fuji_labels_demo.py

Picking and selection

viewer_ipc picking helpers

picking_demo.py, picking_test_interactive.py

Point clouds

ViewerHandle.load_point_cloud, forge3d.pointcloud

pointcloud_viewer_interactive.py

Camera automation

forge3d.animation, forge3d.camera_rigs, [forge3d.cinema](../api/cinema.md)

camera_animation_demo.py, terrain_camera_rigs_demo.py, autochiron_reveal_orbit.py

Subject-led terrain reveals

compile_subject_shot, SubjectFeature, StoryObstacle, StoryAnnotation

c07_grindelwald_eiger.py

Terrain quality controls

terrain_params, presets, terrain_scatter

terrain_atmosphere_path_demo.py, pnoa_river_showcase_video.py

Caller-driven water surfaces and optics

WaterOpticsSettings through TerrainRenderer

Water optics, terrain_water_optics.py

Native/offscreen rendering

Scene, Session, TerrainRenderer, render_offline

terrain_atmosphere_path_demo.py, triangle_png.py

DEM-resolution terrain meshes

TerrainRenderParams.camera_mode through TerrainRenderer

DEM-resolution meshes

Terrain and poster recovery after GPU loss or interruption

hybrid_render_terrain_reference, render_terrain_poster

Resume a render

Match a compatible terrain reference

recover_scene, RecoveredScene

GPU acceptance scene; this estimates surface colour, sunlight, and haze without changing an existing map on its own

Typed map scenes

MapScene, LabelLayer, MapSceneBuildingLayer, Tiles3DLayer, MapScene.save_bundle, MapScene.load_bundle

mapscene_terrain_raster.py, mapscene_vector_labels.py, mapscene_buildings_labels.py

Map scale continuity

forge3d.semantic_scale

Semantic scale guide, c03_semantic_scale.py

Inspect original DEM elevations

dem_audit.audit, declared preparation repairs

DEM inspection guide

Reusable geographic preparation

PreparationRecipe, prepare_scene, PreparedScene, export_landscape

prepare_scene.py, data-to-scene guide

Terrain material recipes

TerrainMaterialRecipe, MaterialGrid, MaterialMask, MaterialTexture, TerrainMaterialStyle

terrain_material_recipe.py; recipe contract

Geospatial material authoring

GeospatialMaterialRecipe, MaterialLayer, MaterialRasterStyle

Terrain, raster, vector and building bindings

Ordered map composition

RenderPassInput, RenderPassSpec, MapScene.render_passes

Composition contracts, physical render example

Linear-light map composition

OutputSpec.compositing_mode, MapPlateConfig.compositing_mode

Layer conventions and viewer opt-in

Geometry, mesh, vector, SDF, path tracing

geometry, mesh, vector, sdf, path_tracing

API-level usage; not every module has a dedicated showcase script

Device and memory diagnostics

has_gpu, device_probe, mem

diagnostics and tooling flows rather than gallery scripts

The terrain visibility-buffer clipmap route requires the device feature SHADER_PRIMITIVE_INDEX. A device configuration without it, including the feature-free deterministic profile, rejects that route before pipeline creation. TAA depth reads do not require optional float32 texture filtering.

Pro Workflows

Area

Main APIs

Covered by examples or tutorials

Map plates and cartographic furniture

MapPlate, Legend, ScaleBar, NorthArrow

map_plate.ipynb, GIS tutorial 03

Linked PNG publications

PublicationRecipe, reusable layouts with linked insets, extent/subject/C04-selected time series, camera-linked flyover frames and endpoint PNGs, style-derived legend and actual plan/flat-terrain perspective locator; perspective scale omitted

C06 guide, examples/c06_population_publication.py, examples/c06_time_publication.py, examples/c06_oblique_publication.py, examples/c06_flyover_publication.py; per-route output limits declared, C04/C06 remain partial pending their acceptance

Measured terrain transects

measured_sections.sample_transect and render_section produce audited WGS 84 samples and a linked map/profile still

C08 first delivery

Fixed-camera observation maps

observation_map.compile_observation_map links observation selection and dated events to CHRONOS frames and replay

Observation maps guide

Vector export

export_svg, export_pdf, VectorScene

gallery vector-export workflow

Buildings

add_buildings, add_buildings_cityjson, add_buildings_3dtiles

buildings_viewer_interactive.py, GIS tutorial 04

Mapbox-style import

style.load_style, style.apply_style

style_viewer_interactive.py

Scene bundles

save_bundle, load_bundle, ViewerHandle.load_bundle

terrain_demo.py, Python tutorial 04

Core Package Modules

The main package surface splits naturally into a few groups:

  • Viewer and notebook control: forge3d.viewer, forge3d.viewer_ipc, forge3d.widgets, forge3d.interactive

  • Terrain configuration: forge3d.terrain_params, forge3d.presets, forge3d.terrain_scatter

  • Reference-scene matching: forge3d.recover_scene, forge3d.RecoveredScene

  • Scene animation and rigs: forge3d.animation, forge3d.camera_rigs

  • Terrain and asset loading: forge3d.datasets, forge3d.crs, forge3d.cog, forge3d.pointcloud, forge3d.tiles3d

  • Production-oriented scene assets: forge3d.buildings, forge3d.style, forge3d.bundle, forge3d.map_plate, forge3d.export

  • Lower-level rendering and geometry: forge3d.geometry, forge3d.io, forge3d.mesh, forge3d.vector, forge3d.sdf, forge3d.path_tracing, forge3d.lighting

forge3d.map_scene is the typed offline map-production surface. P1 asset adapters such as LabelLayer, MapSceneBuildingLayer, and Tiles3DLayer are underdeveloped until their feature 005 story tests complete, and unsupported or incomplete paths must remain diagnostic-bearing rather than silently renderable.

What The Examples Directory Actually Covers

examples/ is not just a gallery dump. It spans:

  • minimal PNG and array round-trips

  • baseline terrain viewing

  • raster overlays and terrain composition

  • labels, styles, vector overlays, and picking

  • point clouds, buildings, and streaming terrain inputs

  • camera animation, camera rigs, and cinematic rendering

  • pure-Python post-processing on top of forge3d snapshots

  • notebooks for quickstart, terrain exploration, and map plates

Use the Examples Catalog when you want the exact file for one of those jobs.

Choosing The Right Entry Point

  • Start with open_viewer_async() if you want a live scene.

  • Add ViewerWidget when the same workflow needs to run inside Jupyter.

  • Use Scene or TerrainRenderer when you need an explicit offscreen pipeline.

  • Use ViewerHandle methods for the public label workflow. Use viewer_ipc only for advanced compatibility commands that do not yet have a truthful high-level wrapper.

  • Reach for Pro modules only after you already have a stable viewer or renderer workflow.

The native interactive MapScene pipeline documents shared terrain/building depth, GPU effects, full-resolution cartography, certificate evidence and explicit unsupported combinations.