Blender Scripting with Python: Automate Tasks, Write Helper Tools, and Procedurally Generate Models in Blender 4
暫譯: 使用 Python 在 Blender 中進行腳本編寫:自動化任務、編寫輔助工具及程序生成模型於 Blender 4
Lupiani, Isabel
- 出版商: Apress
- 出版日期: 2025-02-19
- 售價: $2,210
- 貴賓價: 9.5 折 $2,100
- 語言: 英文
- 頁數: 486
- 裝訂: Quality Paper - also called trade paper
- ISBN: 9798868811265
- ISBN-13: 9798868811265
-
相關分類:
3D建模 3D-modeling、Python、程式語言
海外代購書籍(需單獨結帳)
商品描述
Learn to automate tasks, develop custom extensions, and procedurally generate meshes in Blender. This book will show you how to streamline virtually every stage of the 3D modeling pipeline for your next game or animation project.
Start with a hands-on introduction to the Blender Python API and dive right into basics like loading/running scripts and turning hand-modelling steps into Python by capturing them in the Info Editor. Then experiment with Blender menu options, typing them into the Python console and watch things move in the viewport. You'll also dissect with Blender-shipped add-ons and take advantage of built-in templates to quickly create new scripts. With a firm grasp of scripting basics, you'll start to develop your own add-ons for editing and generating models. Then add more advanced mesh edits like extrude and loop cut-and-slides to your script, and essentials for shaping mesh elements like merge, bevel, and so on. Putting it altogether, you'll create an extension to procedurally generate stylized fire hydrants with parametric controls.
In addition to mesh editing, you'll learn to develop production-quality extensions covering various stages of a 3D pipeline, such as retopology, UV mapping, texture painting, and more. Discover along the way how to implement just about any input widgets for your extension. Then package, distribute, and market your extensions through different channels, and produce impressive time-lapsed demos to showcase your procedural content generation (PCG) algorithms. Whether you are new to the Blender Python API or looking to take your add-ons to the next level, this book will support you in your journey in generating 3D content and automating your Blender workflow.
What You Will Learn
● Develop add-ons for automating various stages of a 3D modeling pipeline
● Edit meshes with the Blender Python API and procedurally generate models.
● Master use of parametric controls in add-ons for mesh editing or procedural generation to govern the ranges and types of variation produced
● Develop extensions complete with UI using various input methods, including drawing on meshes with the Grease Pencil.
● Make time-lapsed and interactive demos of your procedural content generation algorithms.
● Package, distribute, and market your Blender extensions through different channels.
Who This Book Is For
New and seasoned users of the Blender Python API, that have either some experience with Blender or some experience with general Python development.
商品描述(中文翻譯)
學習自動化任務、開發自訂擴充功能,以及在 Blender 中程序性生成網格。本書將向您展示如何簡化您下一個遊戲或動畫專案的 3D 建模流程的幾乎每個階段。
首先,從 Blender Python API 的實作介紹開始,深入了解基本概念,例如加載/運行腳本,並通過在資訊編輯器中捕捉手動建模步驟將其轉換為 Python。接著,實驗 Blender 的選單選項,將其輸入到 Python 控制台中,並觀察視口中的變化。您還將分析 Blender 附帶的附加元件,並利用內建模板快速創建新腳本。在掌握腳本基礎後,您將開始開發自己的附加元件來編輯和生成模型。然後,將更高級的網格編輯功能,如擠出(extrude)和環切滑動(loop cut-and-slide),以及形狀網格元素的基本功能,如合併(merge)、倒角(bevel)等,添加到您的腳本中。綜合這些,您將創建一個擴充功能,以程序性生成具有參數控制的風格化消防栓。
除了網格編輯,您還將學習開發涵蓋 3D 流程各個階段的生產級擴充功能,例如重拓撲(retopology)、UV 映射、紋理繪製等。在此過程中,發現如何為您的擴充功能實現幾乎任何輸入小工具。然後,通過不同的渠道打包、分發和推廣您的擴充功能,並製作令人印象深刻的時間延遲演示,以展示您的程序性內容生成(PCG)算法。無論您是 Blender Python API 的新手,還是希望將您的附加元件提升到更高水平,本書都將支持您在生成 3D 內容和自動化 Blender 工作流程的旅程中。
您將學到的內容:
● 開發用於自動化 3D 建模流程各個階段的附加元件
● 使用 Blender Python API 編輯網格並程序性生成模型
● 精通在附加元件中使用參數控制,以管理生成的變化範圍和類型
● 開發完整 UI 的擴充功能,使用各種輸入方法,包括使用 Grease Pencil 在網格上繪圖
● 製作您的程序性內容生成算法的時間延遲和互動演示
● 通過不同渠道打包、分發和推廣您的 Blender 擴充功能
本書適合對象:
對 Blender Python API 有新手或資深使用者,具備一定的 Blender 使用經驗或一般 Python 開發經驗。
作者簡介
Isabel Lupiani is a software engineer by day and maker by night, who enjoys handcrafting 3D models as much as procedurally generating them. She received her MS in Computer Science from Georgia Tech, and has worked at several game studios in the past as an AI engineer for PC/Xbox games. Isabel currently works as a Lead AI Engineer in the simulation industry.
作者簡介(中文翻譯)
伊莎貝爾·盧皮亞尼白天是一名軟體工程師,晚上則是一名創客,喜歡手工製作3D模型,與程序生成模型同樣享受。她在喬治亞理工學院獲得計算機科學碩士學位,過去曾在幾家遊戲工作室擔任PC/Xbox遊戲的AI工程師。伊莎貝爾目前在模擬產業擔任首席AI工程師。