Download Latest Version v4.1.0 source code.zip (142.5 MB)
Email in envelope

Get an email when there's a new version of model-viewer

Home / v4.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2024-10-23 1.2 kB
v4.0.0 source code.tar.gz 2024-10-23 270.6 MB
v4.0.0 source code.zip 2024-10-23 271.1 MB
Totals: 3 Items   541.7 MB 0

✋Breaking Change

  • Our default tone-mapping has been updated to PBR Neutral, for improved color accuracy. If you have not been specifying tone-mapping, you'll need to either regenerate your poster images or use tone-mapping="aces" to get our legacy behavior. [#4886]
  • The default min and max camera-orbit have been updated to allow straight top and bottom views. [#4916]

Bug fixes

  • Fixed variants. [#4882]
  • Fixed surface hotspot updates. [#4867]
  • Fixed withCredentials updating. [#4892]
  • getCameraTarget now returns the instantaneous position, like getCameraOrbit. [#4895]

Examples

✨ Updated model documentation. [#4776] ✨ Fixed material picking example to work in WebXR mode, thanks @Hamidrzash! [#4851]

Other notable changes

  • Upgraded to Three.js r169. [#4885], [#4907]
  • We no longer require a meta viewport tag to render at full DPR resolution. [#4896]
  • Moved the render fidelity comparisons out of this repo to Khronos ownership. [#4779]

Editor

  • Fixed tone mapping drop-down, thanks @rsax! [#4890]
Source: README.md, updated 2024-10-23