mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
raea media lod MODEL.glb [--level N] [--texture PX] -o OUT.glb halves every mesh's triangles a level (meshoptimizer on the mesh's own vertices: skins, morph targets, UVs and materials untouched, only the index lists replaced), makes embedded pictures at most PX on their longer side, and drops what nothing uses. Checked: a skinned body, 27,420 triangles to 6,854 at level 2, rendered and looked at. 2 tests. Cargo.lock has raea-runtime-live's raea-sys-frame edge too (the first PV1 commit left it out). docs/preview.feature: each rule's status and what isn't built.
20 lines
914 B
TOML
20 lines
914 B
TOML
[package]
|
|
name = "raea-app-media"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "FSL-1.1-ALv2"
|
|
publish = false
|
|
description = "`raea media|ffmpeg|ffprobe`: the agent's media work on raea-media (probe, stills, sheets, audio, loudness, motion, cuts, freezes, proxies, trims, concats), ffmpeg's command lines read as those verbs, and an HTML page's render and shots"
|
|
|
|
[dependencies]
|
|
raea-sys-frame = { path = "../../systems/frame" }
|
|
raea-io-home = { path = "../../io/home" }
|
|
raea-render = { path = "../../engine/render", default-features = false, features = ["native"] }
|
|
# renders to files: RenderOpts, render, render_fed, render_file
|
|
raea-runtime-encode = { path = "../../runtime/encode" }
|
|
raea-io-media = { path = "../../io/media", default-features = false }
|
|
raea-page = { path = "../../engine/page" }
|
|
serde_json = "1"
|
|
# a model's lower levels of detail (lod.rs): the simplifier Bevy's meshlets use
|
|
meshopt = "0.6.2"
|