Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Widgets and Presets?

General discussion about anything TouchDesigner

Widgets and Presets?

Postby ahlynsky » Thu May 09, 2019 4:23 pm

I need to develop a good preset system for a project im working on. At the moment In the simplest terms, I'm exporting a bunch of parameters, merging them all together and using the snapshot on the constant chop to create my presets. I'm then using a blend chop to blend between the "constants." and feeding that back into all my modules.

First of all, is there an easier way to do this? Second, is there an easy way to poll and replace all of the widget states? It would be great to hit a button and create a preset for all the widgets present in the project.
ahlynsky
 
Posts: 32
Joined: Mon Mar 19, 2018 10:46 am

Re: Widgets and Presets?

Postby jacqueshoepffner » Fri May 10, 2019 2:40 am

Hello,
Concerning preset, I would preferably use Table DAT to store and retrieve numerical (and also textual) preset. Its easily readable and you can set it manually.
Here is a little and quickly made example. You can choose which preset you store and after you can output values with DAT to CHOP and blend it with Cross CHOP. after that you can feed your value using override to mix properly preset and actual value
It can be very difficult to manage complex presets with Constant CHOP.
Hope that helps,
Jacques
Attachments
TDpresets.toe
(5.32 KiB) Downloaded 82 times
Jacques Hoepffner
visual artist, programmer
Isadora, Processing, Unity 3D, TouchDesigner
jacqueshoepffner
 
Posts: 144
Joined: Fri Dec 23, 2016 4:59 pm
Location: Paris (France)

Re: Widgets and Presets?

Postby ben » Fri May 10, 2019 5:15 am

The Presets tool in the Palette takes snapshots of all custom parameters. Since Widgets parameters are all actually just custom, it might work for you. Have you tried it.

It does not do blending, just snapshots.
User avatar
ben
Staff
 
Posts: 2599
Joined: Thu Nov 08, 2007 6:55 pm
Location: Toronto

Re: Widgets and Presets?

Postby xXBrodieXx » Tue Sep 10, 2019 12:18 am

This is the best idea is there a read me?
xXBrodieXx
 
Posts: 1
Joined: Tue Sep 03, 2019 3:10 pm

Re: Widgets and Presets?

Postby ahlynsky » Wed Sep 11, 2019 9:59 am

I'm now using the preset toe in the techniques folder.
ahlynsky
 
Posts: 32
Joined: Mon Mar 19, 2018 10:46 am


Return to General TouchDesigner Discussion

Who is online

Users browsing this forum: raganmd and 22 guests