Skip to content

CI validation: em034 Lady exact head - #112

Closed
VrUaCom wants to merge 81 commits into
mainfrom
ci/em034-lady-exact-head-20260928
Closed

VrUaCom wants to merge 81 commits into
mainfrom
ci/em034-lady-exact-head-20260928

Conversation

@VrUaCom

@VrUaCom VrUaCom commented Sep 28, 2026

Copy link
Copy Markdown
Owner

Temporary exact-head validation PR for the canonical Lady runtime branch. Do not merge. Source head: 6ae131c. PR #104 remains the device-acceptance PR and stays draft.

@VrUaCom
VrUaCom marked this pull request as draft September 28, 2026 05:58
@VrUaCom
VrUaCom marked this pull request as ready for review September 28, 2026 05:58

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6ae131cdce

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +673 to +675
if (!part.placement.resolved) return false;
part.placement.mode = CompositePlacementMode::HostJoint;
binding.control_domain = domain;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve the component transform before releasing its constraint

When a slot-11 raw MOT or slot-13 Script Play switches component 0 to IndependentMotionScript, this only changes the placement mode. attach_part_skeleton stored the live transform in attachment_offset and the posed scene nodes, not in root_matrix, which therefore remains the source identity; load_motion subsequently snapshots that stale root_matrix for the animated part. The component consequently jumps from its body joint to source origin as soon as its independent animation starts, rather than freezing at its resolved equipment transform.

Useful? React with 👍 / 👎.

Comment on lines +1018 to +1020
Session::MotionScriptRole role = Session::MotionScriptRole::Primary;
const bool lady_archive =
archive_name.find("em034") != std::string_view::npos;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Normalize the archive name before identifying Lady

For a valid archive named EM034.PAC or with any other capitalization, archive_variants correctly selects the Lady appearance case-insensitively, but this check leaves slots 12 and 13 with the generic Primary role. The other new find("em034") checks likewise omit dynamic visuals and the special component pack routing, so Script Play is incomplete solely because the user-visible filename was capitalized. Use the same normalized basename comparison as the variant lookup.

Useful? React with 👍 / 👎.

Comment on lines +718 to +720
auto& mesh = out->presentation_mesh;
mesh = session.render_mesh;
out->presentation_textures = session.attached_textures;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid copying every decoded texture on each rendered frame

While any dynamic Lady visual is active, every call to render_session constructs a fresh PreparedView and this assignment deep-copies every ImagePreview::rgba8 buffer; the later insertion also copies each dynamic visual's decoded textures. The Android render loop invokes this at 20–60 fps, and Shl03 visuals have no retirement frame, so playback can continuously allocate and copy multiple decoded PTX banks, causing avoidable frame drops and memory pressure. Cache/share the immutable texture data rather than rebuilding it per frame.

Useful? React with 👍 / 👎.

@VrUaCom VrUaCom closed this Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant