Try   HackMD
tags: F3359

Leonardo Ai 3D 紋理生成教學

這個功能是用來為 3D 模型的皮膚進行上色, 依照我們給它的 Prompt 去生成紋理, 建立出基本的模型外觀。
接下來跟著步驟試試看吧!

  1. 打開 Leonardo Ai 後, 在左側欄位中選擇 Texture Generation

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  2. 按一下畫面右上角的 Upload New Object

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  3. 這時會跳出一個上傳畫面, 我們需要有一個 3D 模型檔才可以進行紋理生成。

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

Leonardo Ai 限定上傳 OBJ 檔案, 並不支援其他檔案

  1. 請使用本章的範例模型, 範例是一個步槍的 3D模型, 我們要利用 Leonardo Ai 將它的外觀塗上紋理及顏色, 接著按一下以下本章範例模型的鏈接
    範例檔鏈接: 本章範例模型
    之後讀者也可以至 Free 3D 官網取得喜歡的模型檔, 官方鏈接:Free 3D 官網

  2. 範例模型頁面

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  3. 按一下下載

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  4. 按此下載壓縮檔

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  5. 將下載檔解壓縮後會出現很多檔案, 我們等一下要使用的是 M4A1 3D Object 類型的檔案, 大小是6,793 KB

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  6. 接下來我們回到 Leonardo Ai 的頁面, 按一下以下區塊

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  7. 上傳以下檔案

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  8. 可以看到預覽畫面, 請在輸入欄中輸入文件名稱 M4A1

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  9. 按一下 Start Texturing

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  10. 接著按一下這個文件

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  11. 編輯畫面中可以用不同角度去觀看模型 (按住滑鼠左鍵左右滑)

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  12. 在 Prompt 輸入框中輸入以下文字:

M4A1 rifle, camouflage background color, material matte metal, dark green

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

  1. 按此可以預覽並消耗 5 個 tokens

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  2. 等待數秒後可以看到預覽的畫面。

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  3. 覺得沒問題後我們就可以按下完整紋理生成的按鈕並消耗 30 個 tokens

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  4. 接著出現提示訊息, 關閉訊息後等待約 5 分鐘就可以看到模型成果了!

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  5. 最終的模型紋理, 槍枝的部位都有被辨識出來並上色, 也可以發現某些部位還有許多雜色, 這部分讀者可以嘗試使用 Negative Prompt 來影響生成。

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  6. 如果想要將紋理保存下來可以按 Assets 前往

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  7. 在左側欄最下方有兩個下載鈕, Download all assets 可以下載目前最終版本的紋理檔案, 而 Download.OBJ file 是閜載空白的 Mesh 檔。這裡我們按下 Download all assets , 並解壓縮資料夾

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  8. 打開資料夾

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

    按兩下打開資料夾
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

    可以看到這裡有此紋理的各式檔案, 如果有 3D 建模的軟體並有對應的材質就可以直接使用。
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

整體而言 Texture Generation 這項功能對於 Leonardo Ai 來說是一個很不錯的應用, 也讓 AI 繪圖工具更加多元, 但是實際效果還需要再成熟, 像是只能上傳 OBJ 檔、生成的紋理太多雜色, 不過可以藉由它提供紋理上色的想法, 是個很有趣的工具。