Easily display interactive 3D models on the web and in AR!
APACHE-2.0 License
Bot releases are hidden (Show)
Published by cdata almost 5 years ago
This release contains a small fix for cases where <model-viewer>
unintentionally broke some kinds of URLs as they were passed into Scene Viewer. See #855 for more details.
Published by cdata almost 5 years ago
This patch release fixes two bugs that made it out with the v0.7.0 release:
Published by cdata almost 5 years ago
camera-target
to configure where the camera is looking #733env(window-scroll-y)
to sync camera controls to page scrolling #739
calc()
syntax is also supported now #755 #739interaction-prompt-style="basic"
to select previous default prompt behaviorauto-rotate
starts with auto-rotate-delay
#831<model-viewer>
is not in the render tree #833KHR_materials_pbrSpecularGlossiness
#510getCameraOrbit
now wraps instead of growing indefinitely as the camera orbits #756auto-rotate
, the turntable rotation no longer resets to 0
#827 #833
modelViewer.resetTurntableRotation
when removing auto-rotate
to achieve the previous behavioralign-model
has been removed in favor of camera-target
camera-target="0m 0m 0m"
to achieve a similar result to align-model="origin"
interaction-prompt
causes it to display regardless of focus
interaction-prompt="when-focused"
to use the previous defaultstage-light-intensity
and environment-intensity
have been removed
exposure
and select an appropriate environment-image
in order to achieve satisfying lightingcontrols-prompt
slot has been renamed to interaction-prompt
error
events are now documented #829magic-leap
and unstable-webxr
attributes will be consolidated with the ar
attribute in a future release #541loading
attribute will supersede the preload
attribute in a future release #832modelViewer.modelIsVisible
has been deemed a confusing API and is highly likely to be changed significantly in the future #773Published by cdata about 5 years ago
This release adapts to a change in Safari on iPad that causes the <model-viewer>
AR button to stop behaving correctly (see #775 and #779 for details).
We recommend that all users update to v0.6.2 in order to preserve the ability to activate iOS AR Quick Look on iPads.
Published by cdata about 5 years ago
camera-change
event to support tracking camera movement #658modelCacheSize
let's you control <model-viewer>
's internal caching #689--ar-button-display
and --interaction-prompt-display
CSS properties can be used to hide built-in UI #718interaction-policy
attribute can change whether focus is required to interact with models #621<model-viewer>
elements #689stage-light-intensity
default changed to 0
#674
stage-light-intensity="1"
to use the previous defaultinteraction-policy
default changed to always-allow
#621
interaction-policy="allow-when-focused"
to use the previous defaultmodel-visiblity
event #718stage-light-intensity
and environment-intensity
will be removed entirely in a future release #721align-model
will be removed entirely in a future release, in favor of camera-target
#453Published by cdata about 5 years ago
This is a hotfix release to address a regression in <model-viewer>
's integration with Scene Viewer. The symptoms of this regression are described in detail in #693 .
It is recommended that all users who depend on being able to view models in AR via Scene Viewer on Android upgrade to v0.5.1.
Published by cdata over 5 years ago
Published by cdata over 5 years ago
--progress-bar-height
property https://github.com/GoogleWebComponents/model-viewer/pull/602
field-of-view
attribute https://github.com/GoogleWebComponents/model-viewer/pull/563
quick-look-browsers
attribute https://github.com/GoogleWebComponents/model-viewer/pull/626
quick-look-browsers="safari chrome"
interaction-prompt="auto"
https://github.com/GoogleWebComponents/model-viewer/pull/633
.toDataURL()
method https://github.com/GoogleWebComponents/model-viewer/pull/613
.jumpCameraToGoal()
method https://github.com/GoogleWebComponents/model-viewer/pull/614
camera-orbit
attribute/property with an absolute radius value, the camera position will appear to be different due to this change. Please adjust any configured radius values as needed to achieve the desired result!ar
attribute https://github.com/GoogleWebComponents/model-viewer/pull/539
align-model
https://github.com/GoogleWebComponents/model-viewer/pull/545
interaction-prompt
to "auto"
https://github.com/GoogleWebComponents/model-viewer/issues/623
Published by cdata over 5 years ago
slot="ar-button"
#501slot="exit-fullscreen-button"
#501Published by cdata over 5 years ago
<model-viewer>
now features built-in, customizable progress bars. See https://github.com/GoogleWebComponents/model-viewer/pull/487 for details.<model-viewer>
https://github.com/GoogleWebComponents/model-viewer/issues/489
reveal-when-loaded
attribute has been removed in favor of the new reveal
attribute and related semantics https://github.com/GoogleWebComponents/model-viewer/pull/487
<style>
model-viewer {
--poster-color: transparent;
}
</style>
stage-light-intensity
, environment-intensity
, exposure
etc) and review the new default lighting with your models before adding further customizations. Check here for a detailed description of the lighting changes.Published by cdata over 5 years ago
camera-orbit
: attribute lets you specify where the camera is positioned #452getCameraOrbit()
: method lets you access the camera position in real time #452interaction-prompt-threshold
: attribute lets you control how much time passes before the user is prompted to interact #452auto-rotate
does not begin until the model is loaded #471controls
attribute has been renamed to camera-controls
#452camera-orbit="0 90deg auto"
to your <model-viewer>
markupPublished by cdata over 5 years ago
align-model
: attribute to control whether model is aligned by center of bounding volume or its root node position https://github.com/GoogleWebComponents/model-viewer/pull/441
Published by cdata over 5 years ago
This is a hotfix release to address two small regressions released in v0.1.0
:
<model-viewer>
bounding box #411Published by cdata over 5 years ago
This release marks the largest <model-viewer>
update since it was launched publicly, and includes a ton of great work from our contributors. The following is a summary of that work:
Thanks to a ton of foundational work by @jsantell, we have landed the following huge rendering improvements:
Additionally, we have landed the following new public API for controlling lighting details:
shadow-intensity
attribute https://github.com/GoogleWebComponents/model-viewer/pull/388
exposure
attribute https://github.com/GoogleWebComponents/model-viewer/pull/389
stage-light-intensity
attribute https://github.com/GoogleWebComponents/model-viewer/pull/391
environment-image
and environment-intensity
attributes https://github.com/GoogleWebComponents/model-viewer/pull/392
We have also landed a bunch of improvements to accessibility for <model-viewer>
overall:
<model-viewer>
swallowing events while scrolling<model-viewer>
works when WebGL is not available https://github.com/GoogleWebComponents/model-viewer/pull/329
<model-viewer>
compatible with Googlebot, which has WebGL disableddist/model-viewer.js
to dist/model-viewer-umd.js
to load a compatible bundleWe have added a new category of testing: fidelity testing. These tests will help us to keep rendering results in line with ourselves and other model viewers over time. Check out our live fidelity test results for an example of how different viewers are being compared!
Since the last release, our docs have undergone a lot of changes, including a complete visual overhaul courtesy of @yuinchien :
Published by cdata almost 6 years ago
⌨️Keyboard controls for camera orientation
🙋‍♀️AR hologram faces the user when placed
🍦Smoother default camera controls
🦊Bugfixes for Android Firefox and IE11
đź’ˇImproved built-in lighting
đź‘´Legacy bundles published to NPM
🆙Three.js upgraded to r99
🏎Performance tuning for mobile browser usages
✨Updated to use the latest WebXR APIs
Published by cdata almost 6 years ago