google / model-viewer

Easily display interactive 3D models on the web and in AR!
https://modelviewer.dev
Apache License 2.0
6.96k stars 822 forks source link

How to get SceneViewer in Version 1.0.0? #1263

Closed Piflyer closed 4 years ago

Piflyer commented 4 years ago

Description

Version 1.0.0 doesn't show the typical AR container UI with an object blending other features. It was available on version 0.10.0 but not version 1.0.0.

Browser Affected

OS

Versions

lupohirp commented 4 years ago

are you using scene-viewer?

Piflyer commented 4 years ago

No, here is my code: <model-viewer src="waterbottle.glb" auto-rotate camera-controls ar autoplay ios-src="waterbottle.usdz" style="width: 100%; height: calc(75vh - 165px);" alt="A 3D model of a waterbottle">

lupohirp commented 4 years ago

and that's normal. object blending is a feature of scene viewer. so if you want to use scene viewer instead of webxr you must add this properties to tag : <model-viewer ...... ar-modes="scene-viewer webxr quick-look">