Skip to content
Sep 18, 2019
Make sure license headers exist and have an annotation (#762)
* Make sure license headers exist and have an annotation

* Add missing semi-colon

@cdata cdata released this Aug 26, 2019 · 15 commits to master since this release

New features

  • 🆕 Support for the :focus-visible polyfill to make hiding focus rings more straightforward #660
  • 🆕 Added a camera-change event to support tracking camera movement #658
  • 🆕 A new static property modelCacheSize 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 #718
  • 🆕 The interaction-policy attribute can change whether focus is required to interact with models #621

Bugfixes

  • Fixed all-black environment lighting on many mobile devices #591
  • Fixed blank render that would happen after model was reframed #705
  • Mitigated an undesirable moiré effect that occurred in some models #710
  • Removed redundant runtime environment generation #651
  • Addressed memory leaks associated with long-lived <model-viewer> elements #689

Other notable changes

  • 🎉 Rendering received major improvements in this release courtesy of incredible work by @elalish. Refer to #616 for full details of the work that took place.
  • BREAKING CHANGE: PMREM is now enabled by default and cannot be disabled #591
  • BREAKING CHANGE: stage-light-intensity default changed to 0 #674
    • Set stage-light-intensity="1" to use the previous default
  • BREAKING CHANGE: interaction-policy default changed to always-allow #621
    • Set interaction-policy="allow-when-focused" to use the previous default
  • BREAKING CHANGE: environment lighting and skybox use the same image data #712
  • Several fidelity testing improvements:
    • Filament rendering has been changed to use the WASM build #713
    • Fidelity testing has been streamlined around a browser-centric rendering flow #713
    • Added a furnace test to the fidelity tests #719
  • Docs updated to include previously undocumented model-visiblity event #718

Deprecation notices

  • stage-light-intensity and environment-intensity will be removed entirely in a future release #721
  • align-model will be removed entirely in a future release, in favor of camera-target #453
Assets 2

@cdata cdata released this Aug 7, 2019

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.

Assets 2

@cdata cdata released this Jun 14, 2019 · 49 commits to master since this release

Notable changes

  • BREAKING CHANGE: Updated to Three.js r105.2 #643
Assets 2

@cdata cdata released this Jun 13, 2019 · 54 commits to master since this release

New features

  • 🆕 Progress bar height can be configured with the CSS --progress-bar-height property #602
  • 🆕 Configurable camera FOV via the field-of-view attribute #563
  • 🆕 Control which browsers may launch iOS AR Quick Look via the quick-look-browsers attribute #626
    • BREAKING CHANGE: By default, only iOS Safari will attempt to launch Quick Look. To use the previous default, set quick-look-browsers="safari chrome"
  • 🆕 The interaction prompt can be raised automatically by setting interaction-prompt="auto" #633
  • 🆕 Capture the current render as a screenshot with .toDataURL() method #613
  • 🆕 Skip camera interpolation with the .jumpCameraToGoal() method #614

Other notable changes

  • BREAKING CHANGE: Auto-rotation is now disabled briefly after interaction #469
    • A future release will make the amount of time that rotation is disabled configurable #525
  • BREAKING CHANGE: Updated to Three.js r104 #536
  • BREAKING CHANGE: Internal reckoning of meters has changed #526
    • If you previously configured the 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!
  • Added full documentation for the ar attribute #539
  • Documentation received a major design update #518
  • Added Samsung Internet to compatibility documentation #615

Bug fixes

  • Fixed incorrect shadow alignment when using align-model #545

Deprecation notices

  • In a future change, we intend to change the default for interaction-prompt to "auto" #623
  • In a future change, we intend to enable PMREM by default for any configuration with an available HDR IBL #346
Assets 2

@cdata cdata released this Apr 26, 2019 · 87 commits to master since this release

Features

  • The AR button can now be replaced with slot="ar-button" #501
  • There is a new close button for exiting fullscreen. It can be replaced with slot="exit-fullscreen-button" #501

Bug fixes

  • The interaction prompt was partially fixed for cases where animations don't play #503

Other notable changes

  • The AR icon has been updated to match the latest Material version #505
Assets 2

@cdata cdata released this Apr 20, 2019 · 98 commits to master since this release

New features

  • 🆕 <model-viewer> now features built-in, customizable progress bars. See #487 for details.

Bug fixes

  • A pixel-rounding bug was fixed that sometimes let to unsightly margins around the edge of <model-viewer> #489

Other notable changes

  • We have added new CSS custom properties to our docs #493
  • BREAKING CHANGE: The reveal-when-loaded attribute has been removed in favor of the new reveal attribute and related semantics #487
  • BREAKING CHANGE: As of #487 the scene is now obscured by a poster by default until loading and rendering has completed. If no poster image is specified, the poster will be a solid color. You can revert to the previous default with CSS. For example:
<style>
model-viewer {
  --poster-color: transparent;
}
</style>
  • BREAKING CHANGE: The default lighting conditions have changed. We recommend that you remove any lighting-related attributes (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.
Assets 2

@cdata cdata released this Apr 5, 2019 · 144 commits to master since this release

New features

  • 🆕camera-orbit: attribute lets you specify where the camera is positioned #452
  • 🆕getCameraOrbit(): method lets you access the camera position in real time #452
  • 🆕interaction-prompt-threshold: attribute lets you control how much time passes before the user is prompted to interact #452

Bug fixes

  • Stopped screen readers from focusing uninteresting elements in #452
    • Thanks to @svinkle for related a11y research
  • The interaction prompt now waits for the model to load before starting its internal timer #452
  • @pushmatrix ensured that auto-rotate does not begin until the model is loaded #471

Other notable changes

  • BREAKING CHANGE: The controls attribute has been renamed to camera-controls #452
  • BREAKING CHANGE: The default camera position when controls are disabled has changed #452
    • To use the old default, add camera-orbit="0 90deg auto" to your <model-viewer> markup
  • @yuinchien gave our docs an updated look at feel #474
  • @mikkoh improved dev build times #468
  • Per-frame compositing performance was improved by selectively disabling SVG animations #452
Assets 2

@cdata cdata released this Mar 26, 2019 · 164 commits to master since this release

New features

  • Animation support, and public API for controlling animations #421
  • align-model: attribute to control whether model is aligned by center of bounding volume or its root node position #441

Bug fixes

  • Materials were not being cloned correctly in some cases #440
  • Cleaned up 404s on the docs page #427

Other notable changes

  • Docs have updated with some nice informational tables related to browser feature support
  • Many memory leaks were cleaned up in our test suite #438
Assets 2

@cdata cdata released this Mar 6, 2019 · 188 commits to master since this release

This is a hotfix release to address two small regressions released in v0.1.0:

  • Fix PMREM rendering regressions from environment generator refactor #410
  • Fix focus ring overhanging from <model-viewer> bounding box #411
Assets 2
You can’t perform that action at this time.