일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- 터치디자이너 reference
- 터치디자이너
- 파이썬
- touchdesigner displace
- touchdesinger
- 터치디자이너 list
- 터치디자이너 튜토리얼
- touchdesigner GPU
- 터치디자이너 python
- 터치디자이너 에이블톤
- 터치디자이너 if
- 터치디자이너 클론
- 터치디자이너 오퍼레이터
- 터치디자이너 replicator
- 파이썬reference
- ableton live 10
- 터치디자이너 함수
- particleGPU
- 터치디자이너 참조
- 터치디자이너 강의
- 터치디자이너 Instancing
- 터치디자이너 timeline
- TDableton
- 터치디자이너 인터페이스
- 터치디자이너 interface
- displace
- 터치디자이너 파이썬
- touchdesigner particle
- TouchDesigner
- 파이썬 if
- Today
- Total
caLAB
TouchDesigner Intermediate 01_Replicator callbacks 본문
TouchDesigner Intermediate 01_Replicator callbacks
도이(doi) 2021. 3. 2. 16:14콜백 함수
이벤트가 실행됐을 때, 사용자에게 다시 알려주는 함수.
TD wiki 활용 팁
op검색할 때 특정 op에 국한되어 있는 것에 대한 검색일 경우에는
Top Class 목록을 확인 하면 되고.
좀 더 일반적인, 즉, 다른 op에도 해당되는 기능일 경우 Op Class를 확인한다.
replicator
Template DAT Table에는 복제할 데이터 목록을 포함한 dat operator를 넣는다.
Master Operator에는 복제될 형태의 operator를 넣는다.
movie File In의 File 파라미터에
op('folder1')[me.digits, 0].val이라고 expression을 입력한다.
-> 내가 포함하고 있는 숫자를 가져온다.
ex) item1 op는 1을 return한다. item22 op는 22를 return 한다.
expression과 관련돼서는 아래의 링크를 참고할 것.
td Module - Derivative
A Parent Shortcut is a parameter on a component that contains a name that you can use anywhere inside the component to refer to that component using the syntax parent.Name, for example parent.Effect.width to obtain panel width.
docs.derivative.ca
Python 코드로 movieFileIn op를 Layout op에 연결하기
c.outputConnectors[0].connect(op('layout1'))
-> newOps는 새로 생긴 replicator에 의해서 만들어진 op(item'n')을 말한다.
outputConnectors는 op에서 선을 뽑아서 다른 op에 연결한다. 여기서는 layout1 op에 연결.
pass는 자리표시자
'TouchDesigner > TouchDesigner 파이썬' 카테고리의 다른 글
TouchDesigner Intermediate 03_Tricks (0) | 2021.03.02 |
---|---|
TouchDesigner Intermediate 02_Advanced Control Flow (0) | 2021.03.02 |
09. 터치디자이너 파이썬 - 함수 (0) | 2020.05.01 |
08. 터치디자이너 파이썬 - 자료구조(딕셔너리02) (0) | 2020.05.01 |
07. 터치디자이너 파이썬 - 자료구조 (딕셔너리01) (0) | 2020.05.01 |