diff --git a/crates/horizon-client/examples/entity_anim_fixture.rs b/crates/horizon-client/examples/entity_anim_fixture.rs index 6bec66a68..663bc288a 100644 --- a/crates/horizon-client/examples/entity_anim_fixture.rs +++ b/crates/horizon-client/examples/entity_anim_fixture.rs @@ -1,14 +1,17 @@ //! Replays the render states of the vanilla entity-animation oracle through -//! Horizon's `mobs::anim::setup` and writes every part's pose. +//! Horizon's `mobs::anim::setup` and writes every part's pose, then draws the +//! posed model with `mobs::render::draw` under the case's living-entity root +//! transform and writes each drawn part's packed vertex normals. //! //! cargo run --profile fast -p horizon-client --example entity_anim_fixture -- \ //! RESOURCES VANILLA.jsonl OUT.jsonl +use horizon_client::mesher::Vertex; use horizon_client::mobs::{ Mob, MobData, MobTypes, Part, Species, allay, anim::{self, Poses, State}, aquatic, body_anim as b_anim, equine, guardian, keyframes::AnimationState, - shulker, sniffer, species, tame, + render, shulker, sniffer, species, tame, }; use horizon_core::geometry::Vec3; use serde_json::{Value, json}; @@ -44,6 +47,61 @@ fn walk(part: &Part, path: &str, poses: &Poses, out: &mut BTreeMap