mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
Each local model's setup is now tools/<model>/setup.py (standard library only, on tools/local_setup.py), run by uv on any OS as raea runs it: uv on the PATH, else raea's own uv 0.12.24 fetched once into ~/.cache/raea-tools/uv (where tools/ensure.sh puts it) and checked against its SHA-256. The setup.sh beside each is a wrapper for a Mac or Linux. Until now each setup was a sh script needing uv already installed (brew install uv), so Windows had no way to install any local model. - SAO: Core ML on a Mac, ONNX Runtime elsewhere (CUDA where nvidia-smi finds a GPU; RAEA_SAO_CUDA=0|1); its WAV is written by Python's wave module, not an installed ffmpeg (same samples) - matchmove, splat: footage read through PyAV, whose wheels carry FFmpeg's libraries (no ffmpeg/ffprobe needed); splat fetches Brush v0.3.0's release build for macOS arm64, Linux x86_64 or Windows x86_64, each SHA-256 checked - goo: Taichi on Metal on a Mac, else its best GPU (CUDA, Vulkan) or the CPU; the backend is reported as run - TokenSynth: its code as GitHub's archive at a pinned commit (no git); coremltools only on a Mac - the engine runs .venv\Scripts\python.exe on Windows (venv_python), Brush's brush_app.exe - tools/release.sh ships tools/local_setup.py
27 lines
1.2 KiB
TOML
27 lines
1.2 KiB
TOML
[package]
|
|
name = "raea-sys-bake"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "FSL-1.1-ALv2"
|
|
publish = false
|
|
description = "Rigid bodies, glTF parts and goo baked once per request into a composition's asset store"
|
|
|
|
[dependencies]
|
|
raea-io-home = { path = "../../io/home" }
|
|
# a local tool's install on any OS (uv, the venv's Python): the goo solver's
|
|
raea-io-assets = { path = "../../io/assets" }
|
|
serde_json = "1"
|
|
sha2 = "0.10"
|
|
image = { version = "0.25", default-features = false, features = ["png"] }
|
|
# rigid bodies baked in process, the same bits every run (Apache-2.0). Without rapier's `enhanced-determinism` since
|
|
# Bevy 0.20: it turns on glam's scalar-math and libm through parry3d and glamx, and since 0.20 Bevy shares that glam
|
|
# (0.33), so Bevy's GPU structs lost their 16-byte alignment (MeshUniform came out 168 bytes against the shader's 176,
|
|
# and meshes drew wrong or not at all). Rapier is deterministic run to run on one machine without it; the feature is
|
|
# for the same bits across platforms. simba's libm_force, its other half, is kept (only to turn it on: cargo-shear
|
|
# leaves it).
|
|
rapier3d = "0.36"
|
|
simba = { version = "0.10", features = ["libm_force"] }
|
|
|
|
[package.metadata.cargo-shear]
|
|
ignored = ["simba"]
|