Skip to content

Added support for virtual tours#12

Merged
ripventura merged 2 commits intomainfrom
feat/ux-improvements
Feb 20, 2026
Merged

Added support for virtual tours#12
ripventura merged 2 commits intomainfrom
feat/ux-improvements

Conversation

@ripventura
Copy link
Copy Markdown
Owner

@ripventura ripventura commented Feb 19, 2026

When viewing the asset under immersion, the user is now presented with a floating panel that guides through many predefined spots for a curated experience.

Assets now declare their properties for proper rendering
@ripventura ripventura self-assigned this Feb 19, 2026
Comment on lines +42 to 48
.ornament(attachmentAnchor: .scene(.top)) {
if hasLoadedModel {
Text(asset.title)
.font(.title)
}
}
.ornament(attachmentAnchor: .scene(.bottomFront)) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Two .ornament modifiers are now cascaded on the same view. CLAUDE.md prohibits this: "Never cascade multiple .sheet, .alert or similar modifiers — use a single declaration controlled by a Controller."\n\n.ornament is a visionOS presentation/overlay modifier in the same category as .sheet and .alert. Both ornaments should be consolidated into a single declaration controlled by a Controller.\n\nSee:

}
.ornament(attachmentAnchor: .scene(.top)) {
if hasLoadedModel {
Text(asset.title)
.font(.title)
}
}
.ornament(attachmentAnchor: .scene(.bottomFront)) {
if hasLoadedModel && immersiveSpaceController.phase == .closed {

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

They have different scene anchors, one is .top and the other is .bottomFront. This is totally fine.

User is now able to be guided through a virtual tour of the asset durring immersion, with detailed descriptions of each scene.
@ripventura ripventura changed the title Improvements on Asset Added support for virtual tours Feb 20, 2026
@ripventura ripventura merged commit 50a83f3 into main Feb 20, 2026
1 check passed
@ripventura ripventura deleted the feat/ux-improvements branch February 20, 2026 11:17
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