Real-time Interaction Question

Hi, I’m a student working on my graduation project using TouchDesigner.
I’m using sensors, a screen, and TouchDesigner to create an interactive installation where certain effects are triggered when the screen is touched. I’ve completed the setup in TouchDesigner, and I’ve also finished projection mapping using KantanMapper.

At the beginning of the interaction, a video plays first, and then it transitions to another Out TOP through a Switch.
In Unreal Engine, I used to export my interactive project as an .exe file, and it would run smoothly without needing to have Unreal open — there were no performance issues.

So here’s my question:
If I want to keep the real-time interaction in TouchDesigner, does that mean I need to keep the .toe file running live the whole time in order for the mapping and interactivity to work?
I’ve been doing that, but I noticed that after leaving it on for a long time, the first video sometimes lags or plays slowly.
Is this normal behavior? Or is there a better way to optimize this kind of setup?

Hi @AURENIDLE,

TouchDesigner can run in two modes:

  • Designer Mode where you create and edit the project and
  • Perform Mode an optimized mode which only renders one specified Window COMP

For your work, have a look at the framerate of your project when the video starts lagging or plays slowly (which I guess means it’s stuttering?)
You can follow the steps outlined here:

to determine why your project might be slow and find ways to optimize it.

cheers
Markus