Tutorial 4 - Send Data from TD to a Website. Control TouchDesigner with a Website using WebSockets

  Рет қаралды 5,017

Torin Blankensmith

Torin Blankensmith

Күн бұрын

Пікірлер: 11
@AlphaMoonbase
@AlphaMoonbase 2 жыл бұрын
In general, great series, good tempo :) Just some nitpicks: Do not use print, use debug instead. The larger the project grows, the harder it is do find what is spamming in to textport. Debug gives you some additional information, mainly what triggered the debug. No need for global. You only need the global when you want to set the value of a variable from inside the function. Reading works just finde without it. Little thing, but up to you, do not use abbreviated variable-names. In this small context it might still be clear what ws means, but this gets complicated quickly. There is nothing worse then havving to research/guess what a variable is actiually reffering to. Keep it up!
@blankensmithing
@blankensmithing 2 жыл бұрын
Thanks for the feedback! Good call on using debug, I don't use it often enough. Also good catch with global, I've been using it in more cases than I need to. I generally try to be extra verbose with variable names, especially teaching intro to code. Do you have any fav resources on best coding practices in TD?
@Dantheon
@Dantheon 2 жыл бұрын
Great series so far, my TD isn’t receiving a ping after connecting so I’m pretty sure something is going wrong. In fact nothing appears to relaly happen when I make the socket active. Any help would be greatly appreaciated
@blankensmithing
@blankensmithing 2 жыл бұрын
We're you able to test that your socket server was working with Sock King? And nothing is printing when you toggle the active on and off on the WebSocket DAT even though there are print statements in onConnect and onDisconnect?
@Dantheon
@Dantheon 2 жыл бұрын
@@blankensmithing I was able to test with SocketKing yes that was all working., nothing is printing, even the print statements. It's as if the nothing is getting in and out of TD
@astanakazakfstan7061
@astanakazakfstan7061 2 жыл бұрын
I have the same problem as him. can we have any solution?
@caiofazolin774
@caiofazolin774 2 жыл бұрын
@@astanakazakfstan7061 On both macosx and windows the websocket node only works on version 2021.16410 for me. Newer versions do not work.
@GOINGGOEUN
@GOINGGOEUN 2 жыл бұрын
@@caiofazolin774 I have same problem... only 2021.16410 works for me... on maxos m1pro
@Anckg
@Anckg 9 ай бұрын
Should we implement the websocket DAT on a new project or should we implement it on an existing project?
@blankensmithing
@blankensmithing 9 ай бұрын
you can do it in either
T3D Introduction | 3D Texture operators in TouchDesigner
6:42
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН
УНО Реверс в Амонг Ас : игра на выбывание
0:19
Фани Хани
Рет қаралды 1,3 МЛН
Stunning Particle system with TOP instancing - TOUCHDESIGNER Tutorial
14:20
Tools EVERY Software Engineer Should Know
11:37
Tech With Tim
Рет қаралды 28 М.
Hardy's Integral
13:47
Michael Penn
Рет қаралды 19 М.
The HARDEST Problem On The SAT | Find The Value Of ''a''
5:59
MathMasteryMinds
Рет қаралды 94
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН