Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

MigrationGuide

Ray Chen edited this page Jun 18, 2019 · 8 revisions

r11 -> r12

  • Remove scale.x = -1 for all panoramas, meaning no more hacks around objects that need to be flipped on the X axis. To be compatible with existing infospot, it can be achieved by inverting the z value in certain simpler scenarios. migration from r11->r12
  • Refactor geometry and material of all panoramas for internal creation
    • Deprecate SphereBufferGeometry in favor of BoxBufferGeometry
    • Deprecate MeshBasicMaterial in favor of ShaderMaterial in some panorama
  • Introduce StereoImagePanorama and StereoVideoPanorama to support stereo input

r10 -> r11

  • Add unit tests and code coverage
  • VideoPanorama.playVideo() handles promise success and error state
  • Deprecate video element with src attribute in favor of source element

r9 -> r10

  • Major refactor to ES modules
  • Deprecate gulp in favor of rollup
  • Internalize icon assets and deprecate panolens-offline versions
  • Deprecate SpriteText, Tile, TileGroup, BendModifier and Bmfont
  • Replace image based reticle to be geometry based reticle
  • Constant variables are uppercase. PANOLENS.Controls becomes PANOLENS.CONTROLS and PANOLENS.Modes becomes PANOLENS.MODES
  • Deprecate PANOLENS.Utils
Clone this wiki locally