Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

Releases: ejeinc/MetalScope

0.16.0

26 Sep 13:28
Compare
Choose a tag to compare
0.16.0 Pre-release
Pre-release
  • Fix issues on iOS 11 #30
  • Support Xcode 9 #24 #31

0.15.2

28 Apr 07:53
Compare
Choose a tag to compare
0.15.2 Pre-release
Pre-release
  • Detach OrientationNode at deinit correctly (#23)

0.15.1

27 Apr 08:54
Compare
Choose a tag to compare
0.15.1 Pre-release
Pre-release
  • Fix opaque alpha blending on MTLTexture (#21)
  • Set OrientationNode.pointOfView.camera.zNear to 0.3 as default (#22)

Changes

  • The default value of OrientationNode.pointOfView.camera.zNear is now 0.3

0.15.0

26 Apr 14:40
Compare
Choose a tag to compare
0.15.0 Pre-release
Pre-release
  • Simplify scene loaders (#20)

Changes

  • Remove generic Target type from ImageSceneLoader and VideoSceneLoader
  • ImageSceneLoader.load method return SCNScene
  • VideoSceneLoader.load method return SCNScene

0.14.0

26 Apr 14:06
Compare
Choose a tag to compare
0.14.0 Pre-release
Pre-release
  • Extract default implementations for Loadable protocols (#19)

Now you can reuse the default implementation of load methods when you override them.

class MyViewController: SceneLoadable, ImageLoadable {
    var scene: SCNScene?

    func load(_ image: UIImage, format: MediaFormat) {
        ImageSceneLoader(target: self).load(image, format: format)

        // your custom logic...
    }
}

Additions

  • New struct ImageSceneLoader
  • New struct VideoSceneLoader

0.13.0

26 Apr 10:02
Compare
Choose a tag to compare
0.13.0 Pre-release
Pre-release
  • Add StereoViewController.introductionView (#18)

StereoViewController.introductionView is displayed while the phone is not inserted into a Cardboard viewer.

let introView = UILabel()
introView.text = "Place your phone into your Cardboard viewer."
introView.textColor = .white
introView.textAlignment = .center
introView.backgroundColor = .black

let stereoViewController = StereoViewController(device: device)
stereoViewController.introductionView = introView

Additions

  • New property StereoViewController.introductionView

0.12.0

25 Apr 14:40
Compare
Choose a tag to compare
0.12.0 Pre-release
Pre-release
  • PanoramaView.setNeedsResetRotation is not animated as default (#17)

Additions

  • New method PanoramaView.setNeedsResetRotation(_:)

Changes

  • PanoramaView.setNeedsResetRotation(animated:) method is not animated as default.

0.11.0

25 Apr 13:19
Compare
Choose a tag to compare
0.11.0 Pre-release
Pre-release
  • Improve compile time (#15)
  • Simplify setNeedsResetRotation using SCNAction.run (#16)

Additions

  • New method OrientationNode.setNeedsResetRotation

Changes

  • PanoramaView.setNeedsResetRotation method takes new animated: parameter. The default value is true.

0.10.0

24 Apr 08:58
Compare
Choose a tag to compare
0.10.0 Pre-release
Pre-release
  • Reset rotation at next rendering frame (#13)
  • Split MediaSceneLoader protocol (#14)

Additions

  • New protocol SceneLoadable
  • New protocol ImageLoadable
  • New protocol VideoLoadable
  • New method PanoramaView.setNeedsResetRotation
  • New method StereoView.setNeedsResetRotation

Changes

  • OrientationNode.resetCenter method has been renamed to .resetRotation.

Deprecations + Removals

  • MediaSceneLoader protocol has been removed.
  • PanoramaView.resetCenter method has beed deprecated. Use .setNeedsResetRotation method instead.
  • StereoView.resetCenter method has been deprecated. Use .setNeedsResetRotation method instead.

0.9.0

19 Apr 11:09
Compare
Choose a tag to compare
0.9.0 Pre-release
Pre-release

Fix conditional compilation blocks changed in 0.8.0.

API Changes

  • [Removed] METALSCOPE_ENABLE_METAL macro
    • Use arch() instead