Adicionado suporte para carregar o modelo demo IFC (demo250hp.ifc) como opção de teste, incluindo fluxo de conversão para GLB, geração de URL e exibição na tela inicial. Também integrei um novo botão de demo IFC na página Index, paralelo ao demo GLB, com estado de carregamento e mensagens de sucesso/erro.
X-Lovable-Edit-ID: edt-1299c6d1-18e7-42f9-8b88-a7569f8bfd3f
Implemented 3-axis rotation (X, Y, Z) for XR model, updated model store, applied in XRSession and ModelViewer, and added a Help panel with AR tool instructions. Also wired a new slide-out help UI and integrated rotation controls into HUD.
X-Lovable-Edit-ID: edt-136f1e77-9880-4984-8ca2-cf01457dc714
Enable automatic snapping of placed models to detected WebXR planes, + visualization and HUD controls for plane-based alignment. Added XRPlaneOverlay, enhanced XRHitTestPlacement with snapToPlanes support, integrated plane overlays in placement UI, and wired snap toggle in HUD. Also wired new snapToPlanes state and related callbacks in XRSession.
X-Lovable-Edit-ID: edt-e3ef299f-6898-4442-844a-e6363dcfd236
Integrate XR hit-test for surface placement by adding XRHitTestPlacement component, replacing image-tracking anchor with hit-test in XR session, and wiring placement toggle in HUD to position models on real-world surfaces.
X-Lovable-Edit-ID: edt-45a570ae-a207-48dc-83cd-57fdd02386de
Adiciona painel lateral deslizante de inspeção na sessão XR. Integra InspectionChecklist ao HUD XR, exibindo andamento, itens e campos de anotação/voz. Inclui botão Inspeção no HUD, acesso via slide e cálculo de progresso.
X-Lovable-Edit-ID: edt-cffb3910-1cff-4ce7-9ea2-285c48891a31
Add a floating XR HUD with opacity, grid, render mode, measure tools, screenshot, and fine-tuning controls, plus joystick-free movement toggle and updated XR interactions integration.
X-Lovable-Edit-ID: edt-9c054839-260a-4f38-8db2-7416a1b5fdf7
Added console-based diagnostics to XRSession.tsx to help debug AR session issues on Quest 3:
- Log store initialization and XR feature support checks via navigator.xr.
- Emit runtime logs for store state changes, session activation, and session end.
- Enhanced AR button to log click and wrap store.enterAR() with console traces for resolution/rejection.
X-Lovable-Edit-ID: edt-22fab2e4-d64c-4e9b-9ef2-093ce20274d8
Refactor XRSession to instantiate a module-level XR store, remove legacy per-call store creation, ensure AR entry is triggered directly from user gesture, and adjust minor XR-related UI and state handling to align with Quest 3 browser expectations.
X-Lovable-Edit-ID: edt-ef87ec06-a98f-4ade-a9b7-e50d2d513233
Refactored XRSession to remove marker bitmap preloading and lazy async store initialization. Replaced complex getXRStore flow with a single getOrCreateXRStore, removed manual bitmap handling, and updated AR start flow to use the centralized store. Simplified UX message on successful XR start.
X-Lovable-Edit-ID: edt-a8250c81-169f-4cc7-8370-4f5068a2c078
Refactor XRSession.tsx to use lazy-initialized XR store with image-tracking via customSessionInit, remove manual navigator.xr.requestSession, and conditionally emulate Quest3 only on localhost. Adds singleton marker bitmap loading and initial XR store fallback, updates to render with updated store and AR entry flow.
X-Lovable-Edit-ID: edt-b777747a-a859-4071-93ad-831f6c0fc336