Aller au contenu
Skillpedia
Sites et interfaces (frontend)7.2k · #13326

3d-virtual-tour

Ce qu’il fait

Cette compétence guide l'agent pour créer des visites virtuelles guidées d'espaces 3D. Elle s'adresse aux développeurs qui réalisent des parcours architecturaux, des visites immobilières, des musées ou des showrooms dans Three.js.

Quand l’utiliser

  • ✓Quand un bâtiment ou un showroom 3D a besoin d'une visite guidée.
  • ✓Quand les visiteurs doivent accéder à une pièce depuis une liste ou un plan.
  • ✓Quand un modèle a besoin d'un mode d'inspection rapprochée pendant une visite.

Lien du skill

https://github.com/MengTo/Skills/blob/main/agent-skills/3d/3d-virtual-tour/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/MengTo/Skills/blob/main/agent-skills/3d/3d-virtual-tour/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Construis une visite guidée de mon bureau 3D qui passe par chaque pièce et permet d'aller directement à une pièce depuis une liste.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent définit un parcours de caméra avec des arrêts, relie les étiquettes des pièces et les commandes de navigation à ce parcours, et charge les ressources progressivement. Il garde la caméra, le parcours et les commandes en accord.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

3D Virtual Tour

Help the viewer understand a place through movement, landmarks, and direct navigation. Keep the route, camera, room labels, and controls in agreement.

Establish the tour model

Inspect the scene, coordinate system, scale, floor elevations, door openings, renderer, camera controls, and asset-loading path. Preserve existing architecture and interactions. Choose the navigation modes the experience actually needs:

Mode Camera owner Navigation
Guided tour Authored route sampler Scroll, play/pause, or previous/next stops
Room destination Authored room pose or route stop Room list, hotspot, or floor plan
Inspect Bounded orbit controller Drag, pinch, zoom, and return
Free walk, when requested First-person controller with collision Movement and look controls

For a Seijaku-style experience, start with a guided route, room destinations, and optional model inspection. Add free walking only when requested or required; orbit controls alone do not provide a walkable interior. If the source is only a set of panoramic images, use linked panorama viewpoints rather than implying that it contains navigable geometric depth.

Author a route through real openings

Store route keys as progress/time, position, look target or orientation, and field of view. Store stops with stable IDs, labels, route coordinates, and associated asset groups. Keep the route coordinate independent of page height or animation clock so room links survive layout changes.

Place keys before, within, and after narrow openings. Use floor-relative eye height, account for raised floors and steps, and slow before turns or important views. Keep the horizon stable and avoid large simultaneous changes in position, gaze, and field of view. Favor physically plausible proportions over an excessively wide lens that stretches rooms.

Use timed Hermite interpolation, a suitable spline, or authored animation. Seijaku uses nonuniform timed Hermite keys for position, gaze, and field of view. A centripetal spline is another useful option, but any smooth curve can cut a corner between collision-free keys. Inspect the complete interpolated path, including the camera's near-plane clearance, against walls, ceilings, furniture, and doorframes.

Curve parameter is not automatically distance or travel time. Use arc-length sampling when roughly constant speed matters, or intentionally time segments to create pauses and reveal landmarks. Inspect Curve for the installed renderer's parameterization methods.

Interpolate orientation with quaternion slerp when using orientation keys. If interpolating look targets, prevent the target from crossing or coinciding with the camera, which can flip its direction. Update the projection matrix when field of view or aspect changes.

Give one controller final camera ownership

Use a small navigation state machine and one final camera write per frame. Inputs request state changes; the route sampler, orbit controller, and transition handler must not all mutate the live camera independently.

Entering inspection should save the current route coordinate, active stop, playback state, and any scroll bookmark. Initialize inspection from a compatible view on the viewer's current side of the building. Freeze guided progression while inspecting.

Blend position, orientation, and field of view during the handoff using a validated transition path. A straight line from an interior to an exterior orbit can cross a roof; even an upward arc needs checking. Use safe waypoints, or a brief fade and destination cut when there is no credible continuous route. Clamp orbit distance and pitch to the intended inspection area.

Returning restores the saved guided state, reconciles scroll position, clears stale drag velocity, and resumes playback only if it was previously running. Disable inactive controllers and stale damping updates so they cannot pull the camera away after a transition. New navigation requests should replace the pending destination from the current pose rather than queue several competing tweens.

Connect rooms, maps, and controls

Drive room cards, a chapter rail, floor-plan regions, and scene hotspots from the same stop registry. Use a clear world-to-plan coordinate transform; do not assume a plan's vertical axis matches world Z. Highlight the current room or route segment, with hysteresis at boundaries to avoid flicker.

Roo

Questions fréquentes

Permet-elle de se déplacer librement dans le bâtiment ?

Seulement sur demande. La compétence indique que la marche libre nécessite un contrôleur à la première personne avec collisions.

Et si je n'ai que des photos panoramiques ?

La compétence indique d'utiliser des points de vue panoramiques liés, car les photos ne contiennent pas une vraie profondeur 3D.

Inclut-elle un plan ?

Oui. La navigation par plan fait partie des façons de passer d'une pièce à l'autre.

Détails

Description originale de l’auteur

Build guided and interactive virtual tours through a 3D environment with authored camera paths, room and floor-plan navigation, orbit inspection, smooth mode handoffs, and progressive loading. Use for architectural walkthroughs, real-estate tours, museums, showrooms, and explorable spaces built with Three.js or a similar renderer.

repo: MengTo/Skills

Popularité

Étoiles GitHub
7.2k
Position au classement
#13326
Licence
MIT
Mis à jour
01/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires