-
Notifications
You must be signed in to change notification settings - Fork 0
Tutorial Custom Validation Policy
← Home
Take a default solarxy.toml from zero to a tuned policy that matches your
studio's asset categories, tolerances, and which checks make sense for your
pipeline. Aimed at technical directors taking ownership of validation gates.
Phase 1 scaffold. The full tutorial lands in Phase 2. See Configuration for the schema reference and Validation Reference for what each check does.
Phase 2: a solarxy.toml that classifies your studio's assets correctly and
gates CI without false positives.
Phase 2: a representative folder of assets across every category you care about.
Phase 2:
- Start from a default
solarxy.toml. - Define
[budgets]for hero / mid / prop / background (or your own labels). - Define
[[filenames.rules]]regex patterns mapping filenames to budgets. - Tune
[validation]toggles - flip off checks that don't apply (e.g. setallow_open_mesh = truefor deliberately unsealed assets). - Tune
[thresholds]-triangle_budget_tolerance_percentfor the warning band,flipped_normal_dotfor normal sensitivity. - Re-run on the asset folder and iterate.
Screenshots to capture:
-
img/tutorial-policy-toml.png- the annotatedsolarxy.tomlopen in an editor with schema completions hovering.
Phase 2: zero false positives on known-good assets; expected findings on known-bad assets.
Phase 2: how the per-category budget mechanic composes with the tolerance
band, when allow_open_mesh is the right call, and why
thresholds.flipped_normal_dot = -0.5 is the default.
Phase 2: pointers to Validation Reference and the CI tutorial.
See also: Configuration · Validation Reference · CI/CD Integration · Tutorial: Validate in CI
Solarxy - A lightweight, cross-platform 3D model viewer and validator built with Rust and wgpu.
GitHub Repository · Releases & Downloads
© 2026 Marko Koljancic · MIT License
Getting Started
Tutorials
Using Solarxy
Reference
Help
Project