📂
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. 待分類

USDZ Convert

PreviousOpenSSLNextNexus repository and gitlfs

Last updated 5 years ago

Was this helpful?

In macOS 10.15 Catalina and Xcode 11 USDZ converter has a rich set of 
commands and supports more input formats for conversion than previous version. 
But before using it you need to download usdz Tools. 
And don't forget to setup a global variables for Python usdz tools. 
Here's how a new command looks like in Terminal:

記錄實作方法: PS: 做圖檔烘培是為了讓輸出的 usdz 模型有顏色

  • 拆 UV 1. 先開啟兩個視窗 2. 右邊視窗切換成 UV/Image Editor 3. 建立UV:左邊視窗點 U -> Smart UV Project,右邊會產生 UV 網格

  • 圖檔烘培 3-1. 選擇要烘培的節點 3-2. 選擇 Edit Mode 3-3. 按 A,全選 4. 命名一個新的圖片名稱 5. 選擇相機(這是 Render 功能) 6. 點 Bake,開始烘培 7. 將烘培圖片儲存 ( EX: alpha.png )

注意: 一定要打燈光,否則烘培出來的圖會一片黑,至少前後打兩盞
  • blender 輸出 obj 檔 ( EX: Alpha.obj )

  • 下載 USDZ 轉換工具

  • 執行以下指令,即可產出有顏色的 usdz 檔

    usdzconvert Alpha.obj -diffuseColor alpha.png

USDZ Convert 工具官網下載
How to create USDZ file using Xcode converter?