Repository navigation
Strata 0.3.0
Static meshes, overlays and space lighting, and the simulation module. Every
ABI addition is compatible: STRATA_ABI_VERSION stays 1 and
STRATA_ABI_MINOR is 5.
- Static meshes (ABI 1.4):
StrataMesh,strata_add_mesh,
strata_remove_meshandstrata_clear_meshes. Up to 256 indexed triangle
meshes, already in world space, with a linear RGB colour per vertex or per
mesh and host or engine-computed (area-weighted) normals. They share the
terrain's vertex format and pipelines, so they are drawn under both lighting
modes and cast and receive sun and point-light shadows. For geometry the
primitives and the terrain tile cannot express, such as extruded footprints
and ribbons; a narrow precursor to RFC 0020 §9's cooked meshes and
materials, not milestone M1. - Scene files take
mesh,vertices,vcolorsandtriangleslines.
tools/gen_mesh_scene.pywrites the static-mesh goldens' world. - Overlays (ABI 1.5):
StrataLineVertex,StrataPointandStrataText
withstrata_submit_lines,strata_submit_pointsand
strata_submit_text. Unlit, alpha-blended lines and round points
(fixed pixel size, true world size, or both; solid or a soft additive
glow), depth-tested against the scene, and screen-space text in the
public-domain font8x8 bitmap font, drawn in newoverlayandtext
passes after the sky. STRATA_LIGHTING_SPACE(ABI 1.5): point lights over a flat ambient, with
no sun, moon, fog or sky, for scenes lit by a light inside them.GpuDevice: line topology, alpha and additive blending,drawArrays, and
R8textures with initial data.- Scene files take
lighting space,line,circle,pointandtext
lines. New goldenso1_space_systemando1_overlays_sun. modules/sim(strata::sim, C++ only,STRATA_WITH_SIM, on by default;
not in the C ABI and no GL): a seeded PCG32Rng, aRegistrywith a fixed
iteration order,Field2D/Mask2Dwith mass-conserving diffusion and
decay, aFixedStepclock, aStateHasherfingerprint and colormaps.- Optional OpenUSD modules behind
STRATA_WITH_USD(off by default):
modules/usd(the flat world and USD sync points) andmodules/save
(content-addressed, integrity-checked saves). CI fetches a prebuilt OpenUSD
keyed by its pin. - A simulation module,
modules/sim(strata::sim, C++ only, on by default
withSTRATA_WITH_SIM): a seeded PCG32Rng, aRegistry<Components...>
with a deterministic iteration order,Field2D/Mask2Dscalar fields with
mass-conserving diffusion and decay, aFixedStepclock, aStateHasher
fingerprint and field colormaps for terrain-tile heatmaps. No GL, no new
dependencies, no C ABI change. Tested bystrata-sim-tests.