Skip to content

v0.4.0

Compare
Choose a tag to compare
@cdata cdata released this 13 Jun 20:51
· 1082 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