hiroakioishi / TDPoliceAudioReactive

TouchDesigner Advent Calendar 2017 5日目 TouchDesignerの正しい表記について啓蒙する音連動映像コンテンツの制作
MIT License
2 stars 0 forks source link

SOP cooking order optimization #2

Closed brvoigt closed 6 years ago

brvoigt commented 6 years ago

To optimize SOPs, put the cooking SOPs near the end of the chain. Transformation expression in Font SOP makes all SOPs downstream cook every frame.

Font SOP and Extrude SOP = expensive SOPs = high cook time Transform SOP = cheap SOP = low cook time

Add Transform SOP to end of chain, do transformation there. Look at overall cook time for geo1 (~23ms) vs geo2 (~6ms).

geo1 geo2
brvoigt commented 6 years ago

Compare geo1 vs geo2 TDPoliceAudioReactive_Edit.toe.zip