📂
JackyChen的精神時光屋
  • About
  • iPlayground
    • iPlayground 2020
      • iPlayground submit 2020
    • iPlayground 2019
      • Untitled
      • iPlayground submit 2019
  • WWDC
    • 2020 WWDC
    • 2019 WWDC
    • 2018 WWDC
      • What's New in Testing
      • BusinessChat
    • 2016 WWDC
      • What's New in the Apple Push Notification Service
  • AR/VR
    • ARKit plugin at Unity
    • ARKit
    • AR/VR 實習作品分享
    • Google Blocks
  • CI/CD
    • Continous Integretion for Unity
    • 拯救地球大作戰-自動化設定注意事項
    • Provisioning Profile 自動化更新
    • Make ipa file with personal team of code sign
    • Xcode11 版號問題
  • Test
    • Cucumberish
    • XCUITest
    • Design Patterns in XCUITest
    • Unit Test
  • User Interface
    • IBDesignable 和 IBInspectable
    • iOS 使用貝塞爾曲線繪製路徑
    • UIStatusBarStyle
    • iOS Devices Specification
    • Vector Image
    • Launch Screen
    • Haptic Feedback
    • Good Works for Storyboard
    • Cell 展開收合效果
    • ScrollView
    • Swift lazy
    • Lottie
  • Foundation
    • Adding a Custom Font to Your App
    • WKWebView how to work with javascript
    • Global Central Dispatch
    • HealthKit
    • Error Handling
    • Debug with LLDB
    • Application Lifecycle
    • Swift Codable
    • Push Notifications
    • AVFoudation
  • Others
    • C語言指標概念
    • UnsafePointer(Swift)
    • iOS News Reference
    • Blender
    • Free Web Server
    • Firebase
    • Firebase migration
    • GraphQL
    • Ruby
    • zsh command line
    • visudo
  • Security
    • 課程:App資安規劃與實作
    • KeyChain
    • iOS反組譯程序
    • Arxan
  • Git
    • Git
    • xcodeproj 合併衝突
    • Pull Request
  • Machine Learning
    • CoreML
    • Vision
    • Turi Create
  • 待分類
    • ABI Stability and More
    • Mirror
    • Carthage
    • SwiftUI
    • MVVM
    • OpenSSL
    • USDZ Convert
    • Nexus repository and gitlfs
Powered by GitBook
On this page

Was this helpful?

  1. AR/VR

Google Blocks

PreviousAR/VR 實習作品分享NextContinous Integretion for Unity

Last updated 5 years ago

Was this helpful?

    • 可簡單創作各種 3D 模型

  • 史前 vs 現在

    • Unity Vuforia vs ARKit and ARCore

  • Unity + ARKitPlugin

    • 優點:

      • AnimationController 動作設定比用原生還棒

      • 有很多的免費骨架可直接套用

      • 遊戲物理引擎好設定,寫比較少的 Code

    • 缺點:

      • 不好測試

        • 需要一直輸出 Xcode project 看執行結果

        • Unity ARKit Remote Plugin 可以直接在 Unity 測試,但不能測試 hitTest 功能

      • 沒有跨平台的優點

        • 因為 AR 重度依賴硬體資源

      • ARKitPlugin 不穩定

        • 直接崩潰,試了半天才知道是某版本不能用

      • 擴展性低

        • 想嘗試結合 CardBoard 效果,但不知如何著手

      • 已被棄用,換成 AR Foundation

        • Unity-ARKit-Plugin [Now deprecated as of June 3, 2019]

  • 建模工具 Blender

    • 建模

    • 渲染

    • 動作

  • 檔案匯入

    • DAE

    • USDZ

    • SCN

  • Node

    • Position

      • 設定座標 on 世界座標

    • Eular

    • Scale

  • Geometry

    • Material

  • 材質處理

    • 自行設定

    • 圖檔烘培

  • 動作處理

    • 一個動作配一個scn檔

    • SCNAnimationPlayer

    • blendout 動作狀態的過度處理

  • 碰撞處理

    • 開 Debug 模式,看碰撞體長什麼樣子

    • SCNPhysicsBody

      • static (動不了)

      • dynamic (會倒)

      • kinematic (用這個)

    • 不要相信 Inspector 的設定,用 Hardcode 吧

      • 碰撞體的大小會變得非常奇怪,不會跟著 Node Scale 進行縮放

  • imageAnchor

    • 將 Anchor 位置轉換為世界座標

      • ARSCNViewDelegate

        • func renderer(_ renderer: SCNSceneRenderer, didUpdate node: SCNNode, for anchor: ARAnchor)

  • 互動方式

    • 搖桿

      • 以鏡頭為原點推算出向量

        • SCNSceneRendererDelegate

          • func renderer(_ renderer: SCNSceneRenderer, updateAtTime time: TimeInterval)

  • 未來展望

    • 沈浸式體驗

      • 結合 CardBoard

      • Vision 手勢辨識

      • Speech 聲音辨識

      • 多人互動

        • MultipeerConnectivity

環境需求 1. 內建 A9 以上晶片的 Apple 設備,如 iphone6S 以上機種 2. 設備版本 iOS12 以上 3. 如果設備是 iOS12,請安裝 Xcode 10 4. 如果設備是 iOS13 或 iPadOS13,請安裝 Xcode 11

您將會學到 1. imageAnchor 設定 2. 座標設定、轉角設定、比例縮放 3. 材質設定 4. 人物動作處理 5. 搖桿控制

Google Blocks