TouchDesigner 馬賽克與 Pixel Art 教學|Limit TOP 與 Resolution TOP 實作指南
想在 TouchDesigner 中製作馬賽克(Mosaic)或 Pixel Art 像素效果?本教學示範如何用 Limit (TOP) 與 Resolution (TOP) 快速實現,包括 Undertale 式復古視覺與 Pixel Art 效果設定技巧。
深入解析在 TouchDesigner 中使用本地變數(Local Variables)、模組(Modules)與儲存(Storage)三種資料儲存方法,教你如何透過 var、mod、store()、fetch() 撰寫清晰、可維護的互動邏輯。
如何使用 Local Variable、Modules 與 Storage 來儲存資料。
localvariables(位於 local 內部)modules(位於 local 內部)varmodstore()fetch()local。local 內部,建立一個 Null(DAT),並將其重新命名為 variables。variables 連接。me.var('your_var_name')
local。(與 Local Variables 的第 1 步相同)local 內部,建立一個 Base(COMP),並將其重新命名為 modules。modules 內部,建立一個 Text(DAT),您也可以根據需要更改名稱。(這將使模組更清晰。)me.mod.TEXT_OP_Name.VARIABLE_Name
me.mod.CHOPs.LFO
store() 函數來儲存資料。fetch() 函數來獲取資料。unstore() 函數來移除資料。me.parent().store('the_target_data') # 儲存資料 me.parent().fetch('the_target_data') # 獲取資料 me.parent().unstore('the_target_data') # 移除資料 me.parent().unstore('*') # 移除所有資料