mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
A .glb gets a second uv set and four cause maps over it, kept by content in the composition's asset store: sky, the year's sun, cavity and edge; run-off, what it left and its kind, and touch; height over the walk, the chart's element and open sky; the winter sun, driven snow and where blown things settle. raea-sys-weathering packs planar charts (flood, merge, split, absorb, hide) and casts parry3d rays; raea-sys-runoff walks rain down faces, along ledges and off drips, carrying rust, copper, zinc and grime downstream; raea-sys-touch finds door leaves, treads, rails, passages and gateways, and where plates, bills and nameplates belong; raea-sys-exposure takes the sun by date and driven snow; raea-sys-glb reads and writes the .glb. wear.bake is registered with the calls crate's natives (runtime/calls). Tests: weathering 10, touch 9, runoff 4, exposure 4, wear 3.
23 lines
844 B
TOML
23 lines
844 B
TOML
[package]
|
|
name = "raea-runtime-wear"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "FSL-1.1-ALv2"
|
|
publish = false
|
|
description = "raea/wear's bake as a native call (wear.bake) and a verb (raea wear bake): a .glb's cause maps made once in the composition's asset store"
|
|
|
|
[dependencies]
|
|
# the native-call registry
|
|
raea-native = { path = "../../engine/native", default-features = false }
|
|
# the composition's asset store, where a bake is kept
|
|
raea-io-assets = { path = "../../io/assets" }
|
|
# a bake's time counted as made on first use, not as settling
|
|
raea-sys-bake = { path = "../../systems/bake" }
|
|
# the bake itself (docs/wear.feature WR1-WR3, WR9)
|
|
raea-sys-weathering = { path = "../../systems/weathering" }
|
|
serde_json = "1"
|
|
|
|
[dev-dependencies]
|
|
# a small wall and floor written as a .glb for the tests
|
|
raea-sys-glb = { path = "../../systems/glb" }
|